#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::pacifica::PacificaCore;
use crate::exchange::ExchangeRuntime;
impl PacificaCore {
pub async fn public_get_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_info".to_string()), optional_args).await
}
pub async fn public_get_info_fees(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_info_fees".to_string()), optional_args).await
}
pub async fn public_get_info_prices(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_info_prices".to_string()), optional_args).await
}
pub async fn public_get_kline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_kline".to_string()), optional_args).await
}
pub async fn public_get_kline_mark(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_kline_mark".to_string()), optional_args).await
}
pub async fn public_get_book(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_book".to_string()), optional_args).await
}
pub async fn public_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_trades".to_string()), optional_args).await
}
pub async fn public_get_funding_rate_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_funding_rate_history".to_string()), optional_args).await
}
pub async fn public_get_loan_pool(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_loan_pool".to_string()), optional_args).await
}
pub async fn public_get_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account".to_string()), optional_args).await
}
pub async fn public_get_account_loan(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_loan".to_string()), optional_args).await
}
pub async fn public_get_account_settings(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_settings".to_string()), optional_args).await
}
pub async fn public_get_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_positions".to_string()), optional_args).await
}
pub async fn public_get_trades_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_trades_history".to_string()), optional_args).await
}
pub async fn public_get_funding_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_funding_history".to_string()), optional_args).await
}
pub async fn public_get_portfolio(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_portfolio".to_string()), optional_args).await
}
pub async fn public_get_account_balance_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_balance_history".to_string()), optional_args).await
}
pub async fn public_get_account_spot_balance_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_spot_balance_history".to_string()), optional_args).await
}
pub async fn public_get_account_spot_asset_deposit_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_spot_asset_deposit_history".to_string()), optional_args).await
}
pub async fn public_get_account_spot_asset_withdraw_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_spot_asset_withdraw_history".to_string()), optional_args).await
}
pub async fn public_get_account_spot_asset_withdraw_pending(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_spot_asset_withdraw_pending".to_string()), optional_args).await
}
pub async fn public_get_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_orders".to_string()), optional_args).await
}
pub async fn public_get_orders_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_orders_history".to_string()), optional_args).await
}
pub async fn public_get_orders_history_by_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_orders_history_by_id".to_string()), optional_args).await
}
pub async fn public_get_spot_assets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_spot_assets".to_string()), optional_args).await
}
pub async fn public_get_spot_assets_bridge_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_spot_assets_bridge_info".to_string()), optional_args).await
}
pub async fn public_get_spot_assets_bridge_parameters_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_spot_assets_bridge_parameters_symbol".to_string()), optional_args).await
}
pub async fn public_get_lake_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_lake_list".to_string()), optional_args).await
}
pub async fn public_get_account_builder_codes_approvals(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_account_builder_codes_approvals".to_string()), optional_args).await
}
pub async fn private_post_account_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_leverage".to_string()), optional_args).await
}
pub async fn private_post_account_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_margin".to_string()), optional_args).await
}
pub async fn private_post_account_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_withdraw".to_string()), optional_args).await
}
pub async fn private_post_account_settings_auto_lend_disabled(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_settings_auto_lend_disabled".to_string()), optional_args).await
}
pub async fn private_post_account_settings_spot(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_settings_spot".to_string()), optional_args).await
}
pub async fn private_post_account_spot_asset_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_spot_asset_withdraw".to_string()), optional_args).await
}
pub async fn private_post_account_subaccount_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_subaccount_create".to_string()), optional_args).await
}
pub async fn private_post_account_subaccount_list(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_subaccount_list".to_string()), optional_args).await
}
pub async fn private_post_account_subaccount_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_subaccount_transfer".to_string()), optional_args).await
}
pub async fn private_post_account_subaccount_spot_asset_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_subaccount_spot_asset_transfer".to_string()), optional_args).await
}
pub async fn private_post_positions_add_isolated_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_positions_add_isolated_margin".to_string()), optional_args).await
}
pub async fn private_post_orders_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_create".to_string()), optional_args).await
}
pub async fn private_post_orders_create_market(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_create_market".to_string()), optional_args).await
}
pub async fn private_post_orders_stop_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_stop_create".to_string()), optional_args).await
}
pub async fn private_post_positions_tpsl(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_positions_tpsl".to_string()), optional_args).await
}
pub async fn private_post_orders_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_cancel".to_string()), optional_args).await
}
pub async fn private_post_orders_cancel_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_cancel_all".to_string()), optional_args).await
}
pub async fn private_post_orders_stop_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_stop_cancel".to_string()), optional_args).await
}
pub async fn private_post_orders_edit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_edit".to_string()), optional_args).await
}
pub async fn private_post_orders_batch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_batch".to_string()), optional_args).await
}
pub async fn private_post_account_builder_codes_approve(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_builder_codes_approve".to_string()), optional_args).await
}
pub async fn private_post_account_builder_codes_revoke(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_builder_codes_revoke".to_string()), optional_args).await
}
pub async fn private_post_agent_bind(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_agent_bind".to_string()), optional_args).await
}
pub async fn private_post_account_api_keys_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_api_keys_create".to_string()), optional_args).await
}
pub async fn private_post_account_api_keys_revoke(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_api_keys_revoke".to_string()), optional_args).await
}
pub async fn private_post_account_api_keys(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_account_api_keys".to_string()), optional_args).await
}
pub async fn private_post_lake_add_blacklist(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_add_blacklist".to_string()), optional_args).await
}
pub async fn private_post_lake_add_max_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_add_max_leverage".to_string()), optional_args).await
}
pub async fn private_post_lake_add_whitelist(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_add_whitelist".to_string()), optional_args).await
}
pub async fn private_post_lake_claim_manager(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_claim_manager".to_string()), optional_args).await
}
pub async fn private_post_lake_claim_referral_code(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_claim_referral_code".to_string()), optional_args).await
}
pub async fn private_post_lake_create(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_create".to_string()), optional_args).await
}
pub async fn private_post_lake_deposit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_deposit".to_string()), optional_args).await
}
pub async fn private_post_lake_remove_blacklist(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_remove_blacklist".to_string()), optional_args).await
}
pub async fn private_post_lake_remove_max_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_remove_max_leverage".to_string()), optional_args).await
}
pub async fn private_post_lake_remove_whitelist(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_remove_whitelist".to_string()), optional_args).await
}
pub async fn private_post_lake_update_deposit_cap(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_update_deposit_cap".to_string()), optional_args).await
}
pub async fn private_post_lake_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_lake_withdraw".to_string()), optional_args).await
}
}