Clean a bit and add prod env to front

This commit is contained in:
2025-05-11 17:23:02 +07:00
parent 549c4ae746
commit 65c4ec4957
15 changed files with 184 additions and 230 deletions

View File

@@ -66,7 +66,7 @@ namespace Managing.Application.Backtesting
bool isForWatchingOnly = false,
bool save = false,
List<Candle>? initialCandles = null,
decimal cooldownPeriod = 1,
int cooldownPeriod = 1,
int maxLossStreak = 0)
{
var config = new TradingBotConfig
@@ -121,7 +121,7 @@ namespace Managing.Application.Backtesting
bool isForWatchingOnly = false,
bool save = false,
List<Candle>? initialCandles = null,
decimal cooldownPeriod = 1,
int cooldownPeriod = 1,
int maxLossStreak = 0)
{
var config = new TradingBotConfig
@@ -172,7 +172,7 @@ namespace Managing.Application.Backtesting
List<Candle> candles,
decimal balance,
User user = null,
decimal cooldownPeriod = 1,
int cooldownPeriod = 1,
int maxLossStreak = 0)
{
var ticker = MiscExtensions.ParseEnum<Ticker>(candles.FirstOrDefault().Ticker);
@@ -214,7 +214,7 @@ namespace Managing.Application.Backtesting
List<Candle> candles,
decimal balance,
User user = null,
decimal cooldownPeriod = 1,
int cooldownPeriod = 1,
int maxLossStreak = 0)
{
var ticker = MiscExtensions.ParseEnum<Ticker>(candles.FirstOrDefault().Ticker);