#![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".to_string()), optional_args).await
}
pub async fn binance_get_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_time".to_string()), optional_args).await
}
pub async fn binance_get_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_depth".to_string()), optional_args).await
}
pub async fn binance_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_trades".to_string()), 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".to_string()), 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".to_string()), optional_args).await
}
pub async fn binance_get_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_klines".to_string()), optional_args).await
}
pub async fn binance_get_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("binance_get_ticker24hr".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), optional_args).await
}
}