You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Binance enhancements — configurable base URL, quote, transfer, test scripts
- Add optional `binance_base_url` config field (defaults to Binance Global,
can be set to https://api.binance.us for Binance US spot-only)
- Refactor src/binance.rs to use config-based URLs instead of hardcoded
constants; futures/options return errors when custom URL is set
- Add Binance as a quote data source (24hr ticker, no auth needed) alongside
Hyperliquid, Yahoo Finance, and CoinGecko
- Add Binance spot↔futures universal transfer command (MAIN_UMFUTURE /
UMFUTURE_MAIN)
- Add `quote` and `transfer` CLI commands + JSON variants to binance binary
- Add new API functions: get_ticker_price, get_futures_ticker_price,
universal_transfer, get_funding_rate
- Fix bootstrap.sh to install all 5 binaries (was only installing fintool)
- Update install.md manual instructions for all binaries
- Fix HL chained withdrawal: re-fetch Across quote after Bridge2, account
for ~$1 Bridge2 fee by tracking actual arrived balance
- Add integration test scripts in tests/binance/ matching hyperliquid patterns:
show_status, buy/sell ETH futures, buy/sell BTC spot, deposit addresses,
withdraw, transfer, and full e2e_trading
Signed-off-by: Michael Yuan <michael@secondstate.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Michael Yuan <michael@secondstate.io>
0 commit comments