#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::tokocrypto::TokocryptoCore;
use crate::exchange::ExchangeRuntime;
impl TokocryptoCore {
pub async fn binance_get_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_ping".into()), optional_args).await
}
pub async fn binance_get_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_time".into()), optional_args).await
}
pub async fn binance_get_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_depth".into()), optional_args).await
}
pub async fn binance_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_trades".into()), optional_args).await
}
pub async fn binance_get_agg_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_agg_trades".into()), optional_args).await
}
pub async fn binance_get_historical_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_historical_trades".into()), optional_args).await
}
pub async fn binance_get_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_klines".into()), optional_args).await
}
pub async fn binance_get_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_ticker24hr".into()), optional_args).await
}
pub async fn binance_get_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_ticker_price".into()), optional_args).await
}
pub async fn binance_get_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_ticker_book_ticker".into()), optional_args).await
}
pub async fn binance_get_exchange_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_exchange_info".into()), optional_args).await
}
pub async fn binance_get_execution_rules(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_execution_rules".into()), optional_args).await
}
pub async fn binance_put_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_put_user_data_stream".into()), optional_args).await
}
pub async fn binance_post_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_post_user_data_stream".into()), optional_args).await
}
pub async fn binance_delete_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_delete_user_data_stream".into()), optional_args).await
}
pub async fn public_get_open_v1_common_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_open_v1_common_time".into()), optional_args).await
}
pub async fn public_get_open_v1_common_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_open_v1_common_symbols".into()), optional_args).await
}
pub async fn public_get_open_v1_market_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_open_v1_market_depth".into()), optional_args).await
}
pub async fn public_get_open_v1_market_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_open_v1_market_trades".into()), optional_args).await
}
pub async fn public_get_open_v1_market_agg_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_open_v1_market_agg_trades".into()), optional_args).await
}
pub async fn public_get_open_v1_market_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_open_v1_market_klines".into()), optional_args).await
}
pub async fn private_get_open_v1_orders_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_orders_detail".into()), optional_args).await
}
pub async fn private_get_open_v1_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_orders".into()), optional_args).await
}
pub async fn private_get_open_v1_account_spot(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_account_spot".into()), optional_args).await
}
pub async fn private_get_open_v1_account_spot_asset(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_account_spot_asset".into()), optional_args).await
}
pub async fn private_get_open_v1_orders_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_orders_trades".into()), optional_args).await
}
pub async fn private_get_open_v1_withdraws(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_withdraws".into()), optional_args).await
}
pub async fn private_get_open_v1_deposits(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_deposits".into()), optional_args).await
}
pub async fn private_get_open_v1_deposits_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_open_v1_deposits_address".into()), optional_args).await
}
pub async fn private_post_open_v1_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_open_v1_orders".into()), optional_args).await
}
pub async fn private_post_open_v1_orders_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_open_v1_orders_cancel".into()), optional_args).await
}
pub async fn private_post_open_v1_orders_oco(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_open_v1_orders_oco".into()), optional_args).await
}
pub async fn private_post_open_v1_withdraws(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_open_v1_withdraws".into()), optional_args).await
}
pub async fn private_post_open_v1_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_open_v1_user_data_stream".into()), optional_args).await
}
pub async fn private_post_open_v1_user_listen_token(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_open_v1_user_listen_token".into()), optional_args).await
}
}