rust-okx 0.5.0

Async Rust client for the OKX v5 REST API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// users/subaccount
pub(crate) const SUBACCOUNT_LIST: &str = "/api/v5/users/subaccount/list";
pub(crate) const SUBACCOUNT_CREATE: &str = "/api/v5/users/subaccount/create-subaccount";
pub(crate) const SUBACCOUNT_APIKEY: &str = "/api/v5/users/subaccount/apikey";
pub(crate) const SUBACCOUNT_APIKEY_MODIFY: &str = "/api/v5/users/subaccount/modify-apikey";
pub(crate) const SUBACCOUNT_APIKEY_DELETE: &str = "/api/v5/users/subaccount/delete-apikey";
pub(crate) const SUBACCOUNT_SET_TRANSFER_OUT: &str = "/api/v5/users/subaccount/set-transfer-out";
pub(crate) const ENTRUST_SUBACCOUNT_LIST: &str = "/api/v5/users/entrust-subaccount-list";
// account/subaccount
pub(crate) const SUBACCOUNT_TRADING_BALANCES: &str = "/api/v5/account/subaccount/balances";
pub(crate) const SUBACCOUNT_MAX_WITHDRAWAL: &str = "/api/v5/account/subaccount/max-withdrawal";
// asset/subaccount
pub(crate) const SUBACCOUNT_FUNDING_BALANCES: &str = "/api/v5/asset/subaccount/balances";
pub(crate) const SUBACCOUNT_BILLS: &str = "/api/v5/asset/subaccount/bills";
pub(crate) const SUBACCOUNT_MANAGED_BILLS: &str =
    "/api/v5/asset/subaccount/managed-subaccount-bills";
pub(crate) const SUBACCOUNT_TRANSFER: &str = "/api/v5/asset/subaccount/transfer";