Add new parameters

This commit is contained in:
2025-06-03 01:01:17 +07:00
parent 71bcaea76d
commit 8c2e9b59de
23 changed files with 1346 additions and 510 deletions

View File

@@ -146,6 +146,9 @@ The backtest system works with multiple required parameters :
- Timeframe (OneDay, FifteenMinutes, etc..)
- BotType (ScalpingBot or FlippingBot)
- Initial balance
- **Advanced parameters**: All bot configuration parameters (time limits, profit-controlled flipping, etc.)
- **Smart bot deployment**: Deploy successful backtests as live bots with optimized settings
- **Enhanced UI**: Wider modals with organized 2-column parameter layouts
## Bots
@@ -154,6 +157,19 @@ The backtest system works with multiple required parameters :
- Delete a bot
- Stop all bots
- Set bot to watch only (send signal to discord instead of opening a new position)
- **Time-based position management**: Automatically close positions after maximum time limit (only when in profit/breakeven)
- **Advanced position flipping**: Control whether positions flip only when current position is profitable
- **Real-time configuration updates**: Update bot settings without restarting
- **Enhanced money management**: Smart money management selection with optimized settings from backtests
### Bot Configuration Parameters
| Parameter | Description | Default |
|--------------------------|-------------------------------------------------------------------------------------------------------|---------|
| MaxPositionTimeHours | Maximum time (in hours) a position can stay open. Closes only when in profit/breakeven. Null = disabled | null |
| FlipOnlyWhenInProfit | Only flip positions when current position is profitable | true |
| CooldownPeriod | Number of candles to wait before opening new position in same direction | 10 |
| MaxLossStreak | Maximum consecutive losses before requiring opposite direction signal. 0 = no limit | 0 |
Bot types availables :