Skip to content

Commit 072eea9

Browse files
author
fvetter
committed
🎯 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% exactes
1 parent 1fba513 commit 072eea9

File tree

4 files changed

+183
-988
lines changed

4 files changed

+183
-988
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ sudo tail /var/log/syslog | grep CRON
441441
"stop_limit_buffer": 0.001
442442
},
443443
"advanced_strategy": {
444-
"future_transfer_enabled": true
444+
"hold": true
445445
},
446446
"cryptos": {
447447
"BTC": {

‎config/config.template.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"second_rsi_rate": 30
1616
},
1717
"risk_management": {
18-
"max_positions_per_crypto": 30,
18+
"max_positions_per_crypto": 25,
1919
"cooldown_minutes": 30,
2020
"max_daily_trades": 100,
2121
"stop_loss_percentage": -8.0,
2222
"use_oco_orders": true,
2323
"stop_limit_buffer": 0.001
2424
},
2525
"advanced_strategy": {
26-
"future_transfer_enabled": true
26+
"hold": true
2727
},
2828
"cryptos": {
2929
"BTC": {
@@ -93,4 +93,4 @@
9393
"max_allocation": 0.03
9494
}
9595
}
96-
}
96+
}

0 commit comments

Comments
 (0)