crypticorn 2.4.7__py3-none-any.whl → 2.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. crypticorn/cli/init.py +7 -4
  2. crypticorn/common/__init__.py +1 -0
  3. crypticorn/common/auth.py +7 -3
  4. crypticorn/common/errors.py +21 -0
  5. crypticorn/common/exceptions.py +83 -0
  6. crypticorn/common/utils.py +11 -4
  7. crypticorn/klines/client/__init__.py +10 -3
  8. crypticorn/klines/client/api/__init__.py +1 -0
  9. crypticorn/klines/client/api/change_in_timeframe_api.py +331 -0
  10. crypticorn/klines/client/api/funding_rates_api.py +13 -13
  11. crypticorn/klines/client/api/health_check_api.py +8 -8
  12. crypticorn/klines/client/api/ohlcv_data_api.py +38 -26
  13. crypticorn/klines/client/api/symbols_api.py +26 -20
  14. crypticorn/klines/client/api/udf_api.py +229 -229
  15. crypticorn/klines/client/api_client.py +8 -5
  16. crypticorn/klines/client/configuration.py +80 -37
  17. crypticorn/klines/client/models/__init__.py +9 -3
  18. crypticorn/klines/client/models/base_response_list_change_in_timeframe_response.py +123 -0
  19. crypticorn/klines/client/models/change_in_timeframe_response.py +86 -0
  20. crypticorn/klines/client/models/market_type.py +35 -0
  21. crypticorn/klines/client/models/response_get_udf_history.py +198 -0
  22. crypticorn/klines/client/rest.py +111 -159
  23. crypticorn/klines/main.py +32 -22
  24. crypticorn/metrics/main.py +39 -40
  25. crypticorn/pay/client/__init__.py +0 -3
  26. crypticorn/pay/client/api/now_payments_api.py +1 -53
  27. crypticorn/pay/client/models/__init__.py +0 -3
  28. crypticorn/pay/client/models/payment.py +3 -3
  29. crypticorn/pay/client/models/scope.py +6 -1
  30. crypticorn/trade/client/__init__.py +8 -6
  31. crypticorn/trade/client/api/__init__.py +0 -1
  32. crypticorn/trade/client/api/api_keys_api.py +167 -273
  33. crypticorn/trade/client/api/bots_api.py +140 -226
  34. crypticorn/trade/client/api/exchanges_api.py +31 -51
  35. crypticorn/trade/client/api/futures_trading_panel_api.py +169 -272
  36. crypticorn/trade/client/api/notifications_api.py +200 -323
  37. crypticorn/trade/client/api/orders_api.py +40 -60
  38. crypticorn/trade/client/api/status_api.py +31 -49
  39. crypticorn/trade/client/api/strategies_api.py +137 -223
  40. crypticorn/trade/client/api/trading_actions_api.py +106 -170
  41. crypticorn/trade/client/api_client.py +111 -153
  42. crypticorn/trade/client/api_response.py +2 -3
  43. crypticorn/trade/client/configuration.py +128 -115
  44. crypticorn/trade/client/exceptions.py +25 -21
  45. crypticorn/trade/client/models/__init__.py +8 -6
  46. crypticorn/trade/client/models/action_model.py +108 -54
  47. crypticorn/trade/client/models/api_error_identifier.py +76 -72
  48. crypticorn/trade/client/models/api_error_level.py +9 -11
  49. crypticorn/trade/client/models/api_error_type.py +9 -11
  50. crypticorn/trade/client/models/bot_model.py +57 -36
  51. crypticorn/trade/client/models/bot_status.py +9 -11
  52. crypticorn/trade/client/models/exchange.py +7 -9
  53. crypticorn/trade/client/models/exchange_key_model.py +43 -32
  54. crypticorn/trade/client/models/execution_ids.py +18 -18
  55. crypticorn/trade/client/models/futures_balance.py +43 -27
  56. crypticorn/trade/client/models/futures_trading_action.py +102 -50
  57. crypticorn/trade/client/models/http_validation_error.py +19 -15
  58. crypticorn/trade/client/models/margin_mode.py +7 -9
  59. crypticorn/trade/client/models/market_type.py +7 -9
  60. crypticorn/trade/client/models/notification_model.py +52 -32
  61. crypticorn/trade/client/models/order_model.py +112 -72
  62. crypticorn/trade/client/models/order_status.py +10 -12
  63. crypticorn/trade/client/models/post_futures_action.py +20 -16
  64. crypticorn/trade/client/models/strategy_exchange_info.py +15 -16
  65. crypticorn/trade/client/models/strategy_model_input.py +61 -33
  66. crypticorn/trade/client/models/strategy_model_output.py +61 -33
  67. crypticorn/trade/client/models/tpsl.py +39 -25
  68. crypticorn/trade/client/models/trading_action_type.py +9 -11
  69. crypticorn/trade/client/models/validation_error.py +24 -18
  70. crypticorn/trade/client/models/validation_error_loc_inner.py +37 -16
  71. crypticorn/trade/client/rest.py +23 -38
  72. {crypticorn-2.4.7.dist-info → crypticorn-2.5.0.dist-info}/METADATA +1 -1
  73. {crypticorn-2.4.7.dist-info → crypticorn-2.5.0.dist-info}/RECORD +76 -70
  74. {crypticorn-2.4.7.dist-info → crypticorn-2.5.0.dist-info}/WHEEL +1 -1
  75. {crypticorn-2.4.7.dist-info → crypticorn-2.5.0.dist-info}/entry_points.txt +0 -0
  76. {crypticorn-2.4.7.dist-info → crypticorn-2.5.0.dist-info}/top_level.txt +0 -0
@@ -19,8 +19,8 @@ from typing_extensions import Annotated
19
19
  from pydantic import StrictInt, StrictStr
20
20
  from typing import Any, List, Optional
21
21
  from crypticorn.klines.client.models.resolution import Resolution
22
- from crypticorn.klines.client.models.response_get_history_udf_history_get import (
23
- ResponseGetHistoryUdfHistoryGet,
22
+ from crypticorn.klines.client.models.response_get_udf_history import (
23
+ ResponseGetUdfHistory,
24
24
  )
25
25
  from crypticorn.klines.client.models.search_symbol_response import SearchSymbolResponse
26
26
  from crypticorn.klines.client.models.symbol_group_response import SymbolGroupResponse
@@ -45,7 +45,7 @@ class UDFApi:
45
45
  self.api_client = api_client
46
46
 
47
47
  @validate_call
48
- def get_config_udf_config_get(
48
+ async def get_server_time(
49
49
  self,
50
50
  _request_timeout: Union[
51
51
  None,
@@ -58,8 +58,8 @@ class UDFApi:
58
58
  _content_type: Optional[StrictStr] = None,
59
59
  _headers: Optional[Dict[StrictStr, Any]] = None,
60
60
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
61
- ) -> UDFConfigResponse:
62
- """Get Config
61
+ ) -> object:
62
+ """Get Server Time
63
63
 
64
64
 
65
65
  :param _request_timeout: timeout setting for this request. If one
@@ -84,7 +84,7 @@ class UDFApi:
84
84
  :return: Returns the result object.
85
85
  """ # noqa: E501
86
86
 
87
- _param = self._get_config_udf_config_get_serialize(
87
+ _param = self._get_server_time_serialize(
88
88
  _request_auth=_request_auth,
89
89
  _content_type=_content_type,
90
90
  _headers=_headers,
@@ -92,19 +92,19 @@ class UDFApi:
92
92
  )
93
93
 
94
94
  _response_types_map: Dict[str, Optional[str]] = {
95
- "200": "UDFConfigResponse",
95
+ "200": "object",
96
96
  }
97
- response_data = self.api_client.call_api(
97
+ response_data = await self.api_client.call_api(
98
98
  *_param, _request_timeout=_request_timeout
99
99
  )
100
- response_data.read()
100
+ await response_data.read()
101
101
  return self.api_client.response_deserialize(
102
102
  response_data=response_data,
103
103
  response_types_map=_response_types_map,
104
104
  ).data
105
105
 
106
106
  @validate_call
107
- def get_config_udf_config_get_with_http_info(
107
+ async def get_server_time_with_http_info(
108
108
  self,
109
109
  _request_timeout: Union[
110
110
  None,
@@ -117,8 +117,8 @@ class UDFApi:
117
117
  _content_type: Optional[StrictStr] = None,
118
118
  _headers: Optional[Dict[StrictStr, Any]] = None,
119
119
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
120
- ) -> ApiResponse[UDFConfigResponse]:
121
- """Get Config
120
+ ) -> ApiResponse[object]:
121
+ """Get Server Time
122
122
 
123
123
 
124
124
  :param _request_timeout: timeout setting for this request. If one
@@ -143,7 +143,7 @@ class UDFApi:
143
143
  :return: Returns the result object.
144
144
  """ # noqa: E501
145
145
 
146
- _param = self._get_config_udf_config_get_serialize(
146
+ _param = self._get_server_time_serialize(
147
147
  _request_auth=_request_auth,
148
148
  _content_type=_content_type,
149
149
  _headers=_headers,
@@ -151,19 +151,19 @@ class UDFApi:
151
151
  )
152
152
 
153
153
  _response_types_map: Dict[str, Optional[str]] = {
154
- "200": "UDFConfigResponse",
154
+ "200": "object",
155
155
  }
156
- response_data = self.api_client.call_api(
156
+ response_data = await self.api_client.call_api(
157
157
  *_param, _request_timeout=_request_timeout
158
158
  )
159
- response_data.read()
159
+ await response_data.read()
160
160
  return self.api_client.response_deserialize(
161
161
  response_data=response_data,
162
162
  response_types_map=_response_types_map,
163
163
  )
164
164
 
165
165
  @validate_call
166
- def get_config_udf_config_get_without_preload_content(
166
+ async def get_server_time_without_preload_content(
167
167
  self,
168
168
  _request_timeout: Union[
169
169
  None,
@@ -177,7 +177,7 @@ class UDFApi:
177
177
  _headers: Optional[Dict[StrictStr, Any]] = None,
178
178
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
179
179
  ) -> RESTResponseType:
180
- """Get Config
180
+ """Get Server Time
181
181
 
182
182
 
183
183
  :param _request_timeout: timeout setting for this request. If one
@@ -202,7 +202,7 @@ class UDFApi:
202
202
  :return: Returns the result object.
203
203
  """ # noqa: E501
204
204
 
205
- _param = self._get_config_udf_config_get_serialize(
205
+ _param = self._get_server_time_serialize(
206
206
  _request_auth=_request_auth,
207
207
  _content_type=_content_type,
208
208
  _headers=_headers,
@@ -210,14 +210,14 @@ class UDFApi:
210
210
  )
211
211
 
212
212
  _response_types_map: Dict[str, Optional[str]] = {
213
- "200": "UDFConfigResponse",
213
+ "200": "object",
214
214
  }
215
- response_data = self.api_client.call_api(
215
+ response_data = await self.api_client.call_api(
216
216
  *_param, _request_timeout=_request_timeout
217
217
  )
218
218
  return response_data.response
219
219
 
220
- def _get_config_udf_config_get_serialize(
220
+ def _get_server_time_serialize(
221
221
  self,
222
222
  _request_auth,
223
223
  _content_type,
@@ -251,11 +251,11 @@ class UDFApi:
251
251
  )
252
252
 
253
253
  # authentication setting
254
- _auth_settings: List[str] = []
254
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
255
255
 
256
256
  return self.api_client.param_serialize(
257
257
  method="GET",
258
- resource_path="/udf/config",
258
+ resource_path="/udf/time",
259
259
  path_params=_path_params,
260
260
  query_params=_query_params,
261
261
  header_params=_header_params,
@@ -269,13 +269,9 @@ class UDFApi:
269
269
  )
270
270
 
271
271
  @validate_call
272
- def get_history_udf_history_get(
272
+ async def get_symbol(
273
273
  self,
274
274
  symbol: StrictStr,
275
- resolution: Resolution,
276
- var_from: StrictInt,
277
- to: StrictInt,
278
- countback: Optional[StrictInt] = None,
279
275
  _request_timeout: Union[
280
276
  None,
281
277
  Annotated[StrictFloat, Field(gt=0)],
@@ -287,20 +283,12 @@ class UDFApi:
287
283
  _content_type: Optional[StrictStr] = None,
288
284
  _headers: Optional[Dict[StrictStr, Any]] = None,
289
285
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
290
- ) -> ResponseGetHistoryUdfHistoryGet:
291
- """Get History
286
+ ) -> SymbolInfoResponse:
287
+ """Get Symbol
292
288
 
293
289
 
294
290
  :param symbol: (required)
295
291
  :type symbol: str
296
- :param resolution: (required)
297
- :type resolution: Resolution
298
- :param var_from: (required)
299
- :type var_from: int
300
- :param to: (required)
301
- :type to: int
302
- :param countback:
303
- :type countback: int
304
292
  :param _request_timeout: timeout setting for this request. If one
305
293
  number provided, it will be total request
306
294
  timeout. It can also be a pair (tuple) of
@@ -323,12 +311,8 @@ class UDFApi:
323
311
  :return: Returns the result object.
324
312
  """ # noqa: E501
325
313
 
326
- _param = self._get_history_udf_history_get_serialize(
314
+ _param = self._get_symbol_serialize(
327
315
  symbol=symbol,
328
- resolution=resolution,
329
- var_from=var_from,
330
- to=to,
331
- countback=countback,
332
316
  _request_auth=_request_auth,
333
317
  _content_type=_content_type,
334
318
  _headers=_headers,
@@ -336,26 +320,22 @@ class UDFApi:
336
320
  )
337
321
 
338
322
  _response_types_map: Dict[str, Optional[str]] = {
339
- "200": "ResponseGetHistoryUdfHistoryGet",
323
+ "200": "SymbolInfoResponse",
340
324
  "422": "HTTPValidationError",
341
325
  }
342
- response_data = self.api_client.call_api(
326
+ response_data = await self.api_client.call_api(
343
327
  *_param, _request_timeout=_request_timeout
344
328
  )
345
- response_data.read()
329
+ await response_data.read()
346
330
  return self.api_client.response_deserialize(
347
331
  response_data=response_data,
348
332
  response_types_map=_response_types_map,
349
333
  ).data
350
334
 
351
335
  @validate_call
352
- def get_history_udf_history_get_with_http_info(
336
+ async def get_symbol_with_http_info(
353
337
  self,
354
338
  symbol: StrictStr,
355
- resolution: Resolution,
356
- var_from: StrictInt,
357
- to: StrictInt,
358
- countback: Optional[StrictInt] = None,
359
339
  _request_timeout: Union[
360
340
  None,
361
341
  Annotated[StrictFloat, Field(gt=0)],
@@ -367,20 +347,12 @@ class UDFApi:
367
347
  _content_type: Optional[StrictStr] = None,
368
348
  _headers: Optional[Dict[StrictStr, Any]] = None,
369
349
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
370
- ) -> ApiResponse[ResponseGetHistoryUdfHistoryGet]:
371
- """Get History
350
+ ) -> ApiResponse[SymbolInfoResponse]:
351
+ """Get Symbol
372
352
 
373
353
 
374
354
  :param symbol: (required)
375
355
  :type symbol: str
376
- :param resolution: (required)
377
- :type resolution: Resolution
378
- :param var_from: (required)
379
- :type var_from: int
380
- :param to: (required)
381
- :type to: int
382
- :param countback:
383
- :type countback: int
384
356
  :param _request_timeout: timeout setting for this request. If one
385
357
  number provided, it will be total request
386
358
  timeout. It can also be a pair (tuple) of
@@ -403,12 +375,8 @@ class UDFApi:
403
375
  :return: Returns the result object.
404
376
  """ # noqa: E501
405
377
 
406
- _param = self._get_history_udf_history_get_serialize(
378
+ _param = self._get_symbol_serialize(
407
379
  symbol=symbol,
408
- resolution=resolution,
409
- var_from=var_from,
410
- to=to,
411
- countback=countback,
412
380
  _request_auth=_request_auth,
413
381
  _content_type=_content_type,
414
382
  _headers=_headers,
@@ -416,26 +384,22 @@ class UDFApi:
416
384
  )
417
385
 
418
386
  _response_types_map: Dict[str, Optional[str]] = {
419
- "200": "ResponseGetHistoryUdfHistoryGet",
387
+ "200": "SymbolInfoResponse",
420
388
  "422": "HTTPValidationError",
421
389
  }
422
- response_data = self.api_client.call_api(
390
+ response_data = await self.api_client.call_api(
423
391
  *_param, _request_timeout=_request_timeout
424
392
  )
425
- response_data.read()
393
+ await response_data.read()
426
394
  return self.api_client.response_deserialize(
427
395
  response_data=response_data,
428
396
  response_types_map=_response_types_map,
429
397
  )
430
398
 
431
399
  @validate_call
432
- def get_history_udf_history_get_without_preload_content(
400
+ async def get_symbol_without_preload_content(
433
401
  self,
434
402
  symbol: StrictStr,
435
- resolution: Resolution,
436
- var_from: StrictInt,
437
- to: StrictInt,
438
- countback: Optional[StrictInt] = None,
439
403
  _request_timeout: Union[
440
404
  None,
441
405
  Annotated[StrictFloat, Field(gt=0)],
@@ -448,19 +412,11 @@ class UDFApi:
448
412
  _headers: Optional[Dict[StrictStr, Any]] = None,
449
413
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
450
414
  ) -> RESTResponseType:
451
- """Get History
415
+ """Get Symbol
452
416
 
453
417
 
454
418
  :param symbol: (required)
455
419
  :type symbol: str
456
- :param resolution: (required)
457
- :type resolution: Resolution
458
- :param var_from: (required)
459
- :type var_from: int
460
- :param to: (required)
461
- :type to: int
462
- :param countback:
463
- :type countback: int
464
420
  :param _request_timeout: timeout setting for this request. If one
465
421
  number provided, it will be total request
466
422
  timeout. It can also be a pair (tuple) of
@@ -483,12 +439,8 @@ class UDFApi:
483
439
  :return: Returns the result object.
484
440
  """ # noqa: E501
485
441
 
486
- _param = self._get_history_udf_history_get_serialize(
442
+ _param = self._get_symbol_serialize(
487
443
  symbol=symbol,
488
- resolution=resolution,
489
- var_from=var_from,
490
- to=to,
491
- countback=countback,
492
444
  _request_auth=_request_auth,
493
445
  _content_type=_content_type,
494
446
  _headers=_headers,
@@ -496,21 +448,17 @@ class UDFApi:
496
448
  )
497
449
 
498
450
  _response_types_map: Dict[str, Optional[str]] = {
499
- "200": "ResponseGetHistoryUdfHistoryGet",
451
+ "200": "SymbolInfoResponse",
500
452
  "422": "HTTPValidationError",
501
453
  }
502
- response_data = self.api_client.call_api(
454
+ response_data = await self.api_client.call_api(
503
455
  *_param, _request_timeout=_request_timeout
504
456
  )
505
457
  return response_data.response
506
458
 
507
- def _get_history_udf_history_get_serialize(
459
+ def _get_symbol_serialize(
508
460
  self,
509
461
  symbol,
510
- resolution,
511
- var_from,
512
- to,
513
- countback,
514
462
  _request_auth,
515
463
  _content_type,
516
464
  _headers,
@@ -536,22 +484,6 @@ class UDFApi:
536
484
 
537
485
  _query_params.append(("symbol", symbol))
538
486
 
539
- if resolution is not None:
540
-
541
- _query_params.append(("resolution", resolution.value))
542
-
543
- if var_from is not None:
544
-
545
- _query_params.append(("from", var_from))
546
-
547
- if to is not None:
548
-
549
- _query_params.append(("to", to))
550
-
551
- if countback is not None:
552
-
553
- _query_params.append(("countback", countback))
554
-
555
487
  # process the header parameters
556
488
  # process the form parameters
557
489
  # process the body parameter
@@ -563,11 +495,11 @@ class UDFApi:
563
495
  )
564
496
 
565
497
  # authentication setting
566
- _auth_settings: List[str] = []
498
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
567
499
 
568
500
  return self.api_client.param_serialize(
569
501
  method="GET",
570
- resource_path="/udf/history",
502
+ resource_path="/udf/symbols",
571
503
  path_params=_path_params,
572
504
  query_params=_query_params,
573
505
  header_params=_header_params,
@@ -581,8 +513,9 @@ class UDFApi:
581
513
  )
582
514
 
583
515
  @validate_call
584
- def get_server_time_udf_time_get(
516
+ async def get_symbol_info(
585
517
  self,
518
+ group: StrictStr,
586
519
  _request_timeout: Union[
587
520
  None,
588
521
  Annotated[StrictFloat, Field(gt=0)],
@@ -594,10 +527,13 @@ class UDFApi:
594
527
  _content_type: Optional[StrictStr] = None,
595
528
  _headers: Optional[Dict[StrictStr, Any]] = None,
596
529
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
597
- ) -> object:
598
- """Get Server Time
530
+ ) -> SymbolGroupResponse:
531
+ """Get Symbol Info
599
532
 
533
+ Handle symbol info requests for different groups
600
534
 
535
+ :param group: (required)
536
+ :type group: str
601
537
  :param _request_timeout: timeout setting for this request. If one
602
538
  number provided, it will be total request
603
539
  timeout. It can also be a pair (tuple) of
@@ -620,7 +556,8 @@ class UDFApi:
620
556
  :return: Returns the result object.
621
557
  """ # noqa: E501
622
558
 
623
- _param = self._get_server_time_udf_time_get_serialize(
559
+ _param = self._get_symbol_info_serialize(
560
+ group=group,
624
561
  _request_auth=_request_auth,
625
562
  _content_type=_content_type,
626
563
  _headers=_headers,
@@ -628,20 +565,22 @@ class UDFApi:
628
565
  )
629
566
 
630
567
  _response_types_map: Dict[str, Optional[str]] = {
631
- "200": "object",
568
+ "200": "SymbolGroupResponse",
569
+ "422": "HTTPValidationError",
632
570
  }
633
- response_data = self.api_client.call_api(
571
+ response_data = await self.api_client.call_api(
634
572
  *_param, _request_timeout=_request_timeout
635
573
  )
636
- response_data.read()
574
+ await response_data.read()
637
575
  return self.api_client.response_deserialize(
638
576
  response_data=response_data,
639
577
  response_types_map=_response_types_map,
640
578
  ).data
641
579
 
642
580
  @validate_call
643
- def get_server_time_udf_time_get_with_http_info(
581
+ async def get_symbol_info_with_http_info(
644
582
  self,
583
+ group: StrictStr,
645
584
  _request_timeout: Union[
646
585
  None,
647
586
  Annotated[StrictFloat, Field(gt=0)],
@@ -653,10 +592,13 @@ class UDFApi:
653
592
  _content_type: Optional[StrictStr] = None,
654
593
  _headers: Optional[Dict[StrictStr, Any]] = None,
655
594
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
656
- ) -> ApiResponse[object]:
657
- """Get Server Time
595
+ ) -> ApiResponse[SymbolGroupResponse]:
596
+ """Get Symbol Info
658
597
 
598
+ Handle symbol info requests for different groups
659
599
 
600
+ :param group: (required)
601
+ :type group: str
660
602
  :param _request_timeout: timeout setting for this request. If one
661
603
  number provided, it will be total request
662
604
  timeout. It can also be a pair (tuple) of
@@ -679,7 +621,8 @@ class UDFApi:
679
621
  :return: Returns the result object.
680
622
  """ # noqa: E501
681
623
 
682
- _param = self._get_server_time_udf_time_get_serialize(
624
+ _param = self._get_symbol_info_serialize(
625
+ group=group,
683
626
  _request_auth=_request_auth,
684
627
  _content_type=_content_type,
685
628
  _headers=_headers,
@@ -687,20 +630,22 @@ class UDFApi:
687
630
  )
688
631
 
689
632
  _response_types_map: Dict[str, Optional[str]] = {
690
- "200": "object",
633
+ "200": "SymbolGroupResponse",
634
+ "422": "HTTPValidationError",
691
635
  }
692
- response_data = self.api_client.call_api(
636
+ response_data = await self.api_client.call_api(
693
637
  *_param, _request_timeout=_request_timeout
694
638
  )
695
- response_data.read()
639
+ await response_data.read()
696
640
  return self.api_client.response_deserialize(
697
641
  response_data=response_data,
698
642
  response_types_map=_response_types_map,
699
643
  )
700
644
 
701
645
  @validate_call
702
- def get_server_time_udf_time_get_without_preload_content(
646
+ async def get_symbol_info_without_preload_content(
703
647
  self,
648
+ group: StrictStr,
704
649
  _request_timeout: Union[
705
650
  None,
706
651
  Annotated[StrictFloat, Field(gt=0)],
@@ -713,9 +658,12 @@ class UDFApi:
713
658
  _headers: Optional[Dict[StrictStr, Any]] = None,
714
659
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
715
660
  ) -> RESTResponseType:
716
- """Get Server Time
661
+ """Get Symbol Info
717
662
 
663
+ Handle symbol info requests for different groups
718
664
 
665
+ :param group: (required)
666
+ :type group: str
719
667
  :param _request_timeout: timeout setting for this request. If one
720
668
  number provided, it will be total request
721
669
  timeout. It can also be a pair (tuple) of
@@ -738,7 +686,8 @@ class UDFApi:
738
686
  :return: Returns the result object.
739
687
  """ # noqa: E501
740
688
 
741
- _param = self._get_server_time_udf_time_get_serialize(
689
+ _param = self._get_symbol_info_serialize(
690
+ group=group,
742
691
  _request_auth=_request_auth,
743
692
  _content_type=_content_type,
744
693
  _headers=_headers,
@@ -746,15 +695,17 @@ class UDFApi:
746
695
  )
747
696
 
748
697
  _response_types_map: Dict[str, Optional[str]] = {
749
- "200": "object",
698
+ "200": "SymbolGroupResponse",
699
+ "422": "HTTPValidationError",
750
700
  }
751
- response_data = self.api_client.call_api(
701
+ response_data = await self.api_client.call_api(
752
702
  *_param, _request_timeout=_request_timeout
753
703
  )
754
704
  return response_data.response
755
705
 
756
- def _get_server_time_udf_time_get_serialize(
706
+ def _get_symbol_info_serialize(
757
707
  self,
708
+ group,
758
709
  _request_auth,
759
710
  _content_type,
760
711
  _headers,
@@ -776,6 +727,10 @@ class UDFApi:
776
727
 
777
728
  # process the path parameters
778
729
  # process the query parameters
730
+ if group is not None:
731
+
732
+ _query_params.append(("group", group))
733
+
779
734
  # process the header parameters
780
735
  # process the form parameters
781
736
  # process the body parameter
@@ -787,11 +742,11 @@ class UDFApi:
787
742
  )
788
743
 
789
744
  # authentication setting
790
- _auth_settings: List[str] = []
745
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
791
746
 
792
747
  return self.api_client.param_serialize(
793
748
  method="GET",
794
- resource_path="/udf/time",
749
+ resource_path="/udf/symbol_info",
795
750
  path_params=_path_params,
796
751
  query_params=_query_params,
797
752
  header_params=_header_params,
@@ -805,9 +760,8 @@ class UDFApi:
805
760
  )
806
761
 
807
762
  @validate_call
808
- def get_symbol_info_udf_symbol_info_get(
763
+ async def get_udf_config(
809
764
  self,
810
- group: StrictStr,
811
765
  _request_timeout: Union[
812
766
  None,
813
767
  Annotated[StrictFloat, Field(gt=0)],
@@ -819,13 +773,10 @@ class UDFApi:
819
773
  _content_type: Optional[StrictStr] = None,
820
774
  _headers: Optional[Dict[StrictStr, Any]] = None,
821
775
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
822
- ) -> SymbolGroupResponse:
823
- """Get Symbol Info
776
+ ) -> UDFConfigResponse:
777
+ """Get Config
824
778
 
825
- Handle symbol info requests for different groups
826
779
 
827
- :param group: (required)
828
- :type group: str
829
780
  :param _request_timeout: timeout setting for this request. If one
830
781
  number provided, it will be total request
831
782
  timeout. It can also be a pair (tuple) of
@@ -848,8 +799,7 @@ class UDFApi:
848
799
  :return: Returns the result object.
849
800
  """ # noqa: E501
850
801
 
851
- _param = self._get_symbol_info_udf_symbol_info_get_serialize(
852
- group=group,
802
+ _param = self._get_udf_config_serialize(
853
803
  _request_auth=_request_auth,
854
804
  _content_type=_content_type,
855
805
  _headers=_headers,
@@ -857,22 +807,20 @@ class UDFApi:
857
807
  )
858
808
 
859
809
  _response_types_map: Dict[str, Optional[str]] = {
860
- "200": "SymbolGroupResponse",
861
- "422": "HTTPValidationError",
810
+ "200": "UDFConfigResponse",
862
811
  }
863
- response_data = self.api_client.call_api(
812
+ response_data = await self.api_client.call_api(
864
813
  *_param, _request_timeout=_request_timeout
865
814
  )
866
- response_data.read()
815
+ await response_data.read()
867
816
  return self.api_client.response_deserialize(
868
817
  response_data=response_data,
869
818
  response_types_map=_response_types_map,
870
819
  ).data
871
820
 
872
821
  @validate_call
873
- def get_symbol_info_udf_symbol_info_get_with_http_info(
822
+ async def get_udf_config_with_http_info(
874
823
  self,
875
- group: StrictStr,
876
824
  _request_timeout: Union[
877
825
  None,
878
826
  Annotated[StrictFloat, Field(gt=0)],
@@ -884,13 +832,10 @@ class UDFApi:
884
832
  _content_type: Optional[StrictStr] = None,
885
833
  _headers: Optional[Dict[StrictStr, Any]] = None,
886
834
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
887
- ) -> ApiResponse[SymbolGroupResponse]:
888
- """Get Symbol Info
835
+ ) -> ApiResponse[UDFConfigResponse]:
836
+ """Get Config
889
837
 
890
- Handle symbol info requests for different groups
891
838
 
892
- :param group: (required)
893
- :type group: str
894
839
  :param _request_timeout: timeout setting for this request. If one
895
840
  number provided, it will be total request
896
841
  timeout. It can also be a pair (tuple) of
@@ -913,8 +858,7 @@ class UDFApi:
913
858
  :return: Returns the result object.
914
859
  """ # noqa: E501
915
860
 
916
- _param = self._get_symbol_info_udf_symbol_info_get_serialize(
917
- group=group,
861
+ _param = self._get_udf_config_serialize(
918
862
  _request_auth=_request_auth,
919
863
  _content_type=_content_type,
920
864
  _headers=_headers,
@@ -922,22 +866,20 @@ class UDFApi:
922
866
  )
923
867
 
924
868
  _response_types_map: Dict[str, Optional[str]] = {
925
- "200": "SymbolGroupResponse",
926
- "422": "HTTPValidationError",
869
+ "200": "UDFConfigResponse",
927
870
  }
928
- response_data = self.api_client.call_api(
871
+ response_data = await self.api_client.call_api(
929
872
  *_param, _request_timeout=_request_timeout
930
873
  )
931
- response_data.read()
874
+ await response_data.read()
932
875
  return self.api_client.response_deserialize(
933
876
  response_data=response_data,
934
877
  response_types_map=_response_types_map,
935
878
  )
936
879
 
937
880
  @validate_call
938
- def get_symbol_info_udf_symbol_info_get_without_preload_content(
881
+ async def get_udf_config_without_preload_content(
939
882
  self,
940
- group: StrictStr,
941
883
  _request_timeout: Union[
942
884
  None,
943
885
  Annotated[StrictFloat, Field(gt=0)],
@@ -950,12 +892,9 @@ class UDFApi:
950
892
  _headers: Optional[Dict[StrictStr, Any]] = None,
951
893
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
952
894
  ) -> RESTResponseType:
953
- """Get Symbol Info
895
+ """Get Config
954
896
 
955
- Handle symbol info requests for different groups
956
897
 
957
- :param group: (required)
958
- :type group: str
959
898
  :param _request_timeout: timeout setting for this request. If one
960
899
  number provided, it will be total request
961
900
  timeout. It can also be a pair (tuple) of
@@ -978,8 +917,7 @@ class UDFApi:
978
917
  :return: Returns the result object.
979
918
  """ # noqa: E501
980
919
 
981
- _param = self._get_symbol_info_udf_symbol_info_get_serialize(
982
- group=group,
920
+ _param = self._get_udf_config_serialize(
983
921
  _request_auth=_request_auth,
984
922
  _content_type=_content_type,
985
923
  _headers=_headers,
@@ -987,17 +925,15 @@ class UDFApi:
987
925
  )
988
926
 
989
927
  _response_types_map: Dict[str, Optional[str]] = {
990
- "200": "SymbolGroupResponse",
991
- "422": "HTTPValidationError",
928
+ "200": "UDFConfigResponse",
992
929
  }
993
- response_data = self.api_client.call_api(
930
+ response_data = await self.api_client.call_api(
994
931
  *_param, _request_timeout=_request_timeout
995
932
  )
996
933
  return response_data.response
997
934
 
998
- def _get_symbol_info_udf_symbol_info_get_serialize(
935
+ def _get_udf_config_serialize(
999
936
  self,
1000
- group,
1001
937
  _request_auth,
1002
938
  _content_type,
1003
939
  _headers,
@@ -1019,10 +955,6 @@ class UDFApi:
1019
955
 
1020
956
  # process the path parameters
1021
957
  # process the query parameters
1022
- if group is not None:
1023
-
1024
- _query_params.append(("group", group))
1025
-
1026
958
  # process the header parameters
1027
959
  # process the form parameters
1028
960
  # process the body parameter
@@ -1034,11 +966,11 @@ class UDFApi:
1034
966
  )
1035
967
 
1036
968
  # authentication setting
1037
- _auth_settings: List[str] = []
969
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1038
970
 
1039
971
  return self.api_client.param_serialize(
1040
972
  method="GET",
1041
- resource_path="/udf/symbol_info",
973
+ resource_path="/udf/config",
1042
974
  path_params=_path_params,
1043
975
  query_params=_query_params,
1044
976
  header_params=_header_params,
@@ -1052,9 +984,13 @@ class UDFApi:
1052
984
  )
1053
985
 
1054
986
  @validate_call
1055
- def get_symbol_udf_symbols_get(
987
+ async def get_udf_history(
1056
988
  self,
1057
989
  symbol: StrictStr,
990
+ resolution: Resolution,
991
+ var_from: StrictInt,
992
+ to: StrictInt,
993
+ countback: Optional[StrictInt] = None,
1058
994
  _request_timeout: Union[
1059
995
  None,
1060
996
  Annotated[StrictFloat, Field(gt=0)],
@@ -1066,12 +1002,20 @@ class UDFApi:
1066
1002
  _content_type: Optional[StrictStr] = None,
1067
1003
  _headers: Optional[Dict[StrictStr, Any]] = None,
1068
1004
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1069
- ) -> SymbolInfoResponse:
1070
- """Get Symbol
1005
+ ) -> ResponseGetUdfHistory:
1006
+ """Get History
1071
1007
 
1072
1008
 
1073
1009
  :param symbol: (required)
1074
1010
  :type symbol: str
1011
+ :param resolution: (required)
1012
+ :type resolution: Resolution
1013
+ :param var_from: (required)
1014
+ :type var_from: int
1015
+ :param to: (required)
1016
+ :type to: int
1017
+ :param countback:
1018
+ :type countback: int
1075
1019
  :param _request_timeout: timeout setting for this request. If one
1076
1020
  number provided, it will be total request
1077
1021
  timeout. It can also be a pair (tuple) of
@@ -1094,8 +1038,12 @@ class UDFApi:
1094
1038
  :return: Returns the result object.
1095
1039
  """ # noqa: E501
1096
1040
 
1097
- _param = self._get_symbol_udf_symbols_get_serialize(
1041
+ _param = self._get_udf_history_serialize(
1098
1042
  symbol=symbol,
1043
+ resolution=resolution,
1044
+ var_from=var_from,
1045
+ to=to,
1046
+ countback=countback,
1099
1047
  _request_auth=_request_auth,
1100
1048
  _content_type=_content_type,
1101
1049
  _headers=_headers,
@@ -1103,22 +1051,26 @@ class UDFApi:
1103
1051
  )
1104
1052
 
1105
1053
  _response_types_map: Dict[str, Optional[str]] = {
1106
- "200": "SymbolInfoResponse",
1054
+ "200": "ResponseGetUdfHistory",
1107
1055
  "422": "HTTPValidationError",
1108
1056
  }
1109
- response_data = self.api_client.call_api(
1057
+ response_data = await self.api_client.call_api(
1110
1058
  *_param, _request_timeout=_request_timeout
1111
1059
  )
1112
- response_data.read()
1060
+ await response_data.read()
1113
1061
  return self.api_client.response_deserialize(
1114
1062
  response_data=response_data,
1115
1063
  response_types_map=_response_types_map,
1116
1064
  ).data
1117
1065
 
1118
1066
  @validate_call
1119
- def get_symbol_udf_symbols_get_with_http_info(
1067
+ async def get_udf_history_with_http_info(
1120
1068
  self,
1121
1069
  symbol: StrictStr,
1070
+ resolution: Resolution,
1071
+ var_from: StrictInt,
1072
+ to: StrictInt,
1073
+ countback: Optional[StrictInt] = None,
1122
1074
  _request_timeout: Union[
1123
1075
  None,
1124
1076
  Annotated[StrictFloat, Field(gt=0)],
@@ -1130,12 +1082,20 @@ class UDFApi:
1130
1082
  _content_type: Optional[StrictStr] = None,
1131
1083
  _headers: Optional[Dict[StrictStr, Any]] = None,
1132
1084
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1133
- ) -> ApiResponse[SymbolInfoResponse]:
1134
- """Get Symbol
1085
+ ) -> ApiResponse[ResponseGetUdfHistory]:
1086
+ """Get History
1135
1087
 
1136
1088
 
1137
1089
  :param symbol: (required)
1138
1090
  :type symbol: str
1091
+ :param resolution: (required)
1092
+ :type resolution: Resolution
1093
+ :param var_from: (required)
1094
+ :type var_from: int
1095
+ :param to: (required)
1096
+ :type to: int
1097
+ :param countback:
1098
+ :type countback: int
1139
1099
  :param _request_timeout: timeout setting for this request. If one
1140
1100
  number provided, it will be total request
1141
1101
  timeout. It can also be a pair (tuple) of
@@ -1158,8 +1118,12 @@ class UDFApi:
1158
1118
  :return: Returns the result object.
1159
1119
  """ # noqa: E501
1160
1120
 
1161
- _param = self._get_symbol_udf_symbols_get_serialize(
1121
+ _param = self._get_udf_history_serialize(
1162
1122
  symbol=symbol,
1123
+ resolution=resolution,
1124
+ var_from=var_from,
1125
+ to=to,
1126
+ countback=countback,
1163
1127
  _request_auth=_request_auth,
1164
1128
  _content_type=_content_type,
1165
1129
  _headers=_headers,
@@ -1167,22 +1131,26 @@ class UDFApi:
1167
1131
  )
1168
1132
 
1169
1133
  _response_types_map: Dict[str, Optional[str]] = {
1170
- "200": "SymbolInfoResponse",
1134
+ "200": "ResponseGetUdfHistory",
1171
1135
  "422": "HTTPValidationError",
1172
1136
  }
1173
- response_data = self.api_client.call_api(
1137
+ response_data = await self.api_client.call_api(
1174
1138
  *_param, _request_timeout=_request_timeout
1175
1139
  )
1176
- response_data.read()
1140
+ await response_data.read()
1177
1141
  return self.api_client.response_deserialize(
1178
1142
  response_data=response_data,
1179
1143
  response_types_map=_response_types_map,
1180
1144
  )
1181
1145
 
1182
1146
  @validate_call
1183
- def get_symbol_udf_symbols_get_without_preload_content(
1147
+ async def get_udf_history_without_preload_content(
1184
1148
  self,
1185
1149
  symbol: StrictStr,
1150
+ resolution: Resolution,
1151
+ var_from: StrictInt,
1152
+ to: StrictInt,
1153
+ countback: Optional[StrictInt] = None,
1186
1154
  _request_timeout: Union[
1187
1155
  None,
1188
1156
  Annotated[StrictFloat, Field(gt=0)],
@@ -1195,11 +1163,19 @@ class UDFApi:
1195
1163
  _headers: Optional[Dict[StrictStr, Any]] = None,
1196
1164
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1197
1165
  ) -> RESTResponseType:
1198
- """Get Symbol
1166
+ """Get History
1199
1167
 
1200
1168
 
1201
1169
  :param symbol: (required)
1202
1170
  :type symbol: str
1171
+ :param resolution: (required)
1172
+ :type resolution: Resolution
1173
+ :param var_from: (required)
1174
+ :type var_from: int
1175
+ :param to: (required)
1176
+ :type to: int
1177
+ :param countback:
1178
+ :type countback: int
1203
1179
  :param _request_timeout: timeout setting for this request. If one
1204
1180
  number provided, it will be total request
1205
1181
  timeout. It can also be a pair (tuple) of
@@ -1222,8 +1198,12 @@ class UDFApi:
1222
1198
  :return: Returns the result object.
1223
1199
  """ # noqa: E501
1224
1200
 
1225
- _param = self._get_symbol_udf_symbols_get_serialize(
1201
+ _param = self._get_udf_history_serialize(
1226
1202
  symbol=symbol,
1203
+ resolution=resolution,
1204
+ var_from=var_from,
1205
+ to=to,
1206
+ countback=countback,
1227
1207
  _request_auth=_request_auth,
1228
1208
  _content_type=_content_type,
1229
1209
  _headers=_headers,
@@ -1231,17 +1211,21 @@ class UDFApi:
1231
1211
  )
1232
1212
 
1233
1213
  _response_types_map: Dict[str, Optional[str]] = {
1234
- "200": "SymbolInfoResponse",
1214
+ "200": "ResponseGetUdfHistory",
1235
1215
  "422": "HTTPValidationError",
1236
1216
  }
1237
- response_data = self.api_client.call_api(
1217
+ response_data = await self.api_client.call_api(
1238
1218
  *_param, _request_timeout=_request_timeout
1239
1219
  )
1240
1220
  return response_data.response
1241
1221
 
1242
- def _get_symbol_udf_symbols_get_serialize(
1222
+ def _get_udf_history_serialize(
1243
1223
  self,
1244
1224
  symbol,
1225
+ resolution,
1226
+ var_from,
1227
+ to,
1228
+ countback,
1245
1229
  _request_auth,
1246
1230
  _content_type,
1247
1231
  _headers,
@@ -1267,6 +1251,22 @@ class UDFApi:
1267
1251
 
1268
1252
  _query_params.append(("symbol", symbol))
1269
1253
 
1254
+ if resolution is not None:
1255
+
1256
+ _query_params.append(("resolution", resolution.value))
1257
+
1258
+ if var_from is not None:
1259
+
1260
+ _query_params.append(("from", var_from))
1261
+
1262
+ if to is not None:
1263
+
1264
+ _query_params.append(("to", to))
1265
+
1266
+ if countback is not None:
1267
+
1268
+ _query_params.append(("countback", countback))
1269
+
1270
1270
  # process the header parameters
1271
1271
  # process the form parameters
1272
1272
  # process the body parameter
@@ -1278,11 +1278,11 @@ class UDFApi:
1278
1278
  )
1279
1279
 
1280
1280
  # authentication setting
1281
- _auth_settings: List[str] = []
1281
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1282
1282
 
1283
1283
  return self.api_client.param_serialize(
1284
1284
  method="GET",
1285
- resource_path="/udf/symbols",
1285
+ resource_path="/udf/history",
1286
1286
  path_params=_path_params,
1287
1287
  query_params=_query_params,
1288
1288
  header_params=_header_params,
@@ -1296,7 +1296,7 @@ class UDFApi:
1296
1296
  )
1297
1297
 
1298
1298
  @validate_call
1299
- def options_handler_udf_path_options(
1299
+ async def options_handler(
1300
1300
  self,
1301
1301
  path: StrictStr,
1302
1302
  _request_timeout: Union[
@@ -1339,7 +1339,7 @@ class UDFApi:
1339
1339
  :return: Returns the result object.
1340
1340
  """ # noqa: E501
1341
1341
 
1342
- _param = self._options_handler_udf_path_options_serialize(
1342
+ _param = self._options_handler_serialize(
1343
1343
  path=path,
1344
1344
  _request_auth=_request_auth,
1345
1345
  _content_type=_content_type,
@@ -1351,17 +1351,17 @@ class UDFApi:
1351
1351
  "200": "object",
1352
1352
  "422": "HTTPValidationError",
1353
1353
  }
1354
- response_data = self.api_client.call_api(
1354
+ response_data = await self.api_client.call_api(
1355
1355
  *_param, _request_timeout=_request_timeout
1356
1356
  )
1357
- response_data.read()
1357
+ await response_data.read()
1358
1358
  return self.api_client.response_deserialize(
1359
1359
  response_data=response_data,
1360
1360
  response_types_map=_response_types_map,
1361
1361
  ).data
1362
1362
 
1363
1363
  @validate_call
1364
- def options_handler_udf_path_options_with_http_info(
1364
+ async def options_handler_with_http_info(
1365
1365
  self,
1366
1366
  path: StrictStr,
1367
1367
  _request_timeout: Union[
@@ -1404,7 +1404,7 @@ class UDFApi:
1404
1404
  :return: Returns the result object.
1405
1405
  """ # noqa: E501
1406
1406
 
1407
- _param = self._options_handler_udf_path_options_serialize(
1407
+ _param = self._options_handler_serialize(
1408
1408
  path=path,
1409
1409
  _request_auth=_request_auth,
1410
1410
  _content_type=_content_type,
@@ -1416,17 +1416,17 @@ class UDFApi:
1416
1416
  "200": "object",
1417
1417
  "422": "HTTPValidationError",
1418
1418
  }
1419
- response_data = self.api_client.call_api(
1419
+ response_data = await self.api_client.call_api(
1420
1420
  *_param, _request_timeout=_request_timeout
1421
1421
  )
1422
- response_data.read()
1422
+ await response_data.read()
1423
1423
  return self.api_client.response_deserialize(
1424
1424
  response_data=response_data,
1425
1425
  response_types_map=_response_types_map,
1426
1426
  )
1427
1427
 
1428
1428
  @validate_call
1429
- def options_handler_udf_path_options_without_preload_content(
1429
+ async def options_handler_without_preload_content(
1430
1430
  self,
1431
1431
  path: StrictStr,
1432
1432
  _request_timeout: Union[
@@ -1469,7 +1469,7 @@ class UDFApi:
1469
1469
  :return: Returns the result object.
1470
1470
  """ # noqa: E501
1471
1471
 
1472
- _param = self._options_handler_udf_path_options_serialize(
1472
+ _param = self._options_handler_serialize(
1473
1473
  path=path,
1474
1474
  _request_auth=_request_auth,
1475
1475
  _content_type=_content_type,
@@ -1481,12 +1481,12 @@ class UDFApi:
1481
1481
  "200": "object",
1482
1482
  "422": "HTTPValidationError",
1483
1483
  }
1484
- response_data = self.api_client.call_api(
1484
+ response_data = await self.api_client.call_api(
1485
1485
  *_param, _request_timeout=_request_timeout
1486
1486
  )
1487
1487
  return response_data.response
1488
1488
 
1489
- def _options_handler_udf_path_options_serialize(
1489
+ def _options_handler_serialize(
1490
1490
  self,
1491
1491
  path,
1492
1492
  _request_auth,
@@ -1523,7 +1523,7 @@ class UDFApi:
1523
1523
  )
1524
1524
 
1525
1525
  # authentication setting
1526
- _auth_settings: List[str] = []
1526
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1527
1527
 
1528
1528
  return self.api_client.param_serialize(
1529
1529
  method="OPTIONS",
@@ -1541,7 +1541,7 @@ class UDFApi:
1541
1541
  )
1542
1542
 
1543
1543
  @validate_call
1544
- def search_symbols_udf_search_get(
1544
+ async def search_symbols(
1545
1545
  self,
1546
1546
  query: StrictStr,
1547
1547
  limit: Optional[StrictInt] = None,
@@ -1587,7 +1587,7 @@ class UDFApi:
1587
1587
  :return: Returns the result object.
1588
1588
  """ # noqa: E501
1589
1589
 
1590
- _param = self._search_symbols_udf_search_get_serialize(
1590
+ _param = self._search_symbols_serialize(
1591
1591
  query=query,
1592
1592
  limit=limit,
1593
1593
  _request_auth=_request_auth,
@@ -1600,17 +1600,17 @@ class UDFApi:
1600
1600
  "200": "List[SearchSymbolResponse]",
1601
1601
  "422": "HTTPValidationError",
1602
1602
  }
1603
- response_data = self.api_client.call_api(
1603
+ response_data = await self.api_client.call_api(
1604
1604
  *_param, _request_timeout=_request_timeout
1605
1605
  )
1606
- response_data.read()
1606
+ await response_data.read()
1607
1607
  return self.api_client.response_deserialize(
1608
1608
  response_data=response_data,
1609
1609
  response_types_map=_response_types_map,
1610
1610
  ).data
1611
1611
 
1612
1612
  @validate_call
1613
- def search_symbols_udf_search_get_with_http_info(
1613
+ async def search_symbols_with_http_info(
1614
1614
  self,
1615
1615
  query: StrictStr,
1616
1616
  limit: Optional[StrictInt] = None,
@@ -1656,7 +1656,7 @@ class UDFApi:
1656
1656
  :return: Returns the result object.
1657
1657
  """ # noqa: E501
1658
1658
 
1659
- _param = self._search_symbols_udf_search_get_serialize(
1659
+ _param = self._search_symbols_serialize(
1660
1660
  query=query,
1661
1661
  limit=limit,
1662
1662
  _request_auth=_request_auth,
@@ -1669,17 +1669,17 @@ class UDFApi:
1669
1669
  "200": "List[SearchSymbolResponse]",
1670
1670
  "422": "HTTPValidationError",
1671
1671
  }
1672
- response_data = self.api_client.call_api(
1672
+ response_data = await self.api_client.call_api(
1673
1673
  *_param, _request_timeout=_request_timeout
1674
1674
  )
1675
- response_data.read()
1675
+ await response_data.read()
1676
1676
  return self.api_client.response_deserialize(
1677
1677
  response_data=response_data,
1678
1678
  response_types_map=_response_types_map,
1679
1679
  )
1680
1680
 
1681
1681
  @validate_call
1682
- def search_symbols_udf_search_get_without_preload_content(
1682
+ async def search_symbols_without_preload_content(
1683
1683
  self,
1684
1684
  query: StrictStr,
1685
1685
  limit: Optional[StrictInt] = None,
@@ -1725,7 +1725,7 @@ class UDFApi:
1725
1725
  :return: Returns the result object.
1726
1726
  """ # noqa: E501
1727
1727
 
1728
- _param = self._search_symbols_udf_search_get_serialize(
1728
+ _param = self._search_symbols_serialize(
1729
1729
  query=query,
1730
1730
  limit=limit,
1731
1731
  _request_auth=_request_auth,
@@ -1738,12 +1738,12 @@ class UDFApi:
1738
1738
  "200": "List[SearchSymbolResponse]",
1739
1739
  "422": "HTTPValidationError",
1740
1740
  }
1741
- response_data = self.api_client.call_api(
1741
+ response_data = await self.api_client.call_api(
1742
1742
  *_param, _request_timeout=_request_timeout
1743
1743
  )
1744
1744
  return response_data.response
1745
1745
 
1746
- def _search_symbols_udf_search_get_serialize(
1746
+ def _search_symbols_serialize(
1747
1747
  self,
1748
1748
  query,
1749
1749
  limit,
@@ -1787,7 +1787,7 @@ class UDFApi:
1787
1787
  )
1788
1788
 
1789
1789
  # authentication setting
1790
- _auth_settings: List[str] = []
1790
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1791
1791
 
1792
1792
  return self.api_client.param_serialize(
1793
1793
  method="GET",