Hi,
I have noticed recently an issue with close time and commsion of orders.
Close time is different when I retrive the information thru ORDER_CLOSE_OK Message and getOrdersHistory method. The difference is around 5 miliseconds. Another issue is that in such situation commision is equal to = 0 when checking by getOrdersHistory method and >0 when using ORDER_CLOSE_OK Message.
In majority of cases it works fine but in some unfortunately not. It is really causes a lot of problems because I cannot calculate correctly amount of paid commission when checking thru getOrdersHistory method.
I am talking about demo env.
Please investigate orders with ids 32306106 and 32326535. In my DB they look like following:
Pair OrderId Close Price Commsion Close time Close time (long)
EURUSD 32306106 1.27746 0.58 2012-01-13 13:13:47.639 1 326 460 427 639
EURUSD 32306106 1.27746 0.0 2012-01-13 13:13:47.645 1 326 460 427 645
AUDJPY 32326535 79.164 0.18 2012-01-13 19:05:25.92 1 326 481 525 92
AUDJPY 32326535 79.164 0.0 2012-01-13 19:05:25.925 1 326 481 525 925
best regards,
kurak