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::bydfi::BydfiCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}