Add reconcilliation for cancelled position if needed
This commit is contained in:
@@ -1175,7 +1175,7 @@ public abstract class TradingBotBase : ITradingBot
|
||||
{
|
||||
Candle currentCandle = await GetCurrentCandleForPositionClose(Account, Config.Ticker.ToString());
|
||||
|
||||
// Try broker history reconciliation first (futures-specific)
|
||||
// Try broker history reconciliation first
|
||||
var brokerHistoryReconciled = await ReconcileWithBrokerHistory(position, currentCandle);
|
||||
if (brokerHistoryReconciled && !forceMarketClose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user