Commit c638b3f
Add Binance exchange support for spot/perp/options
- Binance spot orders (POST /api/v3/order) with HMAC-SHA256 signing
- Binance futures orders (POST /fapi/v1/order)
- Binance options orders (POST /eapi/v1/order)
- Binance balance, positions, open orders, cancel
- Global --exchange flag: auto|hyperliquid|binance
- Auto mode: Hyperliquid for spot/perp, Binance for options
- Options on Hyperliquid returns clear error (HIP-4 not ready)
- Binance order IDs: binance_spot:SYMBOL:OID, binance_futures:SYMBOL:OID
- Config: binance_api_key, binance_api_secret in [api_keys]
- Zero clippy warnings1 parent 748f4b1 commit c638b3f
13 files changed
Lines changed: 1331 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments