|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
canceled because of failed validation |
[mharding]
|
Post subject: canceled because of failed validation |
Post rating: 0
|
Posted: Tue 20 Oct, 2009, 10:02
|
|
User rating: 0
Joined: Tue 13 Oct, 2009, 20:35 Posts: 7
|
Hi Support
What does "canceled because of failed validation" mean, from my Historical Tester event log ?
2009-09-23 10:15:00 Order submitted Order [euus3, EUR/USD, SELL, 100000.0 at 0.0] submitted by the strategy 2009-09-23 10:15:00 Order filled Order [euus3, EUR/USD, SELL, 100000.0 at 1.4786] filled 2009-09-23 18:57:35 Order canceled Order [euus4, EUR/USD, BUY, 100000.0 at 0.0] canceled because of failed validation 2009-09-23 18:57:35 Order submitted Order [euus4, EUR/USD, BUY, 100000.0 at 0.0] submitted by the strategy
Thanks in advance
Mark
|
|
|
|
 |
[mharding]
|
Post subject: Re: canceled because of failed validation |
Post rating: 0
|
Posted: Tue 20 Oct, 2009, 12:36
|
|
User rating: 0
Joined: Tue 13 Oct, 2009, 20:35 Posts: 7
|
no problem - worked it out :
11:34:32 message ORDER_SUBMIT_REJECTED - Your order has been rejected due to validation failure. Invalid stop loss price - please use increments of 0.5 pip order: CANCELED BUY 0.1 @ 0.0
|
|
|
|
 |
[mharding]
|
Post subject: Re: canceled because of failed validation |
Post rating: 0
|
Posted: Tue 20 Oct, 2009, 12:43
|
|
User rating: 0
Joined: Tue 13 Oct, 2009, 20:35 Posts: 7
|
I think it comes from using cubic spline values in testing
|
|
|
|
 |
API Support
|
Post subject: Re: canceled because of failed validation |
Post rating: 0
|
Posted: Tue 20 Oct, 2009, 13:48
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Hi, If you place order in strategy and run it in tester mode, you should verify that precision of price is 0.5 pips or smaller. For example, your order will be rejected if price would be 1.56566, but it will be accepted if price would be 1.56565. Basically it means that 5th or 3th for JPY number after comma should be 0 or 5.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|