Add new parameters
This commit is contained in:
@@ -24,7 +24,9 @@ namespace Managing.Application.Abstractions.Services
|
||||
bool save = false,
|
||||
List<Candle>? initialCandles = null,
|
||||
int cooldownPeriod = 1,
|
||||
int maxLossStreak = 0);
|
||||
int maxLossStreak = 0,
|
||||
decimal? maxPositionTimeHours = null,
|
||||
bool flipOnlyWhenInProfit = true);
|
||||
|
||||
Task<Backtest> RunFlippingBotBacktest(
|
||||
Account account,
|
||||
@@ -40,7 +42,9 @@ namespace Managing.Application.Abstractions.Services
|
||||
bool save = false,
|
||||
List<Candle>? initialCandles = null,
|
||||
int cooldownPeriod = 1,
|
||||
int maxLossStreak = 0);
|
||||
int maxLossStreak = 0,
|
||||
decimal? maxPositionTimeHours = null,
|
||||
bool flipOnlyWhenInProfit = true);
|
||||
|
||||
bool DeleteBacktest(string id);
|
||||
bool DeleteBacktests();
|
||||
@@ -54,7 +58,9 @@ namespace Managing.Application.Abstractions.Services
|
||||
decimal balance,
|
||||
User user = null,
|
||||
int cooldownPeriod = 1,
|
||||
int maxLossStreak = 0);
|
||||
int maxLossStreak = 0,
|
||||
decimal? maxPositionTimeHours = null,
|
||||
bool flipOnlyWhenInProfit = true);
|
||||
|
||||
Task<Backtest> RunFlippingBotBacktest(
|
||||
Account account,
|
||||
@@ -65,7 +71,9 @@ namespace Managing.Application.Abstractions.Services
|
||||
decimal balance,
|
||||
User user = null,
|
||||
int cooldownPeriod = 1,
|
||||
int maxLossStreak = 0);
|
||||
int maxLossStreak = 0,
|
||||
decimal? maxPositionTimeHours = null,
|
||||
bool flipOnlyWhenInProfit = true);
|
||||
|
||||
// User-specific operations
|
||||
Task<IEnumerable<Backtest>> GetBacktestsByUser(User user);
|
||||
|
||||
Reference in New Issue
Block a user