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::coinspot::CoinspotCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}