Commit Graph

145 Commits

Author SHA1 Message Date
Marc Blatter d36e07d999 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py,src/web_dashboard.py 2026-07-07 22:00:01 +02:00
Marc Blatter 544cd7812b Bot auto-update: src/main_ml.py 2026-07-07 21:50:02 +02:00
Marc Blatter d6863872c7 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-07 09:05:01 +02:00
Marc Blatter b9bd1b2e96 Bot auto-update: src/web_dashboard.py 2026-07-06 22:15:01 +02:00
Marc Blatter 7a99a799f3 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-06 22:10:01 +02:00
Marc Blatter 2b18f9f006 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-06 22:05:01 +02:00
Marc Blatter deaeba6287 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/__pycache__/web_dashboard.cpython-310.pyc,src/dashboard_pnl.html,src/main_ml.py,src/web_dashboard.py 2026-07-06 22:00:01 +02:00
Marc Blatter c1fb49c827 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-06 21:55:01 +02:00
Marc Blatter 07cffd0efb Bot auto-update: src/main_ml.py,src/main_ml.py.backup.35pct.20240706 2026-07-06 21:50:01 +02:00
Marc Blatter 0e3bcff00e Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-06 21:20:01 +02:00
Marc Blatter a815dfe304 Bot auto-update: src/main_ml.py,src/main_ml.py.backup.30pct 2026-07-06 21:15:01 +02:00
Marc Blatter 4814fe0a58 Bot auto-update: src/main_ml.py,src/main_ml.py.backup.18pct 2026-07-06 11:05:02 +02:00
Marc Blatter 6758c9914b Position Sizing: Increase investment from 18% to 30% (fix NOTIONAL rejection for small orders) 2026-07-06 11:04:08 +02:00
Marc Blatter a861127afc Dashboard V12: Fix Open Positions count
- PROBLEM: Dashboard showed 0 positions (read from empty trades.json)
- SOLUTION: Count locked coins instead (BTC/ETH/SOL/BNB/XRP)
- RESULT: Now shows 5 active positions correctly
- API: Added active_positions field to /api/state
2026-07-05 08:19:56 +02:00
Marc Blatter 57beea0cc9 Bot auto-update: src/web_dashboard.py 2026-07-05 08:15:01 +02:00
Marc Blatter da3fe15feb Bot auto-update: src/main_ml.py 2026-07-05 00:55:01 +02:00
Marc Blatter f3e7114b60 Bot V5 FINAL FIX: Decimal Precision + NOTIONAL Validation
- FIXED: Binance API method (order_take_profit → create_order)
- FIXED: Floating point precision using Decimal library
- FIXED: Quantity rounding without precision loss
- FIXED: Price rounding without precision loss
- FIXED: NOTIONAL filter validation before order placement
- NEW: min_notional loaded from Binance filters
- NEW: Order value validation before market buy
- TESTED: No more API precision errors
- VERSION: V5 ENHANCED FULLY FIXED
- STATUS: Ready for production trading
2026-07-04 23:53:37 +02:00
Marc Blatter f34d0a49dd Bot auto-update: src/main_ml.py 2026-07-04 23:50:01 +02:00
Marc Blatter aacbeaf6df Bot V5 ENHANCED: Telegram Notifications + Quantity Precision
- NEW: Startup message with strategy summary (sent to Telegram)
- NEW: 3h performance reports (automatic every 3 hours)
- NEW: Telegram integration for notifications + metrics
- FIXED: Quantity rounding to Binance step size
- FIXED: All buy orders now precision-safe
- NEW: Performance metrics tracked per day
- NEW: Win rate + P&L reporting
- NEW: Daily PnL tracking + pause at -5%
- FEATURE: Auto-reporting every 3 hours
- VERSION: V5 ENHANCED PRODUCTION
- STATUS: Ready for 100% USDT trading with Telegram alerts
2026-07-04 23:44:09 +02:00
Marc Blatter 0fd2bdc647 Bot V5 ENHANCED: CRITICAL PRECISION FIX for SL Orders
- FIXED: PRICE_FILTER error on SL placement
- FIXED: Added _round_to_tick() for all SL prices
- NEW: Pair precision cache (BTC/ETH/SOL/BNB/XRP tick sizes)
- IMPROVED: SL now respects Binance PRICE_FILTER rules
- IMPROVED: XRP SL correctly rounded to 0.0001 tick
- BEHAVIOR: All SL orders now execute correctly
- RISK: Still -2.5% SL, +3% TP, -5% daily limit
- STATUS: Ready for 100% USDT trading
- VERSION: Production-ready
2026-07-04 23:39:43 +02:00
Marc Blatter 0431bddebd Bot auto-update: src/web_dashboard.py 2026-07-04 23:35:01 +02:00
Marc Blatter ec1e7213cc Dashboard V9: Simplified Clean Design - No Sidebar
- REMOVED: Sidebar navigation (no added value)
- LAYOUT: Clean centered content, full width
- METRICS: Minimum 2 tiles per row (Portfolio + USDT)
- DESKTOP: 3 tiles in row (Portfolio, USDT, Positions)
- MOBILE: 2x2 grid layout (always 2 per row)
- DESIGN: Same grayscale + green accents
- TABLES: Live Prices + Holdings sections below
- PERFORMANCE: Smooth animations, loading optimized
- RESPONSIVE: Modern CSS Grid with minmax
- TYPOGRAPHY: Fluid scaling via clamp()
- FOOTER: None (clean end)
- VERSION: V9 ENHANCED
2026-07-04 23:31:37 +02:00
Marc Blatter b7b311e3cf Dashboard V8: Modern Mobile-First Responsive Design
- NEW: Hamburger menu for mobile (☰ button)
- NEW: Modern CSS Grid + Flexbox layout
- NEW: Fluid typography with CSS clamp()
- NEW: Touch-friendly UI (44px+ tap targets)
- NEW: Smooth scrolling (-webkit-overflow-scrolling)
- NEW: Mobile-optimized breakpoints (768px, 480px)
- IMPROVED: Auto-collapsing sidebar on mobile
- IMPROVED: Optimized table display for small screens
- ACCESSIBILITY: Better spacing and sizing for mobile users
- FEATURES: Responsive images and fluid spacing
- VERSION: V8 ENHANCED
- PERFORMANCE: Fast loading, smooth transitions
2026-07-04 23:29:28 +02:00
Marc Blatter 05fcb8ad9a Dashboard V7: Complete Redesign with Grayscale Theme
- NEW: Sidebar navigation (left panel with menu)
- NEW: Grayscale color scheme (#1e1e1e, #2a2a2a, #404040)
- NEW: Green accents only for key metrics (Portfolio, USD Values)
- REMOVED: Footer text entirely
- IMPROVED: Professional spacing and layout
- STYLE: Monospace font, clean typography
- RESPONSIVE: Mobile-optimized layout
- PRICES: 2 decimal precision across all assets
- HOLDINGS: Detailed breakdown with USD values in green
2026-07-04 23:23:04 +02:00
Marc Blatter 6e6c9af51a Dashboard V6: 2 Decimal Precision for All Prices
- Title: Updated to V6
- Bot Version: V6 ENHANCED
- Price Precision: 2 decimals (was 4)
- Design: Same dark theme + green accents
- Performance: <1.2 sec response time
- Layout: Unchanged from V5
- All prices now show exactly .XX format
2026-07-04 23:18:34 +02:00
Marc Blatter d60b1cb839 Bot auto-update: src/web_dashboard.py 2026-07-04 23:10:01 +02:00
Marc Blatter ec07f47438 FIX: Dashboard Portfolio Discrepancy
- Root cause: Hardcoded XRP price 2.5x too high
- Solution: Dashboard now uses LIVE Binance prices
- Result: Portfolio 39.82 (correct) vs 85.50 (wrong)
- Now: 100% match with Binance Spot balance
- All prices updated on every API call
2026-07-04 23:07:06 +02:00
Marc Blatter 7a6c888db4 Bot V5 ENHANCED: Risk Management Implementation
- Stop Loss: 2.5% on all trades
- Take Profit: 3% (increased from 1%)
- Daily Loss Limit: -5% max per day
- Risk/Reward: 1:1.2 ratio enforced
- All 5 current trades protected
- Deployment: Safe restart without trade interruption
2026-07-04 22:59:33 +02:00
Marc Blatter 400740b541 Add Frigate Daily Report: Telegram integration, daily 20:30 CET summary 2026-07-04 20:34:38 +02:00
Marc Blatter 0c4086f243 Add Telegram Report Integration: 3-hourly performance reports sent to Telegram 2026-07-04 20:32:24 +02:00
Marc Blatter 336542728e Bot auto-update: src/main_ml.py 2026-07-04 19:20:01 +02:00
Marc Blatter 09dc561027 Dashboard V2: Professional redesign - mobile-optimized, dark theme, green accents
- Responsive sidebar layout (70px fixed + main content)
- Dark theme #0a0e27 with green primary #00ff88
- Metrics grid: Portfolio, USDT Free, Trades, Win Rate, P&L, Open
- Open positions section with entry price
- Recent closes section with profit/loss colors
- Live status badge with pulse animation
- 100% mobile responsive (480px, 768px breakpoints)
- Real-time updates every 1 second
- Clean, minimalist design
2026-07-04 18:59:51 +02:00
Marc Blatter 24497b9b37 Bot auto-update: src/main_ml.py 2026-07-04 17:25:01 +02:00
Marc Blatter a6a832a4e7 Bot auto-update: src/web_dashboard.py 2026-07-04 16:45:01 +02:00
Marc Blatter a8a44cf54a Bot auto-update: src/web_dashboard.py 2026-07-04 16:40:01 +02:00
Marc Blatter f018a121d9 Bot auto-update: src/report_generator.py,src/web_dashboard.py 2026-07-04 16:35:01 +02:00
Marc Blatter 1885ef468e Bot auto-update: src/web_dashboard.py 2026-07-04 15:20:01 +02:00
Marc Blatter c856478c1a Bot auto-update: src/main_ml.py 2026-07-04 15:15:01 +02:00
Marc Blatter 524c52ccf6 Bot auto-update: src/main_ml.py 2026-07-04 15:10:01 +02:00
Marc Blatter 0b41ba1657 Bot auto-update: src/main_ml.py 2026-07-04 15:05:01 +02:00
Marc Blatter 461af80975 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py,src/main_ml.py.bak,src/main_ml_v6.py,src/web_dashboard.py 2026-07-04 15:00:01 +02:00
Marc Blatter 2dbca544b9 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/__pycache__/web_dashboard.cpython-310.pyc,src/main_ml.py,src/web_dashboard.py 2026-07-04 14:55:01 +02:00
Marc Blatter f8d028a3a5 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 14:45:46 +02:00
Marc Blatter b42b06bc5d Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-04 14:45:01 +02:00
Marc Blatter daab8bc7d4 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-04 14:40:00 +02:00
Marc Blatter b3a681861b Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 14:35:46 +02:00
Marc Blatter 43015dcb42 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc 2026-07-04 14:35:01 +02:00
Marc Blatter fce2ebc467 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-04 14:30:43 +02:00
Marc Blatter 2b0624a04b Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 14:28:27 +02:00
Marc Blatter e67077c093 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py,src/web_dashboard.py 2026-07-04 14:19:41 +02:00
Marc Blatter b8606906fb ROLLBACK: Remove Middleware chaos, back to simple working Bot+Dashboard 2026-07-04 14:15:48 +02:00
Marc Blatter 8d28a7e2fc Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-04 14:15:01 +02:00
Marc Blatter fc72ebcece Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 14:10:01 +02:00
Marc Blatter 887822efb6 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/__pycache__/web_dashboard.cpython-310.pyc,src/main_ml.py,src/web_dashboard.py 2026-07-04 14:08:08 +02:00
Marc Blatter 882e5adaaf Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/__pycache__/state_manager.cpython-310.pyc,src/main_ml.py,src/state_manager.py,src/web_dashboard.py 2026-07-04 14:07:22 +02:00
Marc Blatter 4e8d268e35 Bot auto-update: src/__pycache__/state_manager.cpython-310.pyc,src/state_manager.py,src/web_dashboard.py 2026-07-04 14:04:27 +02:00
Marc Blatter dceec2cea9 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-04 14:01:31 +02:00
Marc Blatter 5127e9f5b5 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:48:42 +02:00
Marc Blatter e312565063 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/main_ml.py 2026-07-04 13:45:01 +02:00
Marc Blatter 8eececb04f Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:40:29 +02:00
Marc Blatter 4d28faa476 Bot auto-update: src/web_dashboard.py 2026-07-04 13:40:08 +02:00
Marc Blatter 341778987a Bot auto-update: src/web_dashboard.py 2026-07-04 13:39:51 +02:00
Marc Blatter 42f4707461 Bot auto-update: src/__pycache__/state_manager.cpython-310.pyc,src/__pycache__/web_dashboard.cpython-310.pyc,src/state_manager.py 2026-07-04 13:39:25 +02:00
Marc Blatter de57afabdb Bot auto-update: src/main_ml.py 2026-07-04 13:33:45 +02:00
Marc Blatter 823aa9b73f Bot auto-update: src/main_ml.py 2026-07-04 13:33:11 +02:00
Marc Blatter c6454cba04 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc 2026-07-04 13:32:32 +02:00
Marc Blatter 41c3bbceb7 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/__pycache__/persistence.cpython-310.pyc 2026-07-04 13:30:30 +02:00
Marc Blatter 43fa4651c9 Bot auto-update: src/main_ml.py,src/persistence.py 2026-07-04 13:30:01 +02:00
Marc Blatter e1c4e15197 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:25:57 +02:00
Marc Blatter 218a253c2c Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:25:44 +02:00
Marc Blatter 29663ff13c Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:20:35 +02:00
Marc Blatter 2695c6721f Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:19:00 +02:00
Marc Blatter 2fbc43ae97 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:17:53 +02:00
Marc Blatter 21b630f86f Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:17:40 +02:00
Marc Blatter 187be0af27 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:17:25 +02:00
Marc Blatter f444946631 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:16:49 +02:00
Marc Blatter 51bf3df227 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:14:44 +02:00
Marc Blatter 24ad000c3b Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc 2026-07-04 13:12:57 +02:00
Marc Blatter cf08e5dc8d Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:12:06 +02:00
Marc Blatter cfd8320896 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc 2026-07-04 13:10:01 +02:00
Marc Blatter ccdd6546ed Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc 2026-07-04 13:08:48 +02:00
Marc Blatter 7c8b109fac Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:07:52 +02:00
Marc Blatter 2747703dd6 Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:06:33 +02:00
Marc Blatter 9f9388ee2b Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:05:01 +02:00
Marc Blatter c3ccb37f45 Rollback: Restored functional design (a3bd191) 2026-07-04 13:04:48 +02:00
Marc Blatter c22b6f3f6a Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:03:59 +02:00
Marc Blatter a3bd191d40 Bot auto-update: src/__pycache__/main_ml.cpython-310.pyc,src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 13:00:33 +02:00
Marc Blatter eafbb4a25d Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc 2026-07-04 13:00:01 +02:00
Marc Blatter 5a80f5b5ba Rollback Dashboard: Restored functional USD-only design (v b41d00b) 2026-07-04 12:59:23 +02:00
Marc Blatter 3a9236576e Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 12:57:59 +02:00
Marc Blatter 845944ec1d Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 12:56:02 +02:00
Marc Blatter 8acd83b33f Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 12:54:16 +02:00
Marc Blatter b41d00bc4c Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py 2026-07-04 12:41:58 +02:00
Marc Blatter 22c557421b Bot auto-update: src/main_ml.py 2026-07-04 12:37:55 +02:00
Marc Blatter 7b381be328 Bot V5: Production-ready ML trading engine (2026-07-04)
- Multi-crypto BUY signals via ML model
- Auto-SELL: +1% profit threshold
- Risk management: -3% SL, 4h timeout, daily loss limit
- Auto-SWAP: Holdings <$15 to USDT
- Real-time dashboard: CHF prices, P&L tracking
- Telegram alerts: Exit notifications + 3h reports
- Capital: $135.51 USDT live trading
2026-07-04 12:28:44 +02:00