rust-okx 0.5.0

Async Rust client for the OKX v5 REST API
Documentation
pub(super) const BALANCE: &str = "/api/v5/account/balance";
pub(super) const POSITIONS: &str = "/api/v5/account/positions";
pub(super) const POSITION_RISK: &str = "/api/v5/account/account-position-risk";
pub(super) const ACCOUNT_CONFIG: &str = "/api/v5/account/config";
pub(super) const BILLS: &str = "/api/v5/account/bills";
pub(super) const BILLS_ARCHIVE: &str = "/api/v5/account/bills-archive";
pub(super) const SET_POSITION_MODE: &str = "/api/v5/account/set-position-mode";
pub(super) const SET_LEVERAGE: &str = "/api/v5/account/set-leverage";
pub(super) const GET_LEVERAGE: &str = "/api/v5/account/leverage-info";
pub(super) const MAX_ORDER_SIZE: &str = "/api/v5/account/max-size";
pub(super) const MAX_AVAILABLE_SIZE: &str = "/api/v5/account/max-avail-size";
pub(super) const ADJUST_MARGIN: &str = "/api/v5/account/position/margin-balance";
pub(super) const FEE_RATES: &str = "/api/v5/account/trade-fee";
pub(super) const ACCOUNT_INSTRUMENTS: &str = "/api/v5/account/instruments";
pub(super) const MAX_LOAN: &str = "/api/v5/account/max-loan";
pub(super) const INTEREST_ACCRUED: &str = "/api/v5/account/interest-accrued";
pub(super) const INTEREST_RATE: &str = "/api/v5/account/interest-rate";
pub(super) const SET_GREEKS: &str = "/api/v5/account/set-greeks";
pub(super) const SET_ISOLATED_MODE: &str = "/api/v5/account/set-isolated-mode";
pub(super) const MAX_WITHDRAWAL: &str = "/api/v5/account/max-withdrawal";
pub(super) const INTEREST_LIMITS: &str = "/api/v5/account/interest-limits";
pub(super) const SIMULATED_MARGIN: &str = "/api/v5/account/simulated_margin";
pub(super) const GREEKS: &str = "/api/v5/account/greeks";
pub(super) const POSITIONS_HISTORY: &str = "/api/v5/account/positions-history";
pub(super) const ACCOUNT_POSITION_TIERS: &str = "/api/v5/account/position-tiers";
pub(super) const RISK_STATE: &str = "/api/v5/account/risk-state";
pub(super) const SET_AUTO_LOAN: &str = "/api/v5/account/set-auto-loan";
pub(super) const SET_ACCOUNT_LEVEL: &str = "/api/v5/account/set-account-level";
pub(super) const ACTIVATE_OPTION: &str = "/api/v5/account/activate-option";
pub(super) const POSITION_BUILDER: &str = "/api/v5/account/position-builder";
pub(super) const SPOT_MANUAL_BORROW_REPAY: &str = "/api/v5/account/spot-manual-borrow-repay";
pub(super) const SET_AUTO_REPAY: &str = "/api/v5/account/set-auto-repay";
pub(super) const SPOT_BORROW_REPAY_HISTORY: &str = "/api/v5/account/spot-borrow-repay-history";
pub(super) const SET_AUTO_EARN: &str = "/api/v5/account/set-auto-earn";