#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::delta::DeltaCore;
use crate::exchange::ExchangeRuntime;
impl DeltaCore {
pub async fn public_get_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_assets".to_string()), optional_args).await
}
pub async fn public_get_indices(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_indices".to_string()), optional_args).await
}
pub async fn public_get_products(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_products".to_string()), optional_args).await
}
pub async fn public_get_products_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_products_symbol".to_string()), optional_args).await
}
pub async fn public_get_tickers(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_tickers".to_string()), optional_args).await
}
pub async fn public_get_tickers_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_tickers_symbol".to_string()), optional_args).await
}
pub async fn public_get_l2orderbook_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_l2orderbook_symbol".to_string()), optional_args).await
}
pub async fn public_get_trades_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_trades_symbol".to_string()), optional_args).await
}
pub async fn public_get_stats(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_stats".to_string()), optional_args).await
}
pub async fn public_get_history_candles(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_history_candles".to_string()), optional_args).await
}
pub async fn public_get_history_sparklines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_history_sparklines".to_string()), optional_args).await
}
pub async fn public_get_settings(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_settings".to_string()), optional_args).await
}
pub async fn private_get_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders".to_string()), optional_args).await
}
pub async fn private_get_orders_order_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_order_id".to_string()), optional_args).await
}
pub async fn private_get_orders_client_order_id_client_oid(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_client_order_id_client_oid".to_string()), optional_args).await
}
pub async fn private_get_products_product_id_orders_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_products_product_id_orders_leverage".to_string()), optional_args).await
}
pub async fn private_get_positions_margined(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_positions_margined".to_string()), optional_args).await
}
pub async fn private_get_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_positions".to_string()), optional_args).await
}
pub async fn private_get_orders_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_history".to_string()), optional_args).await
}
pub async fn private_get_fills(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_fills".to_string()), optional_args).await
}
pub async fn private_get_fills_history_download_csv(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_fills_history_download_csv".to_string()), optional_args).await
}
pub async fn private_get_wallet_balances(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallet_balances".to_string()), optional_args).await
}
pub async fn private_get_wallet_transactions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallet_transactions".to_string()), optional_args).await
}
pub async fn private_get_wallet_transactions_download(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallet_transactions_download".to_string()), optional_args).await
}
pub async fn private_get_wallets_sub_accounts_transfer_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallets_sub_accounts_transfer_history".to_string()), optional_args).await
}
pub async fn private_get_users_trading_preferences(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_users_trading_preferences".to_string()), optional_args).await
}
pub async fn private_get_sub_accounts(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_sub_accounts".to_string()), optional_args).await
}
pub async fn private_get_profile(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_profile".to_string()), optional_args).await
}
pub async fn private_get_rate_limits_quota(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_rate_limits_quota".to_string()), optional_args).await
}
pub async fn private_get_heartbeat(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_heartbeat".to_string()), optional_args).await
}
pub async fn private_get_deposits_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_deposits_address".to_string()), optional_args).await
}
pub async fn private_post_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders".to_string()), optional_args).await
}
pub async fn private_post_orders_bracket(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_bracket".to_string()), optional_args).await
}
pub async fn private_post_orders_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_batch".to_string()), optional_args).await
}
pub async fn private_post_products_product_id_orders_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_products_product_id_orders_leverage".to_string()), optional_args).await
}
pub async fn private_post_positions_change_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_positions_change_margin".to_string()), optional_args).await
}
pub async fn private_post_positions_close_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_positions_close_all".to_string()), optional_args).await
}
pub async fn private_post_wallets_sub_account_balance_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_wallets_sub_account_balance_transfer".to_string()), optional_args).await
}
pub async fn private_post_heartbeat_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_heartbeat_create".to_string()), optional_args).await
}
pub async fn private_post_heartbeat(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_heartbeat".to_string()), optional_args).await
}
pub async fn private_post_orders_cancel_after(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_cancel_after".to_string()), optional_args).await
}
pub async fn private_post_orders_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_leverage".to_string()), optional_args).await
}
pub async fn private_put_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_orders".to_string()), optional_args).await
}
pub async fn private_put_orders_bracket(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_orders_bracket".to_string()), optional_args).await
}
pub async fn private_put_orders_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_orders_batch".to_string()), optional_args).await
}
pub async fn private_put_positions_auto_topup(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_positions_auto_topup".to_string()), optional_args).await
}
pub async fn private_put_users_update_mmp(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_users_update_mmp".to_string()), optional_args).await
}
pub async fn private_put_users_reset_mmp(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_users_reset_mmp".to_string()), optional_args).await
}
pub async fn private_put_users_margin_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_users_margin_mode".to_string()), optional_args).await
}
pub async fn private_delete_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_orders".to_string()), optional_args).await
}
pub async fn private_delete_orders_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_orders_all".to_string()), optional_args).await
}
pub async fn private_delete_orders_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_orders_batch".to_string()), optional_args).await
}
}