ccxt-base 4.5.93

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::onetrading::OnetradingCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}