#![allow(non_snake_case, unused, dead_code, clippy::all)]
use crate::Value;
use super::lbank::LbankCore;
use crate::exchange::ExchangeRuntime;
impl LbankCore {
pub async fn spot_public_get_currency_pairs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_currency_pairs".into()), optional_args).await
}
pub async fn spot_public_get_accuracy(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_accuracy".into()), optional_args).await
}
pub async fn spot_public_get_usd_to_cny(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_usd_to_cny".into()), optional_args).await
}
pub async fn spot_public_get_asset_configs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_asset_configs".into()), optional_args).await
}
pub async fn spot_public_get_withdraw_configs(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_withdraw_configs".into()), optional_args).await
}
pub async fn spot_public_get_timestamp(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_timestamp".into()), optional_args).await
}
pub async fn spot_public_get_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_ticker24hr".into()), optional_args).await
}
pub async fn spot_public_get_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_ticker".into()), optional_args).await
}
pub async fn spot_public_get_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_depth".into()), optional_args).await
}
pub async fn spot_public_get_incr_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_incr_depth".into()), optional_args).await
}
pub async fn spot_public_get_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_trades".into()), optional_args).await
}
pub async fn spot_public_get_kline(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_kline".into()), optional_args).await
}
pub async fn spot_public_get_supplement_system_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_supplement_system_ping".into()), optional_args).await
}
pub async fn spot_public_get_supplement_incr_depth(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_supplement_incr_depth".into()), optional_args).await
}
pub async fn spot_public_get_supplement_trades(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_supplement_trades".into()), optional_args).await
}
pub async fn spot_public_get_supplement_ticker_price(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_supplement_ticker_price".into()), optional_args).await
}
pub async fn spot_public_get_supplement_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_get_supplement_ticker_book_ticker".into()), optional_args).await
}
pub async fn spot_public_post_supplement_system_status(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_public_post_supplement_system_status".into()), optional_args).await
}
pub async fn spot_private_post_user_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_user_info".into()), optional_args).await
}
pub async fn spot_private_post_subscribe_get_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_subscribe_get_key".into()), optional_args).await
}
pub async fn spot_private_post_subscribe_refresh_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_subscribe_refresh_key".into()), optional_args).await
}
pub async fn spot_private_post_subscribe_destroy_key(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_subscribe_destroy_key".into()), optional_args).await
}
pub async fn spot_private_post_get_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_get_deposit_address".into()), optional_args).await
}
pub async fn spot_private_post_deposit_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_deposit_history".into()), optional_args).await
}
pub async fn spot_private_post_create_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_create_order".into()), optional_args).await
}
pub async fn spot_private_post_batch_create_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_batch_create_order".into()), optional_args).await
}
pub async fn spot_private_post_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_cancel_order".into()), optional_args).await
}
pub async fn spot_private_post_cancel_client_orders(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_cancel_client_orders".into()), optional_args).await
}
pub async fn spot_private_post_orders_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_orders_info".into()), optional_args).await
}
pub async fn spot_private_post_orders_info_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_orders_info_history".into()), optional_args).await
}
pub async fn spot_private_post_order_transaction_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_order_transaction_detail".into()), optional_args).await
}
pub async fn spot_private_post_transaction_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_transaction_history".into()), optional_args).await
}
pub async fn spot_private_post_orders_info_no_deal(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_orders_info_no_deal".into()), optional_args).await
}
pub async fn spot_private_post_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_withdraw".into()), optional_args).await
}
pub async fn spot_private_post_withdraw_cancel(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_withdraw_cancel".into()), optional_args).await
}
pub async fn spot_private_post_withdraws(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_withdraws".into()), optional_args).await
}
pub async fn spot_private_post_supplement_user_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_user_info".into()), optional_args).await
}
pub async fn spot_private_post_supplement_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_withdraw".into()), optional_args).await
}
pub async fn spot_private_post_supplement_deposit_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_deposit_history".into()), optional_args).await
}
pub async fn spot_private_post_supplement_withdraws(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_withdraws".into()), optional_args).await
}
pub async fn spot_private_post_supplement_get_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_get_deposit_address".into()), optional_args).await
}
pub async fn spot_private_post_supplement_add_deposit_address(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_add_deposit_address".into()), optional_args).await
}
pub async fn spot_private_post_supplement_asset_detail(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_asset_detail".into()), optional_args).await
}
pub async fn spot_private_post_supplement_customer_trade_fee(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_customer_trade_fee".into()), optional_args).await
}
pub async fn spot_private_post_supplement_api_restrictions(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_api_restrictions".into()), optional_args).await
}
pub async fn spot_private_post_supplement_system_ping(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_system_ping".into()), optional_args).await
}
pub async fn spot_private_post_supplement_create_order_test(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_create_order_test".into()), optional_args).await
}
pub async fn spot_private_post_supplement_create_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_create_order".into()), optional_args).await
}
pub async fn spot_private_post_supplement_cancel_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_cancel_order".into()), optional_args).await
}
pub async fn spot_private_post_supplement_cancel_order_by_symbol(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_cancel_order_by_symbol".into()), optional_args).await
}
pub async fn spot_private_post_supplement_orders_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_orders_info".into()), optional_args).await
}
pub async fn spot_private_post_supplement_orders_info_no_deal(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_orders_info_no_deal".into()), optional_args).await
}
pub async fn spot_private_post_supplement_orders_info_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_orders_info_history".into()), optional_args).await
}
pub async fn spot_private_post_supplement_user_info_account(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_user_info_account".into()), optional_args).await
}
pub async fn spot_private_post_supplement_transaction_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_supplement_transaction_history".into()), optional_args).await
}
pub async fn spot_private_post_spot_wallet_withdraw(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_spot_wallet_withdraw".into()), optional_args).await
}
pub async fn spot_private_post_spot_wallet_deposit_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_spot_wallet_deposit_history".into()), optional_args).await
}
pub async fn spot_private_post_spot_wallet_withdraws(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_spot_wallet_withdraws".into()), optional_args).await
}
pub async fn spot_private_post_spot_trade_orders_info(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_spot_trade_orders_info".into()), optional_args).await
}
pub async fn spot_private_post_spot_trade_orders_info_history(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("spot_private_post_spot_trade_orders_info_history".into()), optional_args).await
}
pub async fn contract_public_get_cfd_open_api_v1_pub_get_time(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_get_time".into()), optional_args).await
}
pub async fn contract_public_get_cfd_open_api_v1_pub_instrument(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_instrument".into()), optional_args).await
}
pub async fn contract_public_get_cfd_open_api_v1_pub_market_data(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_market_data".into()), optional_args).await
}
pub async fn contract_public_get_cfd_open_api_v1_pub_market_order(&mut self, optional_args: &[Value]) -> Value {
self.call_method(Value::Str("contract_public_get_cfd_open_api_v1_pub_market_order".into()), optional_args).await
}
}