#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::bit2c::Bit2cCore;
use crate::exchange::ExchangeRuntime;
impl Bit2cCore {
pub async fn public_get_exchanges_pair_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_exchanges_pair_ticker".to_string()), optional_args).await
}
pub async fn public_get_exchanges_pair_orderbook(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_exchanges_pair_orderbook".to_string()), optional_args).await
}
pub async fn public_get_exchanges_pair_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_exchanges_pair_trades".to_string()), optional_args).await
}
pub async fn public_get_exchanges_pair_lasttrades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_exchanges_pair_lasttrades".to_string()), optional_args).await
}
pub async fn private_post_merchant_create_checkout(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_merchant_create_checkout".to_string()), optional_args).await
}
pub async fn private_post_funds_add_coin_funds_request(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_funds_add_coin_funds_request".to_string()), optional_args).await
}
pub async fn private_post_order_add_fund(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_add_fund".to_string()), optional_args).await
}
pub async fn private_post_order_add_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_add_order".to_string()), optional_args).await
}
pub async fn private_post_order_get_by_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_get_by_id".to_string()), optional_args).await
}
pub async fn private_post_order_add_order_market_price_buy(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_add_order_market_price_buy".to_string()), optional_args).await
}
pub async fn private_post_order_add_order_market_price_sell(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_add_order_market_price_sell".to_string()), optional_args).await
}
pub async fn private_post_order_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_cancel_order".to_string()), optional_args).await
}
pub async fn private_post_order_add_coin_funds_request(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_add_coin_funds_request".to_string()), optional_args).await
}
pub async fn private_post_order_add_stop_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order_add_stop_order".to_string()), optional_args).await
}
pub async fn private_post_payment_get_my_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_payment_get_my_id".to_string()), optional_args).await
}
pub async fn private_post_payment_send(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_payment_send".to_string()), optional_args).await
}
pub async fn private_post_payment_pay(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_payment_pay".to_string()), optional_args).await
}
pub async fn private_get_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_account_balance".to_string()), optional_args).await
}
pub async fn private_get_account_balance_v2(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_account_balance_v2".to_string()), optional_args).await
}
pub async fn private_get_order_my_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_order_my_orders".to_string()), optional_args).await
}
pub async fn private_get_order_get_by_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_order_get_by_id".to_string()), optional_args).await
}
pub async fn private_get_order_account_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_order_account_history".to_string()), optional_args).await
}
pub async fn private_get_order_order_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_order_order_history".to_string()), optional_args).await
}
}