I have been working with the example in the Wiki located at:
https://www.dukascopy.com/wiki/#Place_BidWhen testing on the EUR/USD over the past week (with no modifications to the code), I received the following messages on the historical tester:
Quote:
22:08:11 2012-12-09 22:08:04.378 ORDER_CLOSE_OK - Order closed order: CLOSED BUY 0.01 @ 1.299036
22:08:11 2012-12-07 21:00:00.000 ORDER_CHANGED_OK - Overnight commissions applied order: FILLED BUY 0.01 @ 1.299036
22:08:10 2012-12-06 21:00:00.000 ORDER_CHANGED_OK - Overnight commissions applied order: FILLED BUY 0.01 @ 1.299028
22:08:10 2012-12-06 15:02:03.671 ORDER_FILL_OK - Order filled order: FILLED BUY 0.01 @ 1.29902
22:08:06 2012-12-03 00:00:01.192 ORDER_CHANGED_OK - Order updated order: OPENED PLACE_BID 0.01 @ 1.29905
22:08:06 2012-12-03 00:00:00.647 ORDER_SUBMIT_OK - Order submitted order: OPENED PLACE_BID 0.01 @ 1.29905
22:08:06 Start
The order is submitted on Dec 3, but not filled until Dec 6. The order was set to only be good for 2.5 seconds after being accepted by the server (as per the example). Is this an issue with the historical tester or with the code?
Thanks,
Brad