#![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".to_string()), optional_args).await
}
pub async fn public_get_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_ticker".to_string()), optional_args).await
}
pub async fn public_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_trades".to_string()), optional_args).await
}
pub async fn public_get_ohlc(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_ohlc".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), optional_args).await
}
pub async fn private_post_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_order".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_delete_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_order".to_string()), optional_args).await
}
pub async fn graph_get_ohlcs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("graph_get_ohlcs".to_string()), 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".to_string()), optional_args).await
}
}