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

// 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::poloniex::PoloniexCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}