mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-17 17:34:39 +08:00
feat(kucoin): add order sync and fix price precision
- Add KuCoin order sync with proper API response parsing - Use openFeePay/closeFeePay to determine open/close trades - Get contract multiplier from API for accurate qty calculation - Fix price rounding: 2 decimals -> 8 decimals for low-price coins - Add comprehensive tests for trades, positions, and P&L
This commit is contained in:
1228
trader/kucoin/trader.go
Normal file
1228
trader/kucoin/trader.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user