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

// 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::derive::DeriveCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}