Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Historical Tester allows unrealistic entries in CFD http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=57440 |
Page 1 of 1 |
Author: | SFXbernhard [ Thu 24 Sep, 2020, 21:48 ] |
Post subject: | Historical Tester allows unrealistic entries in CFD |
When I backtest my bot with Sugar White (SUGAR.CMD/USD), it enters trades. Label Amount Direction Open price Close price Profit/Loss Profit/Loss in pips Open date Close date Comment xx 0.02401 BUY 361.743101 371.754 240361.68 1001.1 2020-01-06 10:26:42 2020-01-10 13:23:03 xy 0.024067 BUY 373.722017 383.754 241439.73 1003.2 2020-01-10 15:03:23 2020-01-13 17:16:35 but when I run it in a forward demo, I get these errors 10:47:11 Unable to process the order. Validation failure. Invalid order reason=Amount should be divisible by 10 10:47:11 Order SELL 335 SUGAR.CMD/USD @ MKT is sent at 2020-09-23 10:47:18.512 GMT by the strategy "xyz": from the local computer |
Author: | API Support [ Tue 20 Oct, 2020, 16:32 ] |
Post subject: | Re: Historical Tester allows unrealistic entries in CFD |
Greetings. Tester would not check for min amount. Strategy can do it by itself, here is how: https://www.dukascopy.com/wiki/en/devel ... er-amounts https://www.dukascopy.com/client/javado ... deAmount-- Regards. |
Page 1 of 1 |