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::mercado::MercadoCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}