Add ETH and USDC balance check before start/restart bot and autoswap
This commit is contained in:
@@ -33,7 +33,7 @@ public interface IExchangeProcessor
|
||||
decimal GetVolume(Account account, Ticker ticker);
|
||||
Task<List<Trade>> GetTrades(Account account, Ticker ticker);
|
||||
Task<bool> CancelOrder(Account account, Ticker ticker);
|
||||
decimal GetFee(Account account, bool isForPaperTrading = false);
|
||||
Task<decimal> GetFee(Account account, bool isForPaperTrading = false);
|
||||
Task<Candle> GetCandle(Account account, Ticker ticker, DateTime date);
|
||||
Task<decimal> GetQuantityInPosition(Account account, Ticker ticker);
|
||||
Orderbook GetOrderbook(Account account, Ticker ticker);
|
||||
|
||||
Reference in New Issue
Block a user