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

// 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::digifinex::DigifinexCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}