#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::hibachi::HibachiCore;
use crate::exchange::ExchangeRuntime;
impl HibachiCore {
pub async fn public_get_market_exchange_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_exchange_info".to_string()), optional_args).await
}
pub async fn public_get_market_inventory(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_inventory".to_string()), optional_args).await
}
pub async fn public_get_market_data_prices(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_prices".to_string()), optional_args).await
}
pub async fn public_get_market_data_stats(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_stats".to_string()), optional_args).await
}
pub async fn public_get_market_data_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_trades".to_string()), optional_args).await
}
pub async fn public_get_market_data_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_klines".to_string()), optional_args).await
}
pub async fn public_get_market_data_open_interest(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_open_interest".to_string()), optional_args).await
}
pub async fn public_get_market_data_orderbook(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_orderbook".to_string()), optional_args).await
}
pub async fn public_get_market_data_funding_rates(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_market_data_funding_rates".to_string()), optional_args).await
}
pub async fn public_get_exchange_utc_timestamp(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_exchange_utc_timestamp".to_string()), optional_args).await
}
pub async fn private_get_capital_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_capital_balance".to_string()), optional_args).await
}
pub async fn private_get_capital_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_capital_history".to_string()), optional_args).await
}
pub async fn private_get_capital_deposit_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_capital_deposit_info".to_string()), optional_args).await
}
pub async fn private_get_trade_account_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_account_info".to_string()), optional_args).await
}
pub async fn private_get_trade_account_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_account_trades".to_string()), optional_args).await
}
pub async fn private_get_trade_account_trading_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_account_trading_history".to_string()), optional_args).await
}
pub async fn private_get_trade_account_settlements_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_account_settlements_history".to_string()), optional_args).await
}
pub async fn private_get_trade_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_orders".to_string()), optional_args).await
}
pub async fn private_get_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_order".to_string()), optional_args).await
}
pub async fn private_get_trade_orders_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trade_orders_history".to_string()), optional_args).await
}
pub async fn private_put_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_trade_order".to_string()), optional_args).await
}
pub async fn private_delete_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_trade_order".to_string()), optional_args).await
}
pub async fn private_delete_trade_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_trade_orders".to_string()), optional_args).await
}
pub async fn private_post_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_trade_order".to_string()), optional_args).await
}
pub async fn private_post_trade_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_trade_orders".to_string()), optional_args).await
}
pub async fn private_post_capital_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_capital_withdraw".to_string()), optional_args).await
}
pub async fn private_post_capital_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_capital_transfer".to_string()), optional_args).await
}
pub async fn private_post_trade_account_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_trade_account_leverage".to_string()), optional_args).await
}
}