#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::digifinex::DigifinexCore;
use crate::exchange::ExchangeRuntime;
impl DigifinexCore {
pub async fn public_spot_get_market_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_market_symbols".to_string()), optional_args).await
}
pub async fn public_spot_get_kline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_kline".to_string()), optional_args).await
}
pub async fn public_spot_get_margin_currencies(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_margin_currencies".to_string()), optional_args).await
}
pub async fn public_spot_get_margin_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_margin_symbols".to_string()), optional_args).await
}
pub async fn public_spot_get_markets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_markets".to_string()), optional_args).await
}
pub async fn public_spot_get_order_book(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_order_book".to_string()), optional_args).await
}
pub async fn public_spot_get_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_ping".to_string()), optional_args).await
}
pub async fn public_spot_get_spot_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_spot_symbols".to_string()), optional_args).await
}
pub async fn public_spot_get_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_time".to_string()), optional_args).await
}
pub async fn public_spot_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_trades".to_string()), optional_args).await
}
pub async fn public_spot_get_trades_symbols(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_trades_symbols".to_string()), optional_args).await
}
pub async fn public_spot_get_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_ticker".to_string()), optional_args).await
}
pub async fn public_spot_get_currencies(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_spot_get_currencies".to_string()), optional_args).await
}
pub async fn public_swap_get_public_api_weight(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_api_weight".to_string()), optional_args).await
}
pub async fn public_swap_get_public_candles(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_candles".to_string()), optional_args).await
}
pub async fn public_swap_get_public_candles_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_candles_history".to_string()), optional_args).await
}
pub async fn public_swap_get_public_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_depth".to_string()), optional_args).await
}
pub async fn public_swap_get_public_funding_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_funding_rate".to_string()), optional_args).await
}
pub async fn public_swap_get_public_funding_rate_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_funding_rate_history".to_string()), optional_args).await
}
pub async fn public_swap_get_public_instrument(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_instrument".to_string()), optional_args).await
}
pub async fn public_swap_get_public_instruments(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_instruments".to_string()), optional_args).await
}
pub async fn public_swap_get_public_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_ticker".to_string()), optional_args).await
}
pub async fn public_swap_get_public_tickers(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_tickers".to_string()), optional_args).await
}
pub async fn public_swap_get_public_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_time".to_string()), optional_args).await
}
pub async fn public_swap_get_public_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_swap_get_public_trades".to_string()), optional_args).await
}
pub async fn private_spot_get_market_financelog(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_market_financelog".to_string()), optional_args).await
}
pub async fn private_spot_get_market_mytrades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_market_mytrades".to_string()), optional_args).await
}
pub async fn private_spot_get_market_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_market_order".to_string()), optional_args).await
}
pub async fn private_spot_get_market_order_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_market_order_detail".to_string()), optional_args).await
}
pub async fn private_spot_get_market_order_current(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_market_order_current".to_string()), optional_args).await
}
pub async fn private_spot_get_market_order_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_market_order_history".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_assets".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_financelog(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_financelog".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_mytrades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_mytrades".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_order".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_order_current(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_order_current".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_order_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_order_history".to_string()), optional_args).await
}
pub async fn private_spot_get_margin_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_margin_positions".to_string()), optional_args).await
}
pub async fn private_spot_get_otc_financelog(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_otc_financelog".to_string()), optional_args).await
}
pub async fn private_spot_get_spot_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_spot_assets".to_string()), optional_args).await
}
pub async fn private_spot_get_spot_financelog(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_spot_financelog".to_string()), optional_args).await
}
pub async fn private_spot_get_spot_mytrades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_spot_mytrades".to_string()), optional_args).await
}
pub async fn private_spot_get_spot_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_spot_order".to_string()), optional_args).await
}
pub async fn private_spot_get_spot_order_current(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_spot_order_current".to_string()), optional_args).await
}
pub async fn private_spot_get_spot_order_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_spot_order_history".to_string()), optional_args).await
}
pub async fn private_spot_get_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_deposit_address".to_string()), optional_args).await
}
pub async fn private_spot_get_deposit_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_deposit_history".to_string()), optional_args).await
}
pub async fn private_spot_get_withdraw_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_get_withdraw_history".to_string()), optional_args).await
}
pub async fn private_spot_post_market_order_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_market_order_cancel".to_string()), optional_args).await
}
pub async fn private_spot_post_market_order_new(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_market_order_new".to_string()), optional_args).await
}
pub async fn private_spot_post_market_order_batch_new(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_market_order_batch_new".to_string()), optional_args).await
}
pub async fn private_spot_post_margin_order_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_margin_order_cancel".to_string()), optional_args).await
}
pub async fn private_spot_post_margin_order_new(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_margin_order_new".to_string()), optional_args).await
}
pub async fn private_spot_post_margin_position_close(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_margin_position_close".to_string()), optional_args).await
}
pub async fn private_spot_post_spot_order_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_spot_order_cancel".to_string()), optional_args).await
}
pub async fn private_spot_post_spot_order_new(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_spot_order_new".to_string()), optional_args).await
}
pub async fn private_spot_post_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_transfer".to_string()), optional_args).await
}
pub async fn private_spot_post_withdraw_new(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_withdraw_new".to_string()), optional_args).await
}
pub async fn private_spot_post_withdraw_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_spot_post_withdraw_cancel".to_string()), optional_args).await
}
pub async fn private_swap_get_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_account_balance".to_string()), optional_args).await
}
pub async fn private_swap_get_account_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_account_positions".to_string()), optional_args).await
}
pub async fn private_swap_get_account_finance_record(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_account_finance_record".to_string()), optional_args).await
}
pub async fn private_swap_get_account_trading_fee_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_account_trading_fee_rate".to_string()), optional_args).await
}
pub async fn private_swap_get_account_transfer_record(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_account_transfer_record".to_string()), optional_args).await
}
pub async fn private_swap_get_account_funding_fee(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_account_funding_fee".to_string()), optional_args).await
}
pub async fn private_swap_get_trade_history_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_trade_history_orders".to_string()), optional_args).await
}
pub async fn private_swap_get_trade_history_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_trade_history_trades".to_string()), optional_args).await
}
pub async fn private_swap_get_trade_open_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_trade_open_orders".to_string()), optional_args).await
}
pub async fn private_swap_get_trade_order_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_get_trade_order_info".to_string()), optional_args).await
}
pub async fn private_swap_post_account_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_account_transfer".to_string()), optional_args).await
}
pub async fn private_swap_post_account_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_account_leverage".to_string()), optional_args).await
}
pub async fn private_swap_post_account_position_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_account_position_mode".to_string()), optional_args).await
}
pub async fn private_swap_post_account_position_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_account_position_margin".to_string()), optional_args).await
}
pub async fn private_swap_post_trade_batch_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_trade_batch_cancel_order".to_string()), optional_args).await
}
pub async fn private_swap_post_trade_batch_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_trade_batch_order".to_string()), optional_args).await
}
pub async fn private_swap_post_trade_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_trade_cancel_order".to_string()), optional_args).await
}
pub async fn private_swap_post_trade_order_place(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_trade_order_place".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_sponsor_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_sponsor_order".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_close_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_close_order".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_cancel_order".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_user_center_current(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_user_center_current".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_user_center_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_user_center_history".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_expert_current_open_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_expert_current_open_order".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_add_algo(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_add_algo".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_cancel_algo(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_cancel_algo".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_account_available(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_account_available".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_plan_task(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_plan_task".to_string()), optional_args).await
}
pub async fn private_swap_post_follow_instrument_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_swap_post_follow_instrument_list".to_string()), optional_args).await
}
}