Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py,src/web_dashboard.py
This commit is contained in:
parent
544cd7812b
commit
d36e07d999
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
Trading Bot V5 ENHANCED - FULLY FIXED VERSION
|
||||
Trading Bot V0.2 — Adaptive Strategy Learning
|
||||
Implementiert: SL, TP, Daily Limit, R:R Ratio
|
||||
FIXED: Binance API method (order_take_profit → create_order)
|
||||
FIXED: PRICE_FILTER für SL Orders durch Tick-Rounding
|
||||
|
|
@ -110,7 +110,7 @@ class TradingBot:
|
|||
|
||||
def _send_startup_message(self):
|
||||
"""Send startup message with current strategy"""
|
||||
message = """🤖 **TRADING BOT V5 — STARTED!**
|
||||
message = """🤖 **TRADING BOT V0.2 — STARTED!**
|
||||
|
||||
⚙️ **AKTUELLE STRATEGIE:**
|
||||
|
||||
|
|
@ -420,7 +420,7 @@ Reports: Alle 3h via Telegram 📊"""
|
|||
|
||||
---
|
||||
Time: {datetime.now().strftime('%Y-%m-%d %H:%M UTC')}
|
||||
Bot: V5 ENHANCED (FULLY FIXED)"""
|
||||
Bot: V0.2 Adaptive"""
|
||||
|
||||
self._send_telegram(message)
|
||||
logger.info("📱 Performance report sent to Telegram")
|
||||
|
|
@ -587,3 +587,4 @@ if __name__ == '__main__':
|
|||
def get_total_pnl(self):
|
||||
"""Total P&L = realized + unrealized"""
|
||||
return self.calculate_realized_pnl() + self.calculate_unrealized_pnl()
|
||||
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ async def root():
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
||||
<title>Trading Bot V10</title>
|
||||
<title>Trading Bot V0.2</title>
|
||||
<style>
|
||||
:root {{
|
||||
--bg-primary: #1a1a1a;
|
||||
|
|
@ -490,7 +490,7 @@ tbody tr:active {{
|
|||
<div class="app-container">
|
||||
<div class="header">
|
||||
<div class="logo">💰 Trading Bot</div>
|
||||
<div class="version">V10 — Real-time Portfolio Dashboard</div>
|
||||
<div class="version">V0.2 — Real-time Portfolio Dashboard</div>
|
||||
</div>
|
||||
|
||||
<div class="metrics-grid">
|
||||
|
|
|
|||
Loading…
Reference in New Issue