Expand description
HTTP/REST client implementation for the OKX v5 API.
This module provides a HTTP client for interacting with OKX’s REST endpoints, including:
- Market data queries (instruments, trades, bars, tickers).
- Account information and balances.
- Order management and execution.
- Position queries and management.
- Request signing and rate limiting.
Re-exports§
pub use crate::http::client::OKXHttpClient;
Modules§
- client
- Provides an ergonomic wrapper around the OKX v5 REST API – https://www.okx.com/docs-v5/en/.
- error
- Error structures and enumerations for the OKX integration.
- models
- Data transfer objects for deserializing OKX HTTP API payloads.
- parse
- Placeholder module for OKX HTTP parsing helpers.
- query
- Request parameter structures for the OKX v5 REST API.