#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::zaif::ZaifCore;
use crate::exchange::ExchangeRuntime;
impl ZaifCore {
pub async fn public_get_depth_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_depth_pair".to_string()), optional_args).await
}
pub async fn public_get_currencies_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_currencies_pair".to_string()), optional_args).await
}
pub async fn public_get_currencies_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_currencies_all".to_string()), optional_args).await
}
pub async fn public_get_currency_pairs_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_currency_pairs_pair".to_string()), optional_args).await
}
pub async fn public_get_currency_pairs_all(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_currency_pairs_all".to_string()), optional_args).await
}
pub async fn public_get_last_price_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_last_price_pair".to_string()), optional_args).await
}
pub async fn public_get_ticker_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_ticker_pair".to_string()), optional_args).await
}
pub async fn public_get_trades_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("public_get_trades_pair".to_string()), optional_args).await
}
pub async fn private_post_active_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_active_orders".to_string()), optional_args).await
}
pub async fn private_post_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_cancel_order".to_string()), optional_args).await
}
pub async fn private_post_deposit_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_deposit_history".to_string()), optional_args).await
}
pub async fn private_post_get_id_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_get_id_info".to_string()), optional_args).await
}
pub async fn private_post_get_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_get_info".to_string()), optional_args).await
}
pub async fn private_post_get_info2(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_get_info2".to_string()), optional_args).await
}
pub async fn private_post_get_personal_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_get_personal_info".to_string()), optional_args).await
}
pub async fn private_post_trade(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_trade".to_string()), optional_args).await
}
pub async fn private_post_trade_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_trade_history".to_string()), optional_args).await
}
pub async fn private_post_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_withdraw".to_string()), optional_args).await
}
pub async fn private_post_withdraw_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("private_post_withdraw_history".to_string()), optional_args).await
}
pub async fn ecapi_post_create_invoice(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("ecapi_post_create_invoice".to_string()), optional_args).await
}
pub async fn ecapi_post_get_invoice(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("ecapi_post_get_invoice".to_string()), optional_args).await
}
pub async fn ecapi_post_get_invoice_ids_by_order_number(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("ecapi_post_get_invoice_ids_by_order_number".to_string()), optional_args).await
}
pub async fn ecapi_post_cancel_invoice(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("ecapi_post_cancel_invoice".to_string()), optional_args).await
}
pub async fn tlapi_post_get_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("tlapi_post_get_positions".to_string()), optional_args).await
}
pub async fn tlapi_post_position_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("tlapi_post_position_history".to_string()), optional_args).await
}
pub async fn tlapi_post_active_positions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("tlapi_post_active_positions".to_string()), optional_args).await
}
pub async fn tlapi_post_create_position(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("tlapi_post_create_position".to_string()), optional_args).await
}
pub async fn tlapi_post_change_position(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("tlapi_post_change_position".to_string()), optional_args).await
}
pub async fn tlapi_post_cancel_position(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("tlapi_post_cancel_position".to_string()), optional_args).await
}
pub async fn fapi_get_groups_group_id(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("fapi_get_groups_group_id".to_string()), optional_args).await
}
pub async fn fapi_get_last_price_group_id_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("fapi_get_last_price_group_id_pair".to_string()), optional_args).await
}
pub async fn fapi_get_ticker_group_id_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("fapi_get_ticker_group_id_pair".to_string()), optional_args).await
}
pub async fn fapi_get_trades_group_id_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("fapi_get_trades_group_id_pair".to_string()), optional_args).await
}
pub async fn fapi_get_depth_group_id_pair(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("fapi_get_depth_group_id_pair".to_string()), optional_args).await
}
}