ccxt-base 4.5.93

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
// -------------------------------------------------------------------------------

// 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::btse::BtseCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}