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
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
// -------------------------------------------------------------------------------

// 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::bingx::BingxCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}