ccxt-base 4.5.78

CCXT – CryptoCurrency eXchange Trading Library (Rust) – untyped engine (runtime, Value, REST/prediction Cores, WS infra)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
// -------------------------------------------------------------------------------

// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code

// -------------------------------------------------------------------------------

#![allow(non_snake_case, unused, dead_code, clippy::all)]

use crate::Value;
use super::toobit::ToobitCore;
use crate::exchange::ExchangeRuntime;

impl ToobitCore {
    /// Auto-generated wrapper for the `commonGetApiV1Time` implicit endpoint.
    pub async fn common_get_api_v1_time(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_api_v1_time".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetApiV1Ping` implicit endpoint.
    pub async fn common_get_api_v1_ping(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_api_v1_ping".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetApiV1ExchangeInfo` implicit endpoint.
    pub async fn common_get_api_v1_exchange_info(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_api_v1_exchange_info".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1Depth` implicit endpoint.
    pub async fn common_get_quote_v1_depth(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_depth".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1DepthMerged` implicit endpoint.
    pub async fn common_get_quote_v1_depth_merged(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_depth_merged".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1Trades` implicit endpoint.
    pub async fn common_get_quote_v1_trades(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_trades".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1Klines` implicit endpoint.
    pub async fn common_get_quote_v1_klines(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_klines".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1IndexKlines` implicit endpoint.
    pub async fn common_get_quote_v1_index_klines(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_index_klines".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1IndexPriceComponents` implicit endpoint.
    pub async fn common_get_quote_v1_index_price_components(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_index_price_components".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1MarkPriceKlines` implicit endpoint.
    pub async fn common_get_quote_v1_mark_price_klines(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_mark_price_klines".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1MarkPrice` implicit endpoint.
    pub async fn common_get_quote_v1_mark_price(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_mark_price".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1Index` implicit endpoint.
    pub async fn common_get_quote_v1_index(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_index".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1Ticker24hr` implicit endpoint.
    pub async fn common_get_quote_v1_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_ticker24hr".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1ContractTicker24hr` implicit endpoint.
    pub async fn common_get_quote_v1_contract_ticker24hr(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_contract_ticker24hr".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1TickerPrice` implicit endpoint.
    pub async fn common_get_quote_v1_ticker_price(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_ticker_price".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1ContractTickerPrice` implicit endpoint.
    pub async fn common_get_quote_v1_contract_ticker_price(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_contract_ticker_price".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1TickerBookTicker` implicit endpoint.
    pub async fn common_get_quote_v1_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_ticker_book_ticker".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetQuoteV1ContractTickerBookTicker` implicit endpoint.
    pub async fn common_get_quote_v1_contract_ticker_book_ticker(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_quote_v1_contract_ticker_book_ticker".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetApiV1FuturesFundingRate` implicit endpoint.
    pub async fn common_get_api_v1_futures_funding_rate(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_api_v1_futures_funding_rate".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetApiV1FuturesHistoryFundingRate` implicit endpoint.
    pub async fn common_get_api_v1_futures_history_funding_rate(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_api_v1_futures_history_funding_rate".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `commonGetApiV1FuturesRiskLimits` implicit endpoint.
    pub async fn common_get_api_v1_futures_risk_limits(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("common_get_api_v1_futures_risk_limits".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1Account` implicit endpoint.
    pub async fn private_get_api_v1_account(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountCheckApiKey` implicit endpoint.
    pub async fn private_get_api_v1_account_check_api_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_check_api_key".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1SpotOrder` implicit endpoint.
    pub async fn private_get_api_v1_spot_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_spot_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1SpotOpenOrders` implicit endpoint.
    pub async fn private_get_api_v1_spot_open_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_spot_open_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesOpenOrders` implicit endpoint.
    pub async fn private_get_api_v1_futures_open_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_open_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1SpotTradeOrders` implicit endpoint.
    pub async fn private_get_api_v1_spot_trade_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_spot_trade_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesHistoryOrders` implicit endpoint.
    pub async fn private_get_api_v1_futures_history_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_history_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountTrades` implicit endpoint.
    pub async fn private_get_api_v1_account_trades(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_trades".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountBalanceFlow` implicit endpoint.
    pub async fn private_get_api_v1_account_balance_flow(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_balance_flow".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountDepositOrders` implicit endpoint.
    pub async fn private_get_api_v1_account_deposit_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_deposit_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountWithdrawOrders` implicit endpoint.
    pub async fn private_get_api_v1_account_withdraw_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_withdraw_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountDepositAddress` implicit endpoint.
    pub async fn private_get_api_v1_account_deposit_address(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_deposit_address".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1SubAccount` implicit endpoint.
    pub async fn private_get_api_v1_sub_account(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_sub_account".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountSubAccount` implicit endpoint.
    pub async fn private_get_api_v1_account_sub_account(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_sub_account".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1SubAccountList` implicit endpoint.
    pub async fn private_get_api_v1_sub_account_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_sub_account_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesAccountLeverage` implicit endpoint.
    pub async fn private_get_api_v1_futures_account_leverage(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_account_leverage".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesOrder` implicit endpoint.
    pub async fn private_get_api_v1_futures_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesPositions` implicit endpoint.
    pub async fn private_get_api_v1_futures_positions(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_positions".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesHistoryPositions` implicit endpoint.
    pub async fn private_get_api_v1_futures_history_positions(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_history_positions".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesBalance` implicit endpoint.
    pub async fn private_get_api_v1_futures_balance(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_balance".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesUserTrades` implicit endpoint.
    pub async fn private_get_api_v1_futures_user_trades(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_user_trades".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesBalanceFlow` implicit endpoint.
    pub async fn private_get_api_v1_futures_balance_flow(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_balance_flow".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesCommissionRate` implicit endpoint.
    pub async fn private_get_api_v1_futures_commission_rate(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_commission_rate".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1FuturesTodayPnl` implicit endpoint.
    pub async fn private_get_api_v1_futures_today_pnl(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_futures_today_pnl".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AccountDownloadDetail` implicit endpoint.
    pub async fn private_get_api_v1_account_download_detail(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_account_download_detail".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentInviteUserList` implicit endpoint.
    pub async fn private_get_api_v1_agent_invite_user_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_invite_user_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentCommissionDataList` implicit endpoint.
    pub async fn private_get_api_v1_agent_commission_data_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_commission_data_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentCommissionDataInfo` implicit endpoint.
    pub async fn private_get_api_v1_agent_commission_data_info(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_commission_data_info".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentInviteRelationCheck` implicit endpoint.
    pub async fn private_get_api_v1_agent_invite_relation_check(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_invite_relation_check".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentDepositDetailList` implicit endpoint.
    pub async fn private_get_api_v1_agent_deposit_detail_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_deposit_detail_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentQuerySubAgentData` implicit endpoint.
    pub async fn private_get_api_v1_agent_query_sub_agent_data(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_query_sub_agent_data".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentSpotOrdersList` implicit endpoint.
    pub async fn private_get_api_v1_agent_spot_orders_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_spot_orders_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentFuturesOrdersList` implicit endpoint.
    pub async fn private_get_api_v1_agent_futures_orders_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_futures_orders_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentFuturesPositionsList` implicit endpoint.
    pub async fn private_get_api_v1_agent_futures_positions_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_futures_positions_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentInviteCommissionDetail` implicit endpoint.
    pub async fn private_get_api_v1_agent_invite_commission_detail(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_invite_commission_detail".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentUserExport` implicit endpoint.
    pub async fn private_get_api_v1_agent_user_export(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_user_export".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentExportList` implicit endpoint.
    pub async fn private_get_api_v1_agent_export_list(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_export_list".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetApiV1AgentExportUrl` implicit endpoint.
    pub async fn private_get_api_v1_agent_export_url(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_api_v1_agent_export_url".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1SpotOrderTest` implicit endpoint.
    pub async fn private_post_api_v1_spot_order_test(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_spot_order_test".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1SpotOrder` implicit endpoint.
    pub async fn private_post_api_v1_spot_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_spot_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesOrder` implicit endpoint.
    pub async fn private_post_api_v1_futures_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1SpotBatchOrders` implicit endpoint.
    pub async fn private_post_api_v1_spot_batch_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_spot_batch_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1SubAccountTransfer` implicit endpoint.
    pub async fn private_post_api_v1_sub_account_transfer(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_sub_account_transfer".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1AccountWithdraw` implicit endpoint.
    pub async fn private_post_api_v1_account_withdraw(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_account_withdraw".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesMarginType` implicit endpoint.
    pub async fn private_post_api_v1_futures_margin_type(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_margin_type".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesLeverage` implicit endpoint.
    pub async fn private_post_api_v1_futures_leverage(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_leverage".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesBatchOrders` implicit endpoint.
    pub async fn private_post_api_v1_futures_batch_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_batch_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesPositionTradingStop` implicit endpoint.
    pub async fn private_post_api_v1_futures_position_trading_stop(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_position_trading_stop".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesPositionMargin` implicit endpoint.
    pub async fn private_post_api_v1_futures_position_margin(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_position_margin".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesOrderUpdate` implicit endpoint.
    pub async fn private_post_api_v1_futures_order_update(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_order_update".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesAutoAddMargin` implicit endpoint.
    pub async fn private_post_api_v1_futures_auto_add_margin(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_auto_add_margin".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesFlashClose` implicit endpoint.
    pub async fn private_post_api_v1_futures_flash_close(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_flash_close".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1FuturesReversePosition` implicit endpoint.
    pub async fn private_post_api_v1_futures_reverse_position(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_futures_reverse_position".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1AccountDownloadApply` implicit endpoint.
    pub async fn private_post_api_v1_account_download_apply(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_account_download_apply".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1UserDataStream` implicit endpoint.
    pub async fn private_post_api_v1_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_user_data_stream".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostApiV1ListenKey` implicit endpoint.
    pub async fn private_post_api_v1_listen_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_api_v1_listen_key".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1SpotOrder` implicit endpoint.
    pub async fn private_delete_api_v1_spot_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_spot_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1FuturesOrder` implicit endpoint.
    pub async fn private_delete_api_v1_futures_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_futures_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1SpotOpenOrders` implicit endpoint.
    pub async fn private_delete_api_v1_spot_open_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_spot_open_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1FuturesBatchOrders` implicit endpoint.
    pub async fn private_delete_api_v1_futures_batch_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_futures_batch_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1SpotCancelOrderByIds` implicit endpoint.
    pub async fn private_delete_api_v1_spot_cancel_order_by_ids(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_spot_cancel_order_by_ids".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1FuturesCancelOrderByIds` implicit endpoint.
    pub async fn private_delete_api_v1_futures_cancel_order_by_ids(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_futures_cancel_order_by_ids".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1UserDataStream` implicit endpoint.
    pub async fn private_delete_api_v1_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_user_data_stream".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteApiV1ListenKey` implicit endpoint.
    pub async fn private_delete_api_v1_listen_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_api_v1_listen_key".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePutApiV1UserDataStream` implicit endpoint.
    pub async fn private_put_api_v1_user_data_stream(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_put_api_v1_user_data_stream".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePutApiV1ListenKey` implicit endpoint.
    pub async fn private_put_api_v1_listen_key(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_put_api_v1_listen_key".to_string()), optional_args).await
    }

}