#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::bingx::BingxCore;
use crate::exchange::ExchangeRuntime;
impl BingxCore {
pub async fn fund_v1_private_get_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("fund_v1_private_get_account_balance".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_server_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_server_time".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_common_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_common_symbols".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_market_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_market_trades".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_market_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_market_depth".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_market_kline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_market_kline".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_ticker24hr".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_ticker_price".to_string()), optional_args).await
}
pub async fn spot_v1_public_get_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_public_get_ticker_book_ticker".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_trade_query(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_trade_query".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_trade_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_trade_open_orders".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_trade_history_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_trade_history_orders".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_trade_my_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_trade_my_trades".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_user_commission_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_user_commission_rate".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_account_balance".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_oco_order_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_oco_order_list".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_oco_open_order_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_oco_open_order_list".to_string()), optional_args).await
}
pub async fn spot_v1_private_get_oco_history_order_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_get_oco_history_order_list".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_order".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_cancel".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_batch_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_batch_orders".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_order_cancel_replace(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_order_cancel_replace".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_cancel_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_cancel_orders".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_cancel_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_cancel_open_orders".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_trade_cancel_all_after(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_trade_cancel_all_after".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_oco_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_oco_order".to_string()), optional_args).await
}
pub async fn spot_v1_private_post_oco_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v1_private_post_oco_cancel".to_string()), optional_args).await
}
pub async fn spot_v2_public_get_market_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v2_public_get_market_depth".to_string()), optional_args).await
}
pub async fn spot_v2_public_get_market_kline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v2_public_get_market_kline".to_string()), optional_args).await
}
pub async fn spot_v2_public_get_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v2_public_get_ticker_price".to_string()), optional_args).await
}
pub async fn spot_v3_private_get_get_asset_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v3_private_get_get_asset_transfer".to_string()), optional_args).await
}
pub async fn spot_v3_private_get_asset_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v3_private_get_asset_transfer".to_string()), optional_args).await
}
pub async fn spot_v3_private_get_capital_deposit_hisrec(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v3_private_get_capital_deposit_hisrec".to_string()), optional_args).await
}
pub async fn spot_v3_private_get_capital_withdraw_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v3_private_get_capital_withdraw_history".to_string()), optional_args).await
}
pub async fn spot_v3_private_post_post_asset_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_v3_private_post_post_asset_transfer".to_string()), optional_args).await
}
pub async fn swap_v1_public_get_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_public_get_ticker_price".to_string()), optional_args).await
}
pub async fn swap_v1_public_get_market_historical_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_public_get_market_historical_trades".to_string()), optional_args).await
}
pub async fn swap_v1_public_get_market_mark_price_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_public_get_market_mark_price_klines".to_string()), optional_args).await
}
pub async fn swap_v1_public_get_trade_multi_assets_rules(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_public_get_trade_multi_assets_rules".to_string()), optional_args).await
}
pub async fn swap_v1_public_get_trading_rules(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_public_get_trading_rules".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_position_side_dual(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_position_side_dual".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_trade_batch_cancel_replace(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_trade_batch_cancel_replace".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_trade_full_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_trade_full_order".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_maint_margin_ratio(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_maint_margin_ratio".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_trade_position_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_trade_position_history".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_position_margin_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_position_margin_history".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_twap_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_twap_open_orders".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_twap_history_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_twap_history_orders".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_twap_order_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_twap_order_detail".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_trade_asset_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_trade_asset_mode".to_string()), optional_args).await
}
pub async fn swap_v1_private_get_user_margin_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_get_user_margin_assets".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_amend(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_amend".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_cancel_replace(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_cancel_replace".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_position_side_dual(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_position_side_dual".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_batch_cancel_replace(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_batch_cancel_replace".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_close_position(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_close_position".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_get_vst(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_get_vst".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_twap_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_twap_order".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_twap_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_twap_cancel_order".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_asset_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_asset_mode".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_reverse(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_reverse".to_string()), optional_args).await
}
pub async fn swap_v1_private_post_trade_auto_add_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v1_private_post_trade_auto_add_margin".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_server_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_server_time".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_contracts(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_contracts".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_price".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_depth".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_trades".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_premium_index(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_premium_index".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_funding_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_funding_rate".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_klines".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_open_interest(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_open_interest".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_ticker".to_string()), optional_args).await
}
pub async fn swap_v2_public_get_quote_book_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_public_get_quote_book_ticker".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_user_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_user_balance".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_user_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_user_positions".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_user_income(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_user_income".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_open_orders".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_open_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_open_order".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_order".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_margin_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_margin_type".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_leverage".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_force_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_force_orders".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_all_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_all_orders".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_all_fill_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_all_fill_orders".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_trade_fill_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_trade_fill_history".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_user_income_export(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_user_income_export".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_user_commission_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_user_commission_rate".to_string()), optional_args).await
}
pub async fn swap_v2_private_get_quote_book_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_get_quote_book_ticker".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_get_vst(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_get_vst".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_order".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_batch_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_batch_orders".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_close_all_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_close_all_positions".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_cancel_all_after(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_cancel_all_after".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_margin_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_margin_type".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_leverage".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_position_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_position_margin".to_string()), optional_args).await
}
pub async fn swap_v2_private_post_trade_order_test(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_post_trade_order_test".to_string()), optional_args).await
}
pub async fn swap_v2_private_delete_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_delete_trade_order".to_string()), optional_args).await
}
pub async fn swap_v2_private_delete_trade_batch_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_delete_trade_batch_orders".to_string()), optional_args).await
}
pub async fn swap_v2_private_delete_trade_all_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v2_private_delete_trade_all_open_orders".to_string()), optional_args).await
}
pub async fn swap_v3_public_get_quote_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v3_public_get_quote_klines".to_string()), optional_args).await
}
pub async fn swap_v3_private_get_user_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_v3_private_get_user_balance".to_string()), optional_args).await
}
pub async fn cswap_v1_public_get_market_contracts(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_public_get_market_contracts".to_string()), optional_args).await
}
pub async fn cswap_v1_public_get_market_premium_index(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_public_get_market_premium_index".to_string()), optional_args).await
}
pub async fn cswap_v1_public_get_market_open_interest(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_public_get_market_open_interest".to_string()), optional_args).await
}
pub async fn cswap_v1_public_get_market_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_public_get_market_klines".to_string()), optional_args).await
}
pub async fn cswap_v1_public_get_market_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_public_get_market_depth".to_string()), optional_args).await
}
pub async fn cswap_v1_public_get_market_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_public_get_market_ticker".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_leverage".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_force_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_force_orders".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_all_fill_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_all_fill_orders".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_open_orders".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_order_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_order_detail".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_order_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_order_history".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_trade_margin_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_trade_margin_type".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_user_commission_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_user_commission_rate".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_user_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_user_positions".to_string()), optional_args).await
}
pub async fn cswap_v1_private_get_user_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_get_user_balance".to_string()), optional_args).await
}
pub async fn cswap_v1_private_post_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_post_trade_order".to_string()), optional_args).await
}
pub async fn cswap_v1_private_post_trade_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_post_trade_leverage".to_string()), optional_args).await
}
pub async fn cswap_v1_private_post_trade_all_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_post_trade_all_open_orders".to_string()), optional_args).await
}
pub async fn cswap_v1_private_post_trade_close_all_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_post_trade_close_all_positions".to_string()), optional_args).await
}
pub async fn cswap_v1_private_post_trade_margin_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_post_trade_margin_type".to_string()), optional_args).await
}
pub async fn cswap_v1_private_post_trade_position_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_post_trade_position_margin".to_string()), optional_args).await
}
pub async fn cswap_v1_private_delete_trade_all_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_delete_trade_all_open_orders".to_string()), optional_args).await
}
pub async fn cswap_v1_private_delete_trade_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("cswap_v1_private_delete_trade_cancel_order".to_string()), optional_args).await
}
pub async fn contract_v1_private_get_all_position(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_v1_private_get_all_position".to_string()), optional_args).await
}
pub async fn contract_v1_private_get_all_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_v1_private_get_all_orders".to_string()), optional_args).await
}
pub async fn contract_v1_private_get_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_v1_private_get_balance".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_config_getall(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_config_getall".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_deposit_address".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_inner_transfer_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_inner_transfer_records".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_sub_account_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_sub_account_deposit_address".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_deposit_sub_hisrec(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_deposit_sub_hisrec".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_sub_account_inner_transfer_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_sub_account_inner_transfer_records".to_string()), optional_args).await
}
pub async fn wallets_v1_private_get_capital_deposit_risk_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_get_capital_deposit_risk_records".to_string()), optional_args).await
}
pub async fn wallets_v1_private_post_capital_withdraw_apply(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_post_capital_withdraw_apply".to_string()), optional_args).await
}
pub async fn wallets_v1_private_post_capital_inner_transfer_apply(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_post_capital_inner_transfer_apply".to_string()), optional_args).await
}
pub async fn wallets_v1_private_post_capital_sub_account_inner_transfer_apply(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_post_capital_sub_account_inner_transfer_apply".to_string()), optional_args).await
}
pub async fn wallets_v1_private_post_capital_deposit_create_sub_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("wallets_v1_private_post_capital_deposit_create_sub_address".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_get_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_get_list".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_get_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_get_assets".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_get_all_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_get_all_account_balance".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_post_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_post_create".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_post_api_key_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_post_api_key_create".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_post_api_key_edit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_post_api_key_edit".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_post_api_key_del(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_post_api_key_del".to_string()), optional_args).await
}
pub async fn sub_account_v1_private_post_update_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("sub_account_v1_private_post_update_status".to_string()), optional_args).await
}
pub async fn account_v1_private_get_uid(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_v1_private_get_uid".to_string()), optional_args).await
}
pub async fn account_v1_private_get_api_key_query(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_v1_private_get_api_key_query".to_string()), optional_args).await
}
pub async fn account_v1_private_get_account_api_permissions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_v1_private_get_account_api_permissions".to_string()), optional_args).await
}
pub async fn account_v1_private_get_account_api_restrictions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_v1_private_get_account_api_restrictions".to_string()), optional_args).await
}
pub async fn account_v1_private_get_all_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_v1_private_get_all_account_balance".to_string()), optional_args).await
}
pub async fn account_v1_private_post_inner_transfer_authorize_sub_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_v1_private_post_inner_transfer_authorize_sub_account".to_string()), optional_args).await
}
pub async fn account_transfer_v1_private_get_sub_account_asset_transfer_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_transfer_v1_private_get_sub_account_asset_transfer_history".to_string()), optional_args).await
}
pub async fn account_transfer_v1_private_post_sub_account_transfer_asset_support_coins(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_transfer_v1_private_post_sub_account_transfer_asset_support_coins".to_string()), optional_args).await
}
pub async fn account_transfer_v1_private_post_sub_account_transfer_asset(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("account_transfer_v1_private_post_sub_account_transfer_asset".to_string()), optional_args).await
}
pub async fn user_auth_private_post_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("user_auth_private_post_user_data_stream".to_string()), optional_args).await
}
pub async fn user_auth_private_put_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("user_auth_private_put_user_data_stream".to_string()), optional_args).await
}
pub async fn user_auth_private_delete_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("user_auth_private_delete_user_data_stream".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_swap_trace_current_track(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_swap_trace_current_track".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_p_futures_trader_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_p_futures_trader_detail".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_p_futures_profit_history_summarys(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_p_futures_profit_history_summarys".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_p_futures_profit_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_p_futures_profit_detail".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_p_futures_trading_pairs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_p_futures_trading_pairs".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_spot_trader_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_spot_trader_detail".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_spot_profit_history_summarys(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_spot_profit_history_summarys".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_spot_profit_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_spot_profit_detail".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_get_spot_history_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_get_spot_history_order".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_post_swap_trace_close_track_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_post_swap_trace_close_track_order".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_post_swap_trace_set_tpsl(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_post_swap_trace_set_tpsl".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_post_p_futures_set_commission(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_post_p_futures_set_commission".to_string()), optional_args).await
}
pub async fn copy_trading_v1_private_post_spot_trader_sell_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("copy_trading_v1_private_post_spot_trader_sell_order".to_string()), optional_args).await
}
pub async fn api_v3_private_get_asset_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_v3_private_get_asset_transfer".to_string()), optional_args).await
}
pub async fn api_v3_private_get_asset_transfer_record(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_v3_private_get_asset_transfer_record".to_string()), optional_args).await
}
pub async fn api_v3_private_get_capital_deposit_hisrec(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_v3_private_get_capital_deposit_hisrec".to_string()), optional_args).await
}
pub async fn api_v3_private_get_capital_withdraw_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_v3_private_get_capital_withdraw_history".to_string()), optional_args).await
}
pub async fn api_v3_private_post_post_asset_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_v3_private_post_post_asset_transfer".to_string()), optional_args).await
}
pub async fn api_asset_v1_private_post_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_asset_v1_private_post_transfer".to_string()), optional_args).await
}
pub async fn api_asset_v1_public_get_transfer_support_coins(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("api_asset_v1_public_get_transfer_support_coins".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_account_invite_account_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_account_invite_account_list".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_reward_commission_data_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_reward_commission_data_list".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_account_invite_relation_check(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_account_invite_relation_check".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_asset_deposit_detail_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_asset_deposit_detail_list".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_reward_third_commission_data_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_reward_third_commission_data_list".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_asset_partner_data(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_asset_partner_data".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_commission_data_list_referral_code(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_commission_data_list_referral_code".to_string()), optional_args).await
}
pub async fn agent_v1_private_get_account_superior_check(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("agent_v1_private_get_account_superior_check".to_string()), optional_args).await
}
}