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::binance::BinanceCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}