Module http

Module http 

Source
Expand description

HTTP/REST client implementation for the OKX v5 API.

This module provides a strongly-typed 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 APIhttps://www.okx.com/docs-v5/en/.
error
Error structures and enumerations for the OKX integration.
models
parse
query
Strongly-typed request parameter structures for the OKX v5 REST API.