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::dydx::DydxCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}