Bug: PositionClosed not consistently firing
Bug: PositionClosed not consistently firing
02 Sep 2013, 21:08
I find that when I set many takeprofits, the PositionClosed event does not consistently fire. In fact, the function is simply not called on takeprofit execution almost as often as it is called. As a result, I must either set limit positions and then pay spreads to close them, or abandon an event-driven architecture and query every second to see whether a takeprofit has executed.
cAlgo_Fanatic
03 Sep 2013, 11:34 ( Updated at: 19 Mar 2025, 08:57 )
RE:
johnswentworth said:
Please explain your algorithm or send us your code or relevant code snippet to support@ctrader.com in order to investigate.
@cAlgo_Fanatic