Harden pending cancellation and startup state handling
This commit is contained in:
@@ -36,6 +36,8 @@ bool GetTickContext(TickContext &ctx)
|
||||
*/
|
||||
void ManageExpiredTrades()
|
||||
{
|
||||
CleanupPendingOrderCancelAttempts();
|
||||
|
||||
if(OrdersTotal() > 0)
|
||||
CancelExpiredOrders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user