#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::coinspot::CoinspotCore;
use crate::exchange::ExchangeRuntime;
impl CoinspotCore {
pub async fn public_get_latest(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_latest".into()), optional_args).await
}
pub async fn private_post_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders".into()), optional_args).await
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
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
}
}