Hi kvm,

i'm having another anomality i can not understand.
The script closes a position, the plugin informs oder is filled, then confirms Order_Close_OK and a few seconds later it losses the Order.

The position remains open in Zorro only, at the broker it is closed according to the confirmation Order_Close_OK, any idea?


(this is a DEMO account since i'm still working on the script)

2019-03-11 09:00:20.130 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onAccount: [id=***97, currency=USD, leverage=100, equity=54201.00, balance=53967.64, tradeVal=233.36, marginVal=3545.70]
2019-03-11 09:00:52.691 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_FILLED-Order FILLED at 25350.569 (#646676240 STOP LOSS SELL 3 USA30.IDX/USD @ MKT IF BID <= 25351.25 EXPIRES: GTC) - Position #168186933; Related Order: [DukascopyPlugin1552273211035]-FILLED / USA30.IDX/USD / 25401.03 / 3.0E-6 / 3.0E-6
2019-03-11 09:00:52.697 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onMessage: Message Type: ORDER_CLOSE_OK; Text: null; Related Order: [DukascopyPlugin1552273211035]-CLOSED / USA30.IDX/USD / 25401.03 / 3.0E-6 / 3.0E-6
2019-03-11 09:00:58.402 ERROR [main ] c.m.v.d.DukascopyPlugin - brokerTrade: Order not found for tradeID=168186933
2019-03-11 09:00:58.414 ERROR [main ] c.m.v.d.DukascopyPlugin - brokerTrade: Order not found for tradeID=168186933
2019-03-11 09:00:59.423 INFO [main ] c.m.v.d.DukascopyPlugin - brokerCommand: SET_ORDERTYPE=0
2019-03-11 09:00:59.428 INFO [main ] c.m.v.d.DukascopyPlugin - brokerSell: tradeID=168186933, amount=3
2019-03-11 09:00:59.428 ERROR [main ] c.m.v.d.DukascopyPlugin - brokerSell: Order not found for tradeID=168186933
2019-03-11 09:01:12.561 ERROR [main ] c.m.v.d.DukascopyPlugin - brokerTrade: Order not found for tradeID=168186933