#![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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), 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".to_string()), optional_args).await
}
}