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::krakenfutures::KrakenfuturesCore;
use crate::exchange::ExchangeRuntime;

impl KrakenfuturesCore {
    /// Auto-generated wrapper for the `publicGetFeeschedules` implicit endpoint.
    pub async fn public_get_feeschedules(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_feeschedules".to_string()), 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".to_string()), optional_args).await
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}