mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-02 02:21:19 +08:00
- Add LeverageConfig struct with btc_eth_leverage and altcoin_leverage fields - Set default leverage to 5x (safe for Binance subaccounts) - Add validation warnings for leverage >5x (subaccount restrictions) - Update config.json.example with leverage configuration Breaking changes: - None (backward compatible with default 5x leverage) Migration: - Existing configs will auto-default to 5x leverage (safe) - Main accounts can increase to 20x (altcoins) or 50x (BTC/ETH) in config.json - Subaccounts must keep leverage ≤5x to avoid trade failures 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>