Fix bot things 2

This commit is contained in:
2025-02-11 02:06:35 +07:00
parent 898ff85eed
commit d7731dda0e
10 changed files with 164 additions and 121 deletions

View File

@@ -7,5 +7,5 @@ public interface IBotRepository
Task InsertBotAsync(BotBackup bot);
IEnumerable<BotBackup> GetBots();
Task UpdateBackupBot(BotBackup bot);
void DeleteBotBackup(string botName);
Task DeleteBotBackup(string botName);
}

View File

@@ -30,7 +30,7 @@ public interface IExchangeService
Task<Trade> OpenStopLoss(Account account, Ticker ticker, TradeDirection originalDirection, decimal stopLossPrice,
decimal quantity, bool isForPaperTrading = false, DateTime? currentDate = null);
Task<List<Ticker>> GetTickers(Account account, Timeframe timeframe);
Task<List<Ticker>> GetTickers(Timeframe timeframe);
Task<Trade> OpenTakeProfit(Account account, Ticker ticker, TradeDirection originalDirection,
decimal takeProfitPrice,