mirror of
https://github.com/silencesdg/mt5_python_ea_suite.git
synced 2026-07-27 18:57:44 +00:00
0fcd676a0a
- risk_leverage=100: 0.01手按7保证金算,不改变实际杠杆 - _calculate_pnl_pct: dollar_pnl / position_margin - 硬止损: 保证金% × 开仓保证金 × 倍率 - RISK_CONFIG: SL-50%/TP+100%/拖尾+70%/回撤35%(均为保证金%)