资金费率套利引擎 BTC/ETH 现货+永续对冲
Before: unrealR = full position × price move (wrong after TP1) After: unrealR = 0.5×TP1_locked + 0.5×current_float (correct) This fixes the display showing >1R floating profit that never materializes in final PnL because only half position remains. |
||
|---|---|---|
| backend | ||
| docs | ||
| frontend | ||
| .gitignore | ||
| README.md | ||
arbitrage-engine
资金费率套利引擎 BTC/ETH 现货+永续对冲