ccxt-base 4.5.88

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::coinbaseinternational::CoinbaseinternationalCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}