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
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
// -------------------------------------------------------------------------------

// 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::cryptocom::CryptocomCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}