#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::mexc::MexcCore;
use crate::exchange::ExchangeRuntime;
impl MexcCore {
pub async fn spot_public_get_announcements(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_announcements".to_string()), optional_args).await
}
pub async fn spot_public_get_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_ping".to_string()), optional_args).await
}
pub async fn spot_public_get_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_time".to_string()), optional_args).await
}
pub async fn spot_public_get_default_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_default_symbols".to_string()), optional_args).await
}
pub async fn spot_public_get_symbol_offline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_symbol_offline".to_string()), optional_args).await
}
pub async fn spot_public_get_exchange_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_exchange_info".to_string()), optional_args).await
}
pub async fn spot_public_get_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_depth".to_string()), optional_args).await
}
pub async fn spot_public_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_trades".to_string()), optional_args).await
}
pub async fn spot_public_get_historical_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_historical_trades".to_string()), optional_args).await
}
pub async fn spot_public_get_agg_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_agg_trades".to_string()), optional_args).await
}
pub async fn spot_public_get_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_klines".to_string()), optional_args).await
}
pub async fn spot_public_get_avg_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_avg_price".to_string()), optional_args).await
}
pub async fn spot_public_get_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_ticker24hr".to_string()), optional_args).await
}
pub async fn spot_public_get_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_ticker_price".to_string()), optional_args).await
}
pub async fn spot_public_get_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_ticker_book_ticker".to_string()), optional_args).await
}
pub async fn spot_public_get_etf_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_etf_info".to_string()), optional_args).await
}
pub async fn spot_private_get_kyc_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_kyc_status".to_string()), optional_args).await
}
pub async fn spot_private_get_uid(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_uid".to_string()), optional_args).await
}
pub async fn spot_private_get_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_order".to_string()), optional_args).await
}
pub async fn spot_private_get_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_open_orders".to_string()), optional_args).await
}
pub async fn spot_private_get_all_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_all_orders".to_string()), optional_args).await
}
pub async fn spot_private_get_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_account".to_string()), optional_args).await
}
pub async fn spot_private_get_my_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_my_trades".to_string()), optional_args).await
}
pub async fn spot_private_get_strategy_group(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_strategy_group".to_string()), optional_args).await
}
pub async fn spot_private_get_strategy_group_uid(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_strategy_group_uid".to_string()), optional_args).await
}
pub async fn spot_private_get_trade_fee(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_trade_fee".to_string()), optional_args).await
}
pub async fn spot_private_get_sub_account_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_sub_account_list".to_string()), optional_args).await
}
pub async fn spot_private_get_sub_account_api_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_sub_account_api_key".to_string()), optional_args).await
}
pub async fn spot_private_get_sub_account_asset(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_sub_account_asset".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_config_getall(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_config_getall".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_deposit_hisrec(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_deposit_hisrec".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_withdraw_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_withdraw_history".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_withdraw_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_withdraw_address".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_deposit_address".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_transfer".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_transfer_tran_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_transfer_tran_id".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_transfer_internal(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_transfer_internal".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_sub_account_universal_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_sub_account_universal_transfer".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_convert(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_convert".to_string()), optional_args).await
}
pub async fn spot_private_get_capital_convert_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_capital_convert_list".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_loan(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_loan".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_all_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_all_orders".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_my_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_my_trades".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_open_orders".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_max_transferable(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_max_transferable".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_price_index(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_price_index".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_order".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_isolated_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_isolated_account".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_max_borrowable(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_max_borrowable".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_repay(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_repay".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_isolated_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_isolated_pair".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_force_liquidation_rec(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_force_liquidation_rec".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_isolated_margin_data(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_isolated_margin_data".to_string()), optional_args).await
}
pub async fn spot_private_get_margin_isolated_margin_tier(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_margin_isolated_margin_tier".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_tax_query(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_tax_query".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_detail".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_detail_kickback(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_detail_kickback".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_refer_code(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_refer_code".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_commission(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_commission".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_withdraw".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_commission_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_commission_detail".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_campaign(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_campaign".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_referral(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_referral".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_subaffiliates(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_subaffiliates".to_string()), optional_args).await
}
pub async fn spot_private_get_rebate_affiliate_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_rebate_affiliate_list".to_string()), optional_args).await
}
pub async fn spot_private_get_mx_deduct_enable(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_mx_deduct_enable".to_string()), optional_args).await
}
pub async fn spot_private_get_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_user_data_stream".to_string()), optional_args).await
}
pub async fn spot_private_get_self_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_self_symbols".to_string()), optional_args).await
}
pub async fn spot_private_get_asset_internal_transfer_record(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_get_asset_internal_transfer_record".to_string()), optional_args).await
}
pub async fn spot_private_post_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_order".to_string()), optional_args).await
}
pub async fn spot_private_post_order_test(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_order_test".to_string()), optional_args).await
}
pub async fn spot_private_post_api_key_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_api_key_info".to_string()), optional_args).await
}
pub async fn spot_private_post_sub_account_virtual_sub_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_sub_account_virtual_sub_account".to_string()), optional_args).await
}
pub async fn spot_private_post_sub_account_api_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_sub_account_api_key".to_string()), optional_args).await
}
pub async fn spot_private_post_sub_account_futures(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_sub_account_futures".to_string()), optional_args).await
}
pub async fn spot_private_post_sub_account_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_sub_account_margin".to_string()), optional_args).await
}
pub async fn spot_private_post_batch_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_batch_orders".to_string()), optional_args).await
}
pub async fn spot_private_post_strategy_group(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_strategy_group".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_withdraw_apply(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_withdraw_apply".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_withdraw".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_transfer".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_transfer_internal(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_transfer_internal".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_deposit_address".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_sub_account_universal_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_sub_account_universal_transfer".to_string()), optional_args).await
}
pub async fn spot_private_post_capital_convert(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_capital_convert".to_string()), optional_args).await
}
pub async fn spot_private_post_mx_deduct_enable(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_mx_deduct_enable".to_string()), optional_args).await
}
pub async fn spot_private_post_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_user_data_stream".to_string()), optional_args).await
}
pub async fn spot_private_put_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_put_user_data_stream".to_string()), optional_args).await
}
pub async fn spot_private_delete_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_order".to_string()), optional_args).await
}
pub async fn spot_private_delete_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_open_orders".to_string()), optional_args).await
}
pub async fn spot_private_delete_order_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_order_all".to_string()), optional_args).await
}
pub async fn spot_private_delete_sub_account_api_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_sub_account_api_key".to_string()), optional_args).await
}
pub async fn spot_private_delete_strategy_group(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_strategy_group".to_string()), optional_args).await
}
pub async fn spot_private_delete_strategy_group_uid(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_strategy_group_uid".to_string()), optional_args).await
}
pub async fn spot_private_delete_margin_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_margin_order".to_string()), optional_args).await
}
pub async fn spot_private_delete_margin_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_margin_open_orders".to_string()), optional_args).await
}
pub async fn spot_private_delete_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_user_data_stream".to_string()), optional_args).await
}
pub async fn spot_private_delete_capital_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_delete_capital_withdraw".to_string()), optional_args).await
}
pub async fn contract_public_get_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_ping".to_string()), optional_args).await
}
pub async fn contract_public_get_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_detail".to_string()), optional_args).await
}
pub async fn contract_public_get_support_currencies(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_support_currencies".to_string()), optional_args).await
}
pub async fn contract_public_get_depth_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_depth_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_depth_commits_symbol_limit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_depth_commits_symbol_limit".to_string()), optional_args).await
}
pub async fn contract_public_get_index_price_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_index_price_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_fair_price_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_fair_price_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_funding_rate_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_funding_rate_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_kline_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_kline_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_kline_index_price_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_kline_index_price_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_kline_fair_price_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_kline_fair_price_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_deals_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_deals_symbol".to_string()), optional_args).await
}
pub async fn contract_public_get_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_ticker".to_string()), optional_args).await
}
pub async fn contract_public_get_risk_reverse(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_risk_reverse".to_string()), optional_args).await
}
pub async fn contract_public_get_risk_reverse_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_risk_reverse_history".to_string()), optional_args).await
}
pub async fn contract_public_get_funding_rate_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_funding_rate_history".to_string()), optional_args).await
}
pub async fn contract_private_get_account_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_assets".to_string()), optional_args).await
}
pub async fn contract_private_get_account_asset_currency(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_asset_currency".to_string()), optional_args).await
}
pub async fn contract_private_get_account_transfer_record(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_transfer_record".to_string()), optional_args).await
}
pub async fn contract_private_get_account_profit_rate_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_profit_rate_type".to_string()), optional_args).await
}
pub async fn contract_private_get_account_asset_analysis_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_asset_analysis_type".to_string()), optional_args).await
}
pub async fn contract_private_get_account_fee_deduct_configs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_fee_deduct_configs".to_string()), optional_args).await
}
pub async fn contract_private_get_account_asset_analysis_yesterday_pnl(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_asset_analysis_yesterday_pnl".to_string()), optional_args).await
}
pub async fn contract_private_get_account_asset_analysis_today_pnl(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_asset_analysis_today_pnl".to_string()), optional_args).await
}
pub async fn contract_private_get_account_config_contract_fee_discount_config(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_config_contract_fee_discount_config".to_string()), optional_args).await
}
pub async fn contract_private_get_order_fee_details(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_fee_details".to_string()), optional_args).await
}
pub async fn contract_private_get_account_discount_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_discount_type".to_string()), optional_args).await
}
pub async fn contract_private_get_account_asset_analysis_export(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_asset_analysis_export".to_string()), optional_args).await
}
pub async fn contract_private_get_account_asset_book_order_deal_fee_total(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_asset_book_order_deal_fee_total".to_string()), optional_args).await
}
pub async fn contract_private_get_account_contract_fee_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_contract_fee_rate".to_string()), optional_args).await
}
pub async fn contract_private_get_account_contract_zero_fee_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_contract_zero_fee_rate".to_string()), optional_args).await
}
pub async fn contract_private_get_position_list_history_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_position_list_history_positions".to_string()), optional_args).await
}
pub async fn contract_private_get_position_open_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_position_open_positions".to_string()), optional_args).await
}
pub async fn contract_private_get_position_funding_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_position_funding_records".to_string()), optional_args).await
}
pub async fn contract_private_get_position_position_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_position_position_mode".to_string()), optional_args).await
}
pub async fn contract_private_get_order_list_open_orders_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_list_open_orders_symbol".to_string()), optional_args).await
}
pub async fn contract_private_get_order_list_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_list_open_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_order_list_history_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_list_history_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_order_list_order_deals_v3(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_list_order_deals_v3".to_string()), optional_args).await
}
pub async fn contract_private_get_order_external_symbol_external_oid(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_external_symbol_external_oid".to_string()), optional_args).await
}
pub async fn contract_private_get_order_get_order_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_get_order_id".to_string()), optional_args).await
}
pub async fn contract_private_get_order_batch_query(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_batch_query".to_string()), optional_args).await
}
pub async fn contract_private_get_order_deal_details_order_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_deal_details_order_id".to_string()), optional_args).await
}
pub async fn contract_private_get_order_list_order_deals(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_list_order_deals".to_string()), optional_args).await
}
pub async fn contract_private_get_order_list_close_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_order_list_close_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_planorder_list_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_planorder_list_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_stoporder_list_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_stoporder_list_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_stoporder_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_stoporder_open_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_stoporder_order_details_stop_order_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_stoporder_order_details_stop_order_id".to_string()), optional_args).await
}
pub async fn contract_private_get_account_risk_limit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_risk_limit".to_string()), optional_args).await
}
pub async fn contract_private_get_account_tiered_fee_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_tiered_fee_rate".to_string()), optional_args).await
}
pub async fn contract_private_get_position_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_position_leverage".to_string()), optional_args).await
}
pub async fn contract_private_get_account_tiered_fee_rate_v2(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_account_tiered_fee_rate_v2".to_string()), optional_args).await
}
pub async fn contract_private_get_trackorder_list_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_trackorder_list_orders".to_string()), optional_args).await
}
pub async fn contract_private_get_market_maker_self_trade_blacklist(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_market_maker_self_trade_blacklist".to_string()), optional_args).await
}
pub async fn contract_private_get_market_maker_self_trade_blacklist_search(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_get_market_maker_self_trade_blacklist_search".to_string()), optional_args).await
}
pub async fn contract_private_post_account_asset_analysis_v3(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_account_asset_analysis_v3".to_string()), optional_args).await
}
pub async fn contract_private_post_account_asset_analysis_calendar_daily_v3(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_account_asset_analysis_calendar_daily_v3".to_string()), optional_args).await
}
pub async fn contract_private_post_account_asset_analysis_calendar_monthly_v3(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_account_asset_analysis_calendar_monthly_v3".to_string()), optional_args).await
}
pub async fn contract_private_post_account_asset_analysis_recent_v3(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_account_asset_analysis_recent_v3".to_string()), optional_args).await
}
pub async fn contract_private_post_position_change_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_position_change_margin".to_string()), optional_args).await
}
pub async fn contract_private_post_position_change_auto_add_im(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_position_change_auto_add_im".to_string()), optional_args).await
}
pub async fn contract_private_post_position_change_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_position_change_leverage".to_string()), optional_args).await
}
pub async fn contract_private_post_position_change_position_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_position_change_position_mode".to_string()), optional_args).await
}
pub async fn contract_private_post_position_reverse(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_position_reverse".to_string()), optional_args).await
}
pub async fn contract_private_post_position_close_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_position_close_all".to_string()), optional_args).await
}
pub async fn contract_private_post_order_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_create".to_string()), optional_args).await
}
pub async fn contract_private_post_order_submit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_submit".to_string()), optional_args).await
}
pub async fn contract_private_post_order_submit_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_submit_batch".to_string()), optional_args).await
}
pub async fn contract_private_post_order_chase_limit_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_chase_limit_order".to_string()), optional_args).await
}
pub async fn contract_private_post_order_change_limit_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_change_limit_order".to_string()), optional_args).await
}
pub async fn contract_private_post_order_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_cancel".to_string()), optional_args).await
}
pub async fn contract_private_post_order_batch_cancel_with_external(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_batch_cancel_with_external".to_string()), optional_args).await
}
pub async fn contract_private_post_order_cancel_with_external(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_cancel_with_external".to_string()), optional_args).await
}
pub async fn contract_private_post_order_cancel_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_cancel_all".to_string()), optional_args).await
}
pub async fn contract_private_post_order_open_order_total_count(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_open_order_total_count".to_string()), optional_args).await
}
pub async fn contract_private_post_order_batch_query_with_external(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_order_batch_query_with_external".to_string()), optional_args).await
}
pub async fn contract_private_post_account_change_risk_level(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_account_change_risk_level".to_string()), optional_args).await
}
pub async fn contract_private_post_planorder_place(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_planorder_place".to_string()), optional_args).await
}
pub async fn contract_private_post_planorder_place_v2(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_planorder_place_v2".to_string()), optional_args).await
}
pub async fn contract_private_post_planorder_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_planorder_cancel".to_string()), optional_args).await
}
pub async fn contract_private_post_planorder_cancel_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_planorder_cancel_all".to_string()), optional_args).await
}
pub async fn contract_private_post_planorder_change_stop_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_planorder_change_stop_order".to_string()), optional_args).await
}
pub async fn contract_private_post_stoporder_place(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_stoporder_place".to_string()), optional_args).await
}
pub async fn contract_private_post_stoporder_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_stoporder_cancel".to_string()), optional_args).await
}
pub async fn contract_private_post_stoporder_cancel_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_stoporder_cancel_all".to_string()), optional_args).await
}
pub async fn contract_private_post_stoporder_change_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_stoporder_change_price".to_string()), optional_args).await
}
pub async fn contract_private_post_stoporder_change_plan_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_stoporder_change_plan_price".to_string()), optional_args).await
}
pub async fn contract_private_post_trackorder_place(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_trackorder_place".to_string()), optional_args).await
}
pub async fn contract_private_post_trackorder_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_trackorder_cancel".to_string()), optional_args).await
}
pub async fn contract_private_post_trackorder_change_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_trackorder_change_order".to_string()), optional_args).await
}
pub async fn contract_private_post_market_maker_self_trade_blacklist_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_market_maker_self_trade_blacklist_create".to_string()), optional_args).await
}
pub async fn contract_private_post_market_maker_self_trade_blacklist_update(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_market_maker_self_trade_blacklist_update".to_string()), optional_args).await
}
pub async fn contract_private_post_market_maker_self_trade_blacklist_delete(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_private_post_market_maker_self_trade_blacklist_delete".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_symbols".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_coin_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_coin_list".to_string()), optional_args).await
}
pub async fn spot2_public_get_common_timestamp(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_common_timestamp".to_string()), optional_args).await
}
pub async fn spot2_public_get_common_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_common_ping".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_ticker".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_depth".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_deals(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_deals".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_kline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_kline".to_string()), optional_args).await
}
pub async fn spot2_public_get_market_api_default_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_public_get_market_api_default_symbols".to_string()), optional_args).await
}
pub async fn spot2_private_get_account_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_account_info".to_string()), optional_args).await
}
pub async fn spot2_private_get_order_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_order_open_orders".to_string()), optional_args).await
}
pub async fn spot2_private_get_order_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_order_list".to_string()), optional_args).await
}
pub async fn spot2_private_get_order_query(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_order_query".to_string()), optional_args).await
}
pub async fn spot2_private_get_order_deals(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_order_deals".to_string()), optional_args).await
}
pub async fn spot2_private_get_order_deal_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_order_deal_detail".to_string()), optional_args).await
}
pub async fn spot2_private_get_asset_deposit_address_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_asset_deposit_address_list".to_string()), optional_args).await
}
pub async fn spot2_private_get_asset_deposit_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_asset_deposit_list".to_string()), optional_args).await
}
pub async fn spot2_private_get_asset_address_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_asset_address_list".to_string()), optional_args).await
}
pub async fn spot2_private_get_asset_withdraw_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_asset_withdraw_list".to_string()), optional_args).await
}
pub async fn spot2_private_get_asset_internal_transfer_record(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_asset_internal_transfer_record".to_string()), optional_args).await
}
pub async fn spot2_private_get_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_account_balance".to_string()), optional_args).await
}
pub async fn spot2_private_get_asset_internal_transfer_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_asset_internal_transfer_info".to_string()), optional_args).await
}
pub async fn spot2_private_get_market_api_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_get_market_api_symbols".to_string()), optional_args).await
}
pub async fn spot2_private_post_order_place(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_post_order_place".to_string()), optional_args).await
}
pub async fn spot2_private_post_order_place_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_post_order_place_batch".to_string()), optional_args).await
}
pub async fn spot2_private_post_order_advanced_place_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_post_order_advanced_place_batch".to_string()), optional_args).await
}
pub async fn spot2_private_post_asset_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_post_asset_withdraw".to_string()), optional_args).await
}
pub async fn spot2_private_post_asset_internal_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_post_asset_internal_transfer".to_string()), optional_args).await
}
pub async fn spot2_private_delete_order_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_delete_order_cancel".to_string()), optional_args).await
}
pub async fn spot2_private_delete_order_cancel_by_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_delete_order_cancel_by_symbol".to_string()), optional_args).await
}
pub async fn spot2_private_delete_asset_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot2_private_delete_asset_withdraw".to_string()), optional_args).await
}
pub async fn broker_private_get_sub_account_universal_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_sub_account_universal_transfer".to_string()), optional_args).await
}
pub async fn broker_private_get_sub_account_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_sub_account_list".to_string()), optional_args).await
}
pub async fn broker_private_get_sub_account_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_sub_account_status".to_string()), optional_args).await
}
pub async fn broker_private_get_sub_account_api_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_sub_account_api_key".to_string()), optional_args).await
}
pub async fn broker_private_get_capital_deposit_sub_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_capital_deposit_sub_address".to_string()), optional_args).await
}
pub async fn broker_private_get_capital_deposit_sub_hisrec(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_capital_deposit_sub_hisrec".to_string()), optional_args).await
}
pub async fn broker_private_get_capital_deposit_sub_hisrec_getall(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_capital_deposit_sub_hisrec_getall".to_string()), optional_args).await
}
pub async fn broker_private_get_rebate_tax_query(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_get_rebate_tax_query".to_string()), optional_args).await
}
pub async fn broker_private_post_sub_account_virtual_sub_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_post_sub_account_virtual_sub_account".to_string()), optional_args).await
}
pub async fn broker_private_post_sub_account_api_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_post_sub_account_api_key".to_string()), optional_args).await
}
pub async fn broker_private_post_capital_deposit_sub_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_post_capital_deposit_sub_address".to_string()), optional_args).await
}
pub async fn broker_private_post_capital_withdraw_apply(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_post_capital_withdraw_apply".to_string()), optional_args).await
}
pub async fn broker_private_post_sub_account_universal_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_post_sub_account_universal_transfer".to_string()), optional_args).await
}
pub async fn broker_private_post_sub_account_futures(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_post_sub_account_futures".to_string()), optional_args).await
}
pub async fn broker_private_delete_sub_account_api_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("broker_private_delete_sub_account_api_key".to_string()), optional_args).await
}
}