Commit 072eea9
fvetter
🎯 Feature: Gestion limites OCO par symbol + corrections commissions
✅ Nouveautés majeures:
- can_place_oco_order(): Vérification limite 5 OCO par symbol (pas global)
- Fallback automatique OCO → LIMIT si limite atteinte
- Stats détaillées OCO par symbol surveillé
- Logs améliorés avec status limite par crypto
đź”§ Corrections techniques:
- DatabaseManager: Fallback get_my_trades pour commissions anciennes
- Context manager fix dans monitoring OCO/LIMIT
- Timestamp order_time fix dans _handle_oco_execution_direct()
📊 Documentation Binance confirmée:
- MAX_NUM_ALGO_ORDERS: 5 par symbol (non global)
- 11 OCO actifs répartis sur symbols = NORMAL
- Stratégie multi-cryptos viable avec rotation intelligente
🎯 Impact: Bot respecte limites Binance + commissions 100% exactes1 parent 1fba513 commit 072eea9
File tree
4 files changed
+183
-988
lines changed- config
- src
4 files changed
+183
-988
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
0 commit comments