#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::bydfi::BydfiCore;
use crate::exchange::ExchangeRuntime;
impl BydfiCore {
pub async fn public_get_v1_public_api_limits(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_public_api_limits".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_exchange_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_exchange_info".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_depth".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_trades".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_klines(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_klines".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_ticker24hr".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_ticker_price".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_mark_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_mark_price".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_funding_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_funding_rate".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_funding_rate_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_funding_rate_history".to_string()), optional_args).await
}
pub async fn public_get_v1_fapi_market_risk_limit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v1_fapi_market_risk_limit".to_string()), optional_args).await
}
pub async fn private_get_v1_account_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_account_assets".to_string()), optional_args).await
}
pub async fn private_get_v1_account_transfer_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_account_transfer_records".to_string()), optional_args).await
}
pub async fn private_get_v1_spot_deposit_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_spot_deposit_records".to_string()), optional_args).await
}
pub async fn private_get_v1_spot_withdraw_records(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_spot_withdraw_records".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_open_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_open_order".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_plan_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_plan_order".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_leverage".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_history_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_history_order".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_history_trade(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_history_trade".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_position_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_position_history".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_trade_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_trade_positions".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_account_balance".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_user_data_assets_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_user_data_assets_margin".to_string()), optional_args).await
}
pub async fn private_get_v1_fapi_user_data_position_side_dual(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_fapi_user_data_position_side_dual".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_teams(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_teams".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_agent_links(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_agent_links".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_regular_overview(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_regular_overview".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_agent_sub_overview(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_agent_sub_overview".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_partener_user_deposit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_partener_user_deposit".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_partener_users_data(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_partener_users_data".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_affiliate_uids(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_affiliate_uids".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_affiliate_commission(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_affiliate_commission".to_string()), optional_args).await
}
pub async fn private_get_v1_agent_internal_withdrawal_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_v1_agent_internal_withdrawal_status".to_string()), optional_args).await
}
pub async fn private_post_v1_account_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_account_transfer".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_place_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_place_order".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_batch_place_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_batch_place_order".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_edit_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_edit_order".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_batch_edit_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_batch_edit_order".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_cancel_all_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_cancel_all_order".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_leverage".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_trade_batch_leverage_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_trade_batch_leverage_margin".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_user_data_margin_type(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_user_data_margin_type".to_string()), optional_args).await
}
pub async fn private_post_v1_fapi_user_data_position_side_dual(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_fapi_user_data_position_side_dual".to_string()), optional_args).await
}
pub async fn private_post_v1_agent_internal_withdrawal(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v1_agent_internal_withdrawal".to_string()), optional_args).await
}
}