04-18-2019, 01:37 AM
No. OnTrade is only called when the processTradeCompleted event occurs.
I ended up creating the onTerminatedTrades method in my smart strategy template (also modified baseTradingMethod & tradingAdvisor to get that to work) to get alerted when trades abort or error out.
You might have seen the video about that, but if you haven't, it's here.
https://www.youtube.com/watch?v=xwfYkgOjTFE
I ended up creating the onTerminatedTrades method in my smart strategy template (also modified baseTradingMethod & tradingAdvisor to get that to work) to get alerted when trades abort or error out.
You might have seen the video about that, but if you haven't, it's here.
https://www.youtube.com/watch?v=xwfYkgOjTFE
If it isn't crypto, it isn't worth mining, it isn't worth speculating.
https://www.youtube.com/c/crypto49er
https://www.youtube.com/c/crypto49er