#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::mercado::MercadoCore;
use crate::exchange::ExchangeRuntime;
impl MercadoCore {
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
}