ccxt-base 4.5.78

CCXT – CryptoCurrency eXchange Trading Library (Rust) – untyped engine (runtime, Value, REST/prediction Cores, WS infra)
Documentation
// -------------------------------------------------------------------------------

// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code

// -------------------------------------------------------------------------------

#![allow(non_snake_case, unused, dead_code, clippy::all)]

use crate::Value;
use super::lbank::LbankCore;
use crate::exchange::ExchangeRuntime;

impl LbankCore {
    /// Auto-generated wrapper for the `spotPublicGetCurrencyPairs` implicit endpoint.
    pub async fn spot_public_get_currency_pairs(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_currency_pairs".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetAccuracy` implicit endpoint.
    pub async fn spot_public_get_accuracy(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_accuracy".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetUsdToCny` implicit endpoint.
    pub async fn spot_public_get_usd_to_cny(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_usd_to_cny".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetAssetConfigs` implicit endpoint.
    pub async fn spot_public_get_asset_configs(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_asset_configs".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetWithdrawConfigs` implicit endpoint.
    pub async fn spot_public_get_withdraw_configs(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_withdraw_configs".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetTimestamp` implicit endpoint.
    pub async fn spot_public_get_timestamp(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_timestamp".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetTicker24hr` implicit endpoint.
    pub async fn spot_public_get_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_ticker24hr".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetTicker` implicit endpoint.
    pub async fn spot_public_get_ticker(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_ticker".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetDepth` implicit endpoint.
    pub async fn spot_public_get_depth(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_depth".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetIncrDepth` implicit endpoint.
    pub async fn spot_public_get_incr_depth(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_incr_depth".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetTrades` implicit endpoint.
    pub async fn spot_public_get_trades(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_trades".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetKline` implicit endpoint.
    pub async fn spot_public_get_kline(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_kline".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetSupplementSystemPing` implicit endpoint.
    pub async fn spot_public_get_supplement_system_ping(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_supplement_system_ping".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetSupplementIncrDepth` implicit endpoint.
    pub async fn spot_public_get_supplement_incr_depth(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_supplement_incr_depth".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetSupplementTrades` implicit endpoint.
    pub async fn spot_public_get_supplement_trades(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_supplement_trades".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetSupplementTickerPrice` implicit endpoint.
    pub async fn spot_public_get_supplement_ticker_price(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_supplement_ticker_price".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicGetSupplementTickerBookTicker` implicit endpoint.
    pub async fn spot_public_get_supplement_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_get_supplement_ticker_book_ticker".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPublicPostSupplementSystemStatus` implicit endpoint.
    pub async fn spot_public_post_supplement_system_status(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_public_post_supplement_system_status".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostUserInfo` implicit endpoint.
    pub async fn spot_private_post_user_info(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_user_info".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSubscribeGetKey` implicit endpoint.
    pub async fn spot_private_post_subscribe_get_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_subscribe_get_key".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSubscribeRefreshKey` implicit endpoint.
    pub async fn spot_private_post_subscribe_refresh_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_subscribe_refresh_key".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSubscribeDestroyKey` implicit endpoint.
    pub async fn spot_private_post_subscribe_destroy_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_subscribe_destroy_key".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostGetDepositAddress` implicit endpoint.
    pub async fn spot_private_post_get_deposit_address(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_get_deposit_address".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostDepositHistory` implicit endpoint.
    pub async fn spot_private_post_deposit_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_deposit_history".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostCreateOrder` implicit endpoint.
    pub async fn spot_private_post_create_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_create_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostBatchCreateOrder` implicit endpoint.
    pub async fn spot_private_post_batch_create_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_batch_create_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostCancelOrder` implicit endpoint.
    pub async fn spot_private_post_cancel_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_cancel_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostCancelClientOrders` implicit endpoint.
    pub async fn spot_private_post_cancel_client_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_cancel_client_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostOrdersInfo` implicit endpoint.
    pub async fn spot_private_post_orders_info(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_orders_info".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostOrdersInfoHistory` implicit endpoint.
    pub async fn spot_private_post_orders_info_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_orders_info_history".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostOrderTransactionDetail` implicit endpoint.
    pub async fn spot_private_post_order_transaction_detail(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_order_transaction_detail".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostTransactionHistory` implicit endpoint.
    pub async fn spot_private_post_transaction_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_transaction_history".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostOrdersInfoNoDeal` implicit endpoint.
    pub async fn spot_private_post_orders_info_no_deal(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_orders_info_no_deal".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostWithdraw` implicit endpoint.
    pub async fn spot_private_post_withdraw(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_withdraw".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostWithdrawCancel` implicit endpoint.
    pub async fn spot_private_post_withdraw_cancel(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_withdraw_cancel".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostWithdraws` implicit endpoint.
    pub async fn spot_private_post_withdraws(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_withdraws".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementUserInfo` implicit endpoint.
    pub async fn spot_private_post_supplement_user_info(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_user_info".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementWithdraw` implicit endpoint.
    pub async fn spot_private_post_supplement_withdraw(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_withdraw".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementDepositHistory` implicit endpoint.
    pub async fn spot_private_post_supplement_deposit_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_deposit_history".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementWithdraws` implicit endpoint.
    pub async fn spot_private_post_supplement_withdraws(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_withdraws".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementGetDepositAddress` implicit endpoint.
    pub async fn spot_private_post_supplement_get_deposit_address(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_get_deposit_address".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementAssetDetail` implicit endpoint.
    pub async fn spot_private_post_supplement_asset_detail(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_asset_detail".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementCustomerTradeFee` implicit endpoint.
    pub async fn spot_private_post_supplement_customer_trade_fee(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_customer_trade_fee".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementApiRestrictions` implicit endpoint.
    pub async fn spot_private_post_supplement_api_restrictions(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_api_restrictions".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementSystemPing` implicit endpoint.
    pub async fn spot_private_post_supplement_system_ping(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_system_ping".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementCreateOrderTest` implicit endpoint.
    pub async fn spot_private_post_supplement_create_order_test(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_create_order_test".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementCreateOrder` implicit endpoint.
    pub async fn spot_private_post_supplement_create_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_create_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementCancelOrder` implicit endpoint.
    pub async fn spot_private_post_supplement_cancel_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_cancel_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementCancelOrderBySymbol` implicit endpoint.
    pub async fn spot_private_post_supplement_cancel_order_by_symbol(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_cancel_order_by_symbol".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementOrdersInfo` implicit endpoint.
    pub async fn spot_private_post_supplement_orders_info(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_orders_info".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementOrdersInfoNoDeal` implicit endpoint.
    pub async fn spot_private_post_supplement_orders_info_no_deal(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_orders_info_no_deal".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementOrdersInfoHistory` implicit endpoint.
    pub async fn spot_private_post_supplement_orders_info_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_orders_info_history".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementUserInfoAccount` implicit endpoint.
    pub async fn spot_private_post_supplement_user_info_account(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_user_info_account".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `spotPrivatePostSupplementTransactionHistory` implicit endpoint.
    pub async fn spot_private_post_supplement_transaction_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("spot_private_post_supplement_transaction_history".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `contractPublicGetCfdOpenApiV1PubGetTime` implicit endpoint.
    pub async fn contract_public_get_cfd_open_api_v1_pub_get_time(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_get_time".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `contractPublicGetCfdOpenApiV1PubInstrument` implicit endpoint.
    pub async fn contract_public_get_cfd_open_api_v1_pub_instrument(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_instrument".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `contractPublicGetCfdOpenApiV1PubMarketData` implicit endpoint.
    pub async fn contract_public_get_cfd_open_api_v1_pub_market_data(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_market_data".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `contractPublicGetCfdOpenApiV1PubMarketOrder` implicit endpoint.
    pub async fn contract_public_get_cfd_open_api_v1_pub_market_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_market_order".to_string()), optional_args).await
    }

}