/// <summary> /// Запускает расчет для текущей сетки /// </summary> /// <param name="depositAsset"></param> /// <param name="depositQuote"></param> /// <returns></returns> public List <StopLimitOrderTest> CalcCurrentGrid(double depositAsset, double depositQuote) { logService.CreateLogFile("curretn_grid"); SetConfifuration(); tradeConfiguration.GeneralSetting.DepositAsset = depositAsset; tradeConfiguration.GeneralSetting.DepositQuote = depositQuote; return(StartAlgoritm(-1)); }
public AccountInfo(APIKeyRepository keyRepo, BalanceRepository balanceRepo) { this.keyRepo = keyRepo; this.balanceRepo = balanceRepo; logService = new LogService(); logService.CreateLogFile("AccountInfo"); }
public TradeAccountInfo(APIKeyRepository keyRepo, TradeConfigRepository configRepository, TradeRepository tradeRepository) { this.keyRepo = keyRepo; this.configRepository = configRepository; this.tradeRepository = tradeRepository; logService = new LogService(); logService.CreateLogFile("TradeAccountInfo"); }