Dukascopy
 
 
Wiki JStore Search Login

Strategy didn't trigger an order
 Post subject: Strategy didn't trigger an order Post rating: 0   New post Posted: Mon 02 Jul, 2012, 14:20 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
Hello,

According to my strategy, an order had to be triggered yesterday night (03h00 am) at the value of 1.24668/1.24648 with the crossing of the SMAs that I am using. It didn't happen.

I would like to know why the order wasn't triggered. Is it because of the weekend filter? I guessed that this filter does not affect to the beginning of the market, but I don't find any other possible explanations.

I hope to get an answer soon so I can fix the strategy if this is needed.

Thank you very much.


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Mon 02 Jul, 2012, 16:41 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
Just saw another cross of my SMAs and the order was not set (again).

I am testing the strategy locally and it works like a charm.

Can you please check it?

Thank you


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Mon 02 Jul, 2012, 17:10 
User avatar

User rating: 1
Joined: Mon 25 Jul, 2011, 11:46
Posts: 29
Location: United Kingdom, Burnley
https://www.dukascopy.com/strategycontest/?action=recommendations

See the code sample in the link above regarding subscribing to instruments. By default the strategy server won't subscribe to any instruments unless you tell it to.


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Mon 02 Jul, 2012, 22:27 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
It must be that.

I will check it as soon as possible.
Thank you.


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Tue 03 Jul, 2012, 21:32 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
I fixed the subscription and load the new version.

I see that the orders still are not open when they must. Locally the strategy runs perfect. It is maybe because of some of the rules? I think I respect all of them. I really don't know what the problem is.

But thank you anyway for your message.

Happy trading,


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Wed 04 Jul, 2012, 06:58 
User avatar

User rating: 8
Joined: Tue 31 Jan, 2012, 11:24
Posts: 72
Location: India, Gurgaon
Look at the log file. It will help you to understand, why not any order has opened.

To view log file, Open Jforex platform of strategy contest -

On menu tab Go to : Portfolio >> Strategy Log


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Wed 04 Jul, 2012, 08:43 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
Thank you,

there is no information in the log...

All the logs are empty... :shock:


:(


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Fri 06 Jul, 2012, 16:16 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
Dear Contest Support,

can you please take a look at my strategy and check why my strategy is not working?

There is no orders at all.

Regards


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Tue 10 Jul, 2012, 00:31 
User avatar

User rating: 0
Joined: Sat 21 Apr, 2012, 20:28
Posts: 12
Location: Ireland, Dublin
I have the same problem.

IClient client = ClientFactory.getDefaultInstance();

engine.submitOrder("orderValid
", Instrument.EURUSD, OrderCommand.BUY, 1);

Strategy "MA_Operation" is started at 2012-07-09 20:34:52.661 GMT on the local computer with no parameters
Order BUY 1000000 EUR/USD @ MKT is sent at 2012-07-09 20:34:52.684 GMT by the strategy "MA_Operation": from the local computer

buy operatiom started: 43
Read only mode. No trade messages allowed.



Why am I receiving this message and my action has not took place in strategy competition?


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Fri 10 Aug, 2012, 06:58 
User avatar

User rating: 0
Joined: Sat 24 Sep, 2011, 18:30
Posts: 7
Location: India, Mumbai
Hello,

I checked the strategy, you have to remove @configurable setting in declaring variables...read the strategy contest rules.
Then upload a new version, test the strategy which will compile it on remote server and then check whether you get "Running" message.


 
 Post subject: Re: Strategy didn't trigger an order Post rating: 0   New post Posted: Sun 12 Aug, 2012, 10:34 
User avatar

User rating: 1
Joined: Tue 26 Jun, 2012, 19:18
Posts: 29
Location: France, Saint Martin d Heres
Dear kkforex,

thank you very much for your comments.

I have uploaded a new version with the configurable settings commented. Everything seems to be running. We will see how it behaves when the market opens.

Thank you again,
All the best,
SmithJr


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com