Remove text from backtestSpot
This commit is contained in:
@@ -46,19 +46,11 @@ public class BacktestSpotBot : TradingBotBase, ITradingBot
|
|||||||
|
|
||||||
public override async Task Run()
|
public override async Task Run()
|
||||||
{
|
{
|
||||||
// Backtest signal update is handled in BacktestExecutor loop
|
|
||||||
// No need to call UpdateSignals() here
|
|
||||||
|
|
||||||
if (!Config.IsForWatchingOnly)
|
if (!Config.IsForWatchingOnly)
|
||||||
await ManagePositions();
|
await ManagePositions();
|
||||||
|
|
||||||
UpdateWalletBalances();
|
UpdateWalletBalances();
|
||||||
|
|
||||||
// Backtest logging - simplified, no account dependency
|
|
||||||
ExecutionCount++;
|
ExecutionCount++;
|
||||||
Logger.LogInformation(
|
|
||||||
"[BacktestSpot][{BotName}] Execution {ExecutionCount} - LastCandleDate: {LastCandleDate}, Signals: {SignalCount}, Positions: {PositionCount}",
|
|
||||||
Config.Name, ExecutionCount, LastCandle?.Date, Signals.Count, Positions.Count);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task<Position> GetInternalPositionForUpdate(Position position)
|
protected override async Task<Position> GetInternalPositionForUpdate(Position position)
|
||||||
|
|||||||
Reference in New Issue
Block a user