Bot auto-update: src/main_ml.py
This commit is contained in:
parent
d6863872c7
commit
544cd7812b
|
|
@ -64,6 +64,13 @@ class TradingBot:
|
|||
self.active_trades = {}
|
||||
self.daily_pnl = 0
|
||||
self.paused = False
|
||||
|
||||
# ADAPTIVE TRACKING (Option 2: Win Rate based Strategy)
|
||||
self.total_trades = 0
|
||||
self.total_wins = 0
|
||||
self.total_losses = 0
|
||||
self.last_win_rate = 50.0 # Start neutral
|
||||
self.strategy_version = 1
|
||||
self.start_time = datetime.now()
|
||||
self.trades_today = 0
|
||||
self.wins_today = 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue