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

// 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::deribit::DeribitCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}