Work in progress
Currently in early development, not ready for use yet
ferr
Rust library for market data and order management on crypto CEXs -- Binance, Bybit, OKX and Bitget. Made for personal use, open source in case someone finds it useful
Features
WS Data
- Tick, trade, funding rate, open interest
- Top of orderbook, mark price, index price, bid/ask/mid/last
- Auto-reconnect and resubscription
REST API Data
- Order placement, modification, cancellation
- Account balance, positions, trade history
- Historical kline/OHLCV
- All data is for perp and spot to USDT only
Other
- Per-exchange rate limit tracking
Example usage
Coming soon