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::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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), optional_args).await
    }

}