#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::poloniex::PoloniexCore;
use crate::exchange::ExchangeRuntime;
impl PoloniexCore {
pub async fn public_get_markets(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol".to_string()), optional_args).await
}
pub async fn public_get_currencies(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_currencies".to_string()), optional_args).await
}
pub async fn public_get_currencies_currency(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_currencies_currency".to_string()), optional_args).await
}
pub async fn public_get_v2_currencies(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v2_currencies".to_string()), optional_args).await
}
pub async fn public_get_v2_currencies_currency(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_v2_currencies_currency".to_string()), optional_args).await
}
pub async fn public_get_timestamp(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_timestamp".to_string()), optional_args).await
}
pub async fn public_get_markets_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_price".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_price".to_string()), optional_args).await
}
pub async fn public_get_markets_mark_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_mark_price".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_mark_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_mark_price".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_mark_price_components(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_mark_price_components".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_order_book(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_order_book".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_candles(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_candles".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_trades".to_string()), optional_args).await
}
pub async fn public_get_markets_ticker24h(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_ticker24h".to_string()), optional_args).await
}
pub async fn public_get_markets_symbol_ticker24h(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_symbol_ticker24h".to_string()), optional_args).await
}
pub async fn public_get_markets_collateral_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_collateral_info".to_string()), optional_args).await
}
pub async fn public_get_markets_currency_collateral_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_currency_collateral_info".to_string()), optional_args).await
}
pub async fn public_get_markets_borrow_rates_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_markets_borrow_rates_info".to_string()), optional_args).await
}
pub async fn private_get_accounts(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts".to_string()), optional_args).await
}
pub async fn private_get_accounts_balances(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts_balances".to_string()), optional_args).await
}
pub async fn private_get_accounts_id_balances(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts_id_balances".to_string()), optional_args).await
}
pub async fn private_get_accounts_activity(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts_activity".to_string()), optional_args).await
}
pub async fn private_get_accounts_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts_transfer".to_string()), optional_args).await
}
pub async fn private_get_accounts_transfer_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts_transfer_id".to_string()), optional_args).await
}
pub async fn private_get_feeinfo(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_feeinfo".to_string()), optional_args).await
}
pub async fn private_get_accounts_interest_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_accounts_interest_history".to_string()), optional_args).await
}
pub async fn private_get_subaccounts(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_subaccounts".to_string()), optional_args).await
}
pub async fn private_get_subaccounts_balances(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_subaccounts_balances".to_string()), optional_args).await
}
pub async fn private_get_subaccounts_id_balances(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_subaccounts_id_balances".to_string()), optional_args).await
}
pub async fn private_get_subaccounts_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_subaccounts_transfer".to_string()), optional_args).await
}
pub async fn private_get_subaccounts_transfer_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_subaccounts_transfer_id".to_string()), optional_args).await
}
pub async fn private_get_wallets_addresses(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallets_addresses".to_string()), optional_args).await
}
pub async fn private_get_wallets_addresses_currency(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallets_addresses_currency".to_string()), optional_args).await
}
pub async fn private_get_wallets_activity(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_wallets_activity".to_string()), optional_args).await
}
pub async fn private_get_margin_account_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_margin_account_margin".to_string()), optional_args).await
}
pub async fn private_get_margin_borrow_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_margin_borrow_status".to_string()), optional_args).await
}
pub async fn private_get_margin_max_size(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_margin_max_size".to_string()), optional_args).await
}
pub async fn private_get_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders".to_string()), optional_args).await
}
pub async fn private_get_orders_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_id".to_string()), optional_args).await
}
pub async fn private_get_orders_kill_switch_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_kill_switch_status".to_string()), optional_args).await
}
pub async fn private_get_smartorders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_smartorders".to_string()), optional_args).await
}
pub async fn private_get_smartorders_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_smartorders_id".to_string()), optional_args).await
}
pub async fn private_get_orders_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_history".to_string()), optional_args).await
}
pub async fn private_get_smartorders_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_smartorders_history".to_string()), optional_args).await
}
pub async fn private_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_trades".to_string()), optional_args).await
}
pub async fn private_get_orders_id_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_get_orders_id_trades".to_string()), optional_args).await
}
pub async fn private_post_accounts_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_accounts_transfer".to_string()), optional_args).await
}
pub async fn private_post_subaccounts_transfer(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_subaccounts_transfer".to_string()), optional_args).await
}
pub async fn private_post_wallets_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_wallets_address".to_string()), optional_args).await
}
pub async fn private_post_wallets_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_wallets_withdraw".to_string()), optional_args).await
}
pub async fn private_post_v2_wallets_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_v2_wallets_withdraw".to_string()), optional_args).await
}
pub async fn private_post_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders".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_orders_kill_switch(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_orders_kill_switch".to_string()), optional_args).await
}
pub async fn private_post_smartorders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_smartorders".to_string()), optional_args).await
}
pub async fn private_delete_orders_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_orders_id".to_string()), optional_args).await
}
pub async fn private_delete_orders_cancel_by_ids(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_orders_cancel_by_ids".to_string()), optional_args).await
}
pub async fn private_delete_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_orders".to_string()), optional_args).await
}
pub async fn private_delete_smartorders_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_smartorders_id".to_string()), optional_args).await
}
pub async fn private_delete_smartorders_cancel_by_ids(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_smartorders_cancel_by_ids".to_string()), optional_args).await
}
pub async fn private_delete_smartorders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_delete_smartorders".to_string()), optional_args).await
}
pub async fn private_put_orders_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_orders_id".to_string()), optional_args).await
}
pub async fn private_put_smartorders_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_put_smartorders_id".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_all_instruments(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_all_instruments".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_instruments(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_instruments".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_order_book(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_order_book".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_candles(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_candles".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_index_price_candlesticks(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_index_price_candlesticks".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_premium_index_candlesticks(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_premium_index_candlesticks".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_mark_price_candlesticks(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_mark_price_candlesticks".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_trades".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_liquidation_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_liquidation_order".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_tickers(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_tickers".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_mark_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_mark_price".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_index_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_index_price".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_index_price_components(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_index_price_components".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_funding_rate(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_funding_rate".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_open_interest(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_open_interest".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_insurance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_insurance".to_string()), optional_args).await
}
pub async fn swap_public_get_v3_market_risk_limit(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_public_get_v3_market_risk_limit".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_account_balance(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_account_balance".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_account_bills(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_account_bills".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_trade_order_opens(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_trade_order_opens".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_trade_order_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_trade_order_trades".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_trade_order_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_trade_order_history".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_trade_position_opens(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_trade_position_opens".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_trade_position_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_trade_position_history".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_position_leverages(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_position_leverages".to_string()), optional_args).await
}
pub async fn swap_private_get_v3_position_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_get_v3_position_mode".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_trade_order".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_trade_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_trade_orders".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_trade_position(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_trade_position".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_trade_position_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_trade_position_all".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_position_leverage(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_position_leverage".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_position_mode(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_position_mode".to_string()), optional_args).await
}
pub async fn swap_private_post_v3_trade_position_margin(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_post_v3_trade_position_margin".to_string()), optional_args).await
}
pub async fn swap_private_delete_v3_trade_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_delete_v3_trade_order".to_string()), optional_args).await
}
pub async fn swap_private_delete_v3_trade_batch_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_delete_v3_trade_batch_orders".to_string()), optional_args).await
}
pub async fn swap_private_delete_v3_trade_all_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("swap_private_delete_v3_trade_all_orders".to_string()), optional_args).await
}
}