market_okx 0.0.1
market_okx: ^0.0.1 copied to clipboard
A Dart package for accessing OKX exchange market data including instruments, OHLCV candles, and multiple timeframes. Part of the Coin Galaxy ecosystem.
0.0.1 #
- Initial release
- Implement
Marketinterface frommarket_interface - Support for fetching instruments (spot, futures, perpetual, margin, options)
- Support for fetching OHLCV (candlestick) data
- Support for 16 different timeframes (1m to 1M)
- Automatic pagination for requests exceeding 300 candles
- Automatic endpoint selection (candles vs history-candles)
- Smart handling of OKX API limits (1440 for recent data, unlimited for historical)
- Type-safe implementation with
Decimalfor price data - Comprehensive test coverage