#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::btcturk::BtcturkCore;
use crate::exchange::ExchangeRuntime;
impl BtcturkCore {
pub async fn public_get_orderbook(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_orderbook".into()), optional_args).await
}
pub async fn public_get_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_ticker".into()), optional_args).await
}
pub async fn public_get_ticker_currency(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_ticker_currency".into()), optional_args).await
}
pub async fn public_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_trades".into()), optional_args).await
}
pub async fn public_get_ohlc(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_ohlc".into()), optional_args).await
}
pub async fn public_get_server_exchangeinfo(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_server_exchangeinfo".into()), optional_args).await
}
pub async fn private_get_users_balances(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_users_balances".into()), optional_args).await
}
pub async fn private_get_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_orders".into()), optional_args).await
}
pub async fn private_get_all_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_all_orders".into()), optional_args).await
}
pub async fn private_get_order_order_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_order_order_id".into()), optional_args).await
}
pub async fn private_get_users_transactions_trade(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_users_transactions_trade".into()), optional_args).await
}
pub async fn private_get_users_transactions_crypto(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_users_transactions_crypto".into()), optional_args).await
}
pub async fn private_get_users_transactions_fiat(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_users_transactions_fiat".into()), optional_args).await
}
pub async fn private_get_crypto_deposit_declarations(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_crypto_deposit_declarations".into()), optional_args).await
}
pub async fn private_post_users_transactions_crypto(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_users_transactions_crypto".into()), optional_args).await
}
pub async fn private_post_users_transactions_fiat(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_users_transactions_fiat".into()), optional_args).await
}
pub async fn private_post_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order".into()), 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".into()), optional_args).await
}
pub async fn private_post_crypto_deposit_declarations_confirm(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_crypto_deposit_declarations_confirm".into()), optional_args).await
}
pub async fn private_delete_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_order".into()), optional_args).await
}
pub async fn graph_get_ohlcs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("graph_get_ohlcs".into()), optional_args).await
}
pub async fn graph_get_klines_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("graph_get_klines_history".into()), optional_args).await
}
}