crypticorn 2.17.0rc5__py3-none-any.whl → 2.17.0rc7__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.
- crypticorn/auth/client/api/admin_api.py +6 -24
- crypticorn/auth/client/api/auth_api.py +36 -144
- crypticorn/auth/client/api/service_api.py +3 -12
- crypticorn/auth/client/api/user_api.py +33 -132
- crypticorn/auth/client/api/wallet_api.py +18 -72
- crypticorn/cli/templates/Dockerfile +5 -2
- crypticorn/common/auth.py +30 -0
- crypticorn/common/errors.py +10 -0
- crypticorn/common/pagination.py +1 -1
- crypticorn/common/router/admin_router.py +1 -11
- crypticorn/common/router/status_router.py +30 -2
- crypticorn/common/scopes.py +2 -2
- crypticorn/dex/client/api/admin_api.py +21 -84
- crypticorn/dex/client/api/signals_api.py +9 -36
- crypticorn/dex/client/api/status_api.py +6 -24
- crypticorn/hive/client/api/admin_api.py +18 -72
- crypticorn/hive/client/api/data_api.py +6 -24
- crypticorn/hive/client/api/models_api.py +21 -84
- crypticorn/hive/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/admin_api.py +18 -72
- crypticorn/klines/client/api/change_in_timeframe_api.py +3 -12
- crypticorn/klines/client/api/funding_rates_api.py +3 -12
- crypticorn/klines/client/api/ohlcv_data_api.py +3 -12
- crypticorn/klines/client/api/status_api.py +6 -24
- crypticorn/klines/client/api/symbols_api.py +3 -12
- crypticorn/klines/client/api/udf_api.py +18 -72
- crypticorn/metrics/client/api/admin_api.py +18 -72
- crypticorn/metrics/client/api/exchanges_api.py +12 -48
- crypticorn/metrics/client/api/indicators_api.py +6 -24
- crypticorn/metrics/client/api/logs_api.py +3 -12
- crypticorn/metrics/client/api/marketcap_api.py +12 -48
- crypticorn/metrics/client/api/markets_api.py +3 -12
- crypticorn/metrics/client/api/quote_currencies_api.py +3 -12
- crypticorn/metrics/client/api/status_api.py +6 -24
- crypticorn/metrics/client/api/tokens_api.py +6 -24
- crypticorn/pay/client/api/admin_api.py +21 -84
- crypticorn/pay/client/api/now_payments_api.py +15 -60
- crypticorn/pay/client/api/payments_api.py +6 -24
- crypticorn/pay/client/api/products_api.py +12 -48
- crypticorn/pay/client/api/status_api.py +6 -24
- crypticorn/trade/client/__init__.py +10 -0
- crypticorn/trade/client/api/admin_api.py +21 -84
- crypticorn/trade/client/api/api_keys_api.py +207 -184
- crypticorn/trade/client/api/bots_api.py +2435 -662
- crypticorn/trade/client/api/exchanges_api.py +9 -36
- crypticorn/trade/client/api/notifications_api.py +18 -72
- crypticorn/trade/client/api/orders_api.py +3 -12
- crypticorn/trade/client/api/status_api.py +6 -24
- crypticorn/trade/client/api/strategies_api.py +15 -60
- crypticorn/trade/client/api/trading_actions_api.py +431 -112
- crypticorn/trade/client/configuration.py +2 -2
- crypticorn/trade/client/models/__init__.py +10 -0
- crypticorn/trade/client/models/paginated_response_futures_trading_action.py +134 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action.py +141 -0
- crypticorn/trade/client/models/paginated_response_union_futures_trading_action_spot_trading_action_data_inner.py +165 -0
- crypticorn/trade/client/models/spot_trading_action.py +207 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/RECORD +62 -58
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc7.dist-info}/top_level.txt +0 -0
@@ -69,10 +69,7 @@ class AdminApi:
|
|
69
69
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
70
70
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
71
71
|
) -> Dict[str, object]:
|
72
|
-
"""Get Container Limits
|
73
|
-
|
74
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
75
|
-
"""
|
72
|
+
"""Get Container Limits"""
|
76
73
|
if self.is_sync:
|
77
74
|
return self._get_container_limits_sync(
|
78
75
|
_request_timeout=_request_timeout,
|
@@ -106,10 +103,7 @@ class AdminApi:
|
|
106
103
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
107
104
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
108
105
|
) -> ApiResponse[Dict[str, object]]:
|
109
|
-
"""Get Container Limits with HTTP info
|
110
|
-
|
111
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
112
|
-
"""
|
106
|
+
"""Get Container Limits with HTTP info"""
|
113
107
|
if self.is_sync:
|
114
108
|
return self._get_container_limits_sync_with_http_info(
|
115
109
|
_request_timeout=_request_timeout,
|
@@ -143,10 +137,7 @@ class AdminApi:
|
|
143
137
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
144
138
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
145
139
|
) -> RESTResponseType:
|
146
|
-
"""Get Container Limits without preloading content
|
147
|
-
|
148
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
149
|
-
"""
|
140
|
+
"""Get Container Limits without preloading content"""
|
150
141
|
if self.is_sync:
|
151
142
|
return self._get_container_limits_sync_without_preload_content(
|
152
143
|
_request_timeout=_request_timeout,
|
@@ -486,10 +477,7 @@ class AdminApi:
|
|
486
477
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
487
478
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
488
479
|
) -> Dict[str, str]:
|
489
|
-
"""List Installed Packages
|
490
|
-
|
491
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
492
|
-
"""
|
480
|
+
"""List Installed Packages"""
|
493
481
|
if self.is_sync:
|
494
482
|
return self._get_dependencies_sync(
|
495
483
|
include=include,
|
@@ -531,10 +519,7 @@ class AdminApi:
|
|
531
519
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
532
520
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
533
521
|
) -> ApiResponse[Dict[str, str]]:
|
534
|
-
"""List Installed Packages with HTTP info
|
535
|
-
|
536
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
537
|
-
"""
|
522
|
+
"""List Installed Packages with HTTP info"""
|
538
523
|
if self.is_sync:
|
539
524
|
return self._get_dependencies_sync_with_http_info(
|
540
525
|
include=include,
|
@@ -576,10 +561,7 @@ class AdminApi:
|
|
576
561
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
577
562
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
578
563
|
) -> RESTResponseType:
|
579
|
-
"""List Installed Packages without preloading content
|
580
|
-
|
581
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
582
|
-
"""
|
564
|
+
"""List Installed Packages without preloading content"""
|
583
565
|
if self.is_sync:
|
584
566
|
return self._get_dependencies_sync_without_preload_content(
|
585
567
|
include=include,
|
@@ -970,10 +952,7 @@ class AdminApi:
|
|
970
952
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
971
953
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
972
954
|
) -> LogLevel:
|
973
|
-
"""Get Logging Level
|
974
|
-
|
975
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
976
|
-
"""
|
955
|
+
"""Get Logging Level"""
|
977
956
|
if self.is_sync:
|
978
957
|
return self._get_log_level_sync(
|
979
958
|
_request_timeout=_request_timeout,
|
@@ -1007,10 +986,7 @@ class AdminApi:
|
|
1007
986
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1008
987
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1009
988
|
) -> ApiResponse[LogLevel]:
|
1010
|
-
"""Get Logging Level with HTTP info
|
1011
|
-
|
1012
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1013
|
-
"""
|
989
|
+
"""Get Logging Level with HTTP info"""
|
1014
990
|
if self.is_sync:
|
1015
991
|
return self._get_log_level_sync_with_http_info(
|
1016
992
|
_request_timeout=_request_timeout,
|
@@ -1044,10 +1020,7 @@ class AdminApi:
|
|
1044
1020
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1045
1021
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1046
1022
|
) -> RESTResponseType:
|
1047
|
-
"""Get Logging Level without preloading content
|
1048
|
-
|
1049
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1050
|
-
"""
|
1023
|
+
"""Get Logging Level without preloading content"""
|
1051
1024
|
if self.is_sync:
|
1052
1025
|
return self._get_log_level_sync_without_preload_content(
|
1053
1026
|
_request_timeout=_request_timeout,
|
@@ -1384,10 +1357,7 @@ class AdminApi:
|
|
1384
1357
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1385
1358
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1386
1359
|
) -> float:
|
1387
|
-
"""Get Memory Usage
|
1388
|
-
|
1389
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1390
|
-
"""
|
1360
|
+
"""Get Memory Usage"""
|
1391
1361
|
if self.is_sync:
|
1392
1362
|
return self._get_memory_usage_sync(
|
1393
1363
|
_request_timeout=_request_timeout,
|
@@ -1421,10 +1391,7 @@ class AdminApi:
|
|
1421
1391
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1422
1392
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1423
1393
|
) -> ApiResponse[float]:
|
1424
|
-
"""Get Memory Usage with HTTP info
|
1425
|
-
|
1426
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1427
|
-
"""
|
1394
|
+
"""Get Memory Usage with HTTP info"""
|
1428
1395
|
if self.is_sync:
|
1429
1396
|
return self._get_memory_usage_sync_with_http_info(
|
1430
1397
|
_request_timeout=_request_timeout,
|
@@ -1458,10 +1425,7 @@ class AdminApi:
|
|
1458
1425
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1459
1426
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1460
1427
|
) -> RESTResponseType:
|
1461
|
-
"""Get Memory Usage without preloading content
|
1462
|
-
|
1463
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1464
|
-
"""
|
1428
|
+
"""Get Memory Usage without preloading content"""
|
1465
1429
|
if self.is_sync:
|
1466
1430
|
return self._get_memory_usage_sync_without_preload_content(
|
1467
1431
|
_request_timeout=_request_timeout,
|
@@ -1795,10 +1759,7 @@ class AdminApi:
|
|
1795
1759
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1796
1760
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1797
1761
|
) -> Dict[str, object]:
|
1798
|
-
"""Get Threads
|
1799
|
-
|
1800
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1801
|
-
"""
|
1762
|
+
"""Get Threads"""
|
1802
1763
|
if self.is_sync:
|
1803
1764
|
return self._get_threads_sync(
|
1804
1765
|
_request_timeout=_request_timeout,
|
@@ -1832,10 +1793,7 @@ class AdminApi:
|
|
1832
1793
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1833
1794
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1834
1795
|
) -> ApiResponse[Dict[str, object]]:
|
1835
|
-
"""Get Threads with HTTP info
|
1836
|
-
|
1837
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1838
|
-
"""
|
1796
|
+
"""Get Threads with HTTP info"""
|
1839
1797
|
if self.is_sync:
|
1840
1798
|
return self._get_threads_sync_with_http_info(
|
1841
1799
|
_request_timeout=_request_timeout,
|
@@ -1869,10 +1827,7 @@ class AdminApi:
|
|
1869
1827
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1870
1828
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1871
1829
|
) -> RESTResponseType:
|
1872
|
-
"""Get Threads without preloading content
|
1873
|
-
|
1874
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1875
|
-
"""
|
1830
|
+
"""Get Threads without preloading content"""
|
1876
1831
|
if self.is_sync:
|
1877
1832
|
return self._get_threads_sync_without_preload_content(
|
1878
1833
|
_request_timeout=_request_timeout,
|
@@ -2207,10 +2162,7 @@ class AdminApi:
|
|
2207
2162
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2208
2163
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2209
2164
|
) -> str:
|
2210
|
-
"""Get Uptime
|
2211
|
-
|
2212
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2213
|
-
"""
|
2165
|
+
"""Get Uptime"""
|
2214
2166
|
if self.is_sync:
|
2215
2167
|
return self._get_uptime_sync(
|
2216
2168
|
type=type,
|
@@ -2247,10 +2199,7 @@ class AdminApi:
|
|
2247
2199
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2248
2200
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2249
2201
|
) -> ApiResponse[str]:
|
2250
|
-
"""Get Uptime with HTTP info
|
2251
|
-
|
2252
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2253
|
-
"""
|
2202
|
+
"""Get Uptime with HTTP info"""
|
2254
2203
|
if self.is_sync:
|
2255
2204
|
return self._get_uptime_sync_with_http_info(
|
2256
2205
|
type=type,
|
@@ -2287,10 +2236,7 @@ class AdminApi:
|
|
2287
2236
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2288
2237
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2289
2238
|
) -> RESTResponseType:
|
2290
|
-
"""Get Uptime without preloading content
|
2291
|
-
|
2292
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2293
|
-
"""
|
2239
|
+
"""Get Uptime without preloading content"""
|
2294
2240
|
if self.is_sync:
|
2295
2241
|
return self._get_uptime_sync_without_preload_content(
|
2296
2242
|
type=type,
|
@@ -78,10 +78,7 @@ class ChangeInTimeframeApi:
|
|
78
78
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
79
79
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
80
80
|
) -> List[ChangeInTimeframe]:
|
81
|
-
"""Get Change In Timeframe
|
82
|
-
|
83
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
84
|
-
"""
|
81
|
+
"""Get Change In Timeframe"""
|
85
82
|
if self.is_sync:
|
86
83
|
return self._get_change_in_timeframe_sync(
|
87
84
|
market=market,
|
@@ -127,10 +124,7 @@ class ChangeInTimeframeApi:
|
|
127
124
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
128
125
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
129
126
|
) -> ApiResponse[List[ChangeInTimeframe]]:
|
130
|
-
"""Get Change In Timeframe with HTTP info
|
131
|
-
|
132
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
133
|
-
"""
|
127
|
+
"""Get Change In Timeframe with HTTP info"""
|
134
128
|
if self.is_sync:
|
135
129
|
return self._get_change_in_timeframe_sync_with_http_info(
|
136
130
|
market=market,
|
@@ -176,10 +170,7 @@ class ChangeInTimeframeApi:
|
|
176
170
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
177
171
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
178
172
|
) -> RESTResponseType:
|
179
|
-
"""Get Change In Timeframe without preloading content
|
180
|
-
|
181
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
182
|
-
"""
|
173
|
+
"""Get Change In Timeframe without preloading content"""
|
183
174
|
if self.is_sync:
|
184
175
|
return self._get_change_in_timeframe_sync_without_preload_content(
|
185
176
|
market=market,
|
@@ -81,10 +81,7 @@ class FundingRatesApi:
|
|
81
81
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
82
82
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
83
83
|
) -> FundingRateResponse:
|
84
|
-
"""Funding Rate
|
85
|
-
|
86
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
87
|
-
"""
|
84
|
+
"""Funding Rate"""
|
88
85
|
if self.is_sync:
|
89
86
|
return self._get_funding_rates_sync(
|
90
87
|
symbol=symbol,
|
@@ -139,10 +136,7 @@ class FundingRatesApi:
|
|
139
136
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
140
137
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
141
138
|
) -> ApiResponse[FundingRateResponse]:
|
142
|
-
"""Funding Rate with HTTP info
|
143
|
-
|
144
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
145
|
-
"""
|
139
|
+
"""Funding Rate with HTTP info"""
|
146
140
|
if self.is_sync:
|
147
141
|
return self._get_funding_rates_sync_with_http_info(
|
148
142
|
symbol=symbol,
|
@@ -197,10 +191,7 @@ class FundingRatesApi:
|
|
197
191
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
198
192
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
199
193
|
) -> RESTResponseType:
|
200
|
-
"""Funding Rate without preloading content
|
201
|
-
|
202
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
203
|
-
"""
|
194
|
+
"""Funding Rate without preloading content"""
|
204
195
|
if self.is_sync:
|
205
196
|
return self._get_funding_rates_sync_without_preload_content(
|
206
197
|
symbol=symbol,
|
@@ -92,10 +92,7 @@ class OHLCVDataApi:
|
|
92
92
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
93
93
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
94
94
|
) -> List[OHLCV]:
|
95
|
-
"""Get Ohlcv
|
96
|
-
|
97
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
98
|
-
"""
|
95
|
+
"""Get Ohlcv"""
|
99
96
|
if self.is_sync:
|
100
97
|
return self._get_ohlcv_sync(
|
101
98
|
market=market,
|
@@ -164,10 +161,7 @@ class OHLCVDataApi:
|
|
164
161
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
165
162
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
166
163
|
) -> ApiResponse[List[OHLCV]]:
|
167
|
-
"""Get Ohlcv with HTTP info
|
168
|
-
|
169
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
170
|
-
"""
|
164
|
+
"""Get Ohlcv with HTTP info"""
|
171
165
|
if self.is_sync:
|
172
166
|
return self._get_ohlcv_sync_with_http_info(
|
173
167
|
market=market,
|
@@ -236,10 +230,7 @@ class OHLCVDataApi:
|
|
236
230
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
237
231
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
238
232
|
) -> RESTResponseType:
|
239
|
-
"""Get Ohlcv without preloading content
|
240
|
-
|
241
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
242
|
-
"""
|
233
|
+
"""Get Ohlcv without preloading content"""
|
243
234
|
if self.is_sync:
|
244
235
|
return self._get_ohlcv_sync_without_preload_content(
|
245
236
|
market=market,
|
@@ -68,10 +68,7 @@ class StatusApi:
|
|
68
68
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
69
69
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
70
70
|
) -> str:
|
71
|
-
"""Time
|
72
|
-
|
73
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
74
|
-
"""
|
71
|
+
"""Time"""
|
75
72
|
if self.is_sync:
|
76
73
|
return self._get_time_sync(
|
77
74
|
type=type,
|
@@ -108,10 +105,7 @@ class StatusApi:
|
|
108
105
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
109
106
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
110
107
|
) -> ApiResponse[str]:
|
111
|
-
"""Time with HTTP info
|
112
|
-
|
113
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
114
|
-
"""
|
108
|
+
"""Time with HTTP info"""
|
115
109
|
if self.is_sync:
|
116
110
|
return self._get_time_sync_with_http_info(
|
117
111
|
type=type,
|
@@ -148,10 +142,7 @@ class StatusApi:
|
|
148
142
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
149
143
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
150
144
|
) -> RESTResponseType:
|
151
|
-
"""Time without preloading content
|
152
|
-
|
153
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
154
|
-
"""
|
145
|
+
"""Time without preloading content"""
|
155
146
|
if self.is_sync:
|
156
147
|
return self._get_time_sync_without_preload_content(
|
157
148
|
type=type,
|
@@ -510,10 +501,7 @@ class StatusApi:
|
|
510
501
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
511
502
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
512
503
|
) -> str:
|
513
|
-
"""Ping
|
514
|
-
|
515
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
516
|
-
"""
|
504
|
+
"""Ping"""
|
517
505
|
if self.is_sync:
|
518
506
|
return self._ping_sync(
|
519
507
|
_request_timeout=_request_timeout,
|
@@ -547,10 +535,7 @@ class StatusApi:
|
|
547
535
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
548
536
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
549
537
|
) -> ApiResponse[str]:
|
550
|
-
"""Ping with HTTP info
|
551
|
-
|
552
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
553
|
-
"""
|
538
|
+
"""Ping with HTTP info"""
|
554
539
|
if self.is_sync:
|
555
540
|
return self._ping_sync_with_http_info(
|
556
541
|
_request_timeout=_request_timeout,
|
@@ -584,10 +569,7 @@ class StatusApi:
|
|
584
569
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
585
570
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
586
571
|
) -> RESTResponseType:
|
587
|
-
"""Ping without preloading content
|
588
|
-
|
589
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
590
|
-
"""
|
572
|
+
"""Ping without preloading content"""
|
591
573
|
if self.is_sync:
|
592
574
|
return self._ping_sync_without_preload_content(
|
593
575
|
_request_timeout=_request_timeout,
|
@@ -69,10 +69,7 @@ class SymbolsApi:
|
|
69
69
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
70
70
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
71
71
|
) -> List[str]:
|
72
|
-
"""Symbols
|
73
|
-
|
74
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
75
|
-
"""
|
72
|
+
"""Symbols"""
|
76
73
|
if self.is_sync:
|
77
74
|
return self._get_klines_symbols_sync(
|
78
75
|
market=market,
|
@@ -109,10 +106,7 @@ class SymbolsApi:
|
|
109
106
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
110
107
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
111
108
|
) -> ApiResponse[List[str]]:
|
112
|
-
"""Symbols with HTTP info
|
113
|
-
|
114
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
115
|
-
"""
|
109
|
+
"""Symbols with HTTP info"""
|
116
110
|
if self.is_sync:
|
117
111
|
return self._get_klines_symbols_sync_with_http_info(
|
118
112
|
market=market,
|
@@ -149,10 +143,7 @@ class SymbolsApi:
|
|
149
143
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
150
144
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
151
145
|
) -> RESTResponseType:
|
152
|
-
"""Symbols without preloading content
|
153
|
-
|
154
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
155
|
-
"""
|
146
|
+
"""Symbols without preloading content"""
|
156
147
|
if self.is_sync:
|
157
148
|
return self._get_klines_symbols_sync_without_preload_content(
|
158
149
|
market=market,
|
@@ -75,10 +75,7 @@ class UDFApi:
|
|
75
75
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
76
76
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
77
77
|
) -> SymbolInfo:
|
78
|
-
"""Get Symbol
|
79
|
-
|
80
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
81
|
-
"""
|
78
|
+
"""Get Symbol"""
|
82
79
|
if self.is_sync:
|
83
80
|
return self._get_symbol_sync(
|
84
81
|
symbol=symbol,
|
@@ -115,10 +112,7 @@ class UDFApi:
|
|
115
112
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
116
113
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
117
114
|
) -> ApiResponse[SymbolInfo]:
|
118
|
-
"""Get Symbol with HTTP info
|
119
|
-
|
120
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
121
|
-
"""
|
115
|
+
"""Get Symbol with HTTP info"""
|
122
116
|
if self.is_sync:
|
123
117
|
return self._get_symbol_sync_with_http_info(
|
124
118
|
symbol=symbol,
|
@@ -155,10 +149,7 @@ class UDFApi:
|
|
155
149
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
156
150
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
157
151
|
) -> RESTResponseType:
|
158
|
-
"""Get Symbol without preloading content
|
159
|
-
|
160
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
161
|
-
"""
|
152
|
+
"""Get Symbol without preloading content"""
|
162
153
|
if self.is_sync:
|
163
154
|
return self._get_symbol_sync_without_preload_content(
|
164
155
|
symbol=symbol,
|
@@ -515,10 +506,7 @@ class UDFApi:
|
|
515
506
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
516
507
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
517
508
|
) -> SymbolGroup:
|
518
|
-
"""Get Symbol Info
|
519
|
-
|
520
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
521
|
-
"""
|
509
|
+
"""Get Symbol Info"""
|
522
510
|
if self.is_sync:
|
523
511
|
return self._get_symbol_info_sync(
|
524
512
|
group=group,
|
@@ -555,10 +543,7 @@ class UDFApi:
|
|
555
543
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
556
544
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
557
545
|
) -> ApiResponse[SymbolGroup]:
|
558
|
-
"""Get Symbol Info with HTTP info
|
559
|
-
|
560
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
561
|
-
"""
|
546
|
+
"""Get Symbol Info with HTTP info"""
|
562
547
|
if self.is_sync:
|
563
548
|
return self._get_symbol_info_sync_with_http_info(
|
564
549
|
group=group,
|
@@ -595,10 +580,7 @@ class UDFApi:
|
|
595
580
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
596
581
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
597
582
|
) -> RESTResponseType:
|
598
|
-
"""Get Symbol Info without preloading content
|
599
|
-
|
600
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
601
|
-
"""
|
583
|
+
"""Get Symbol Info without preloading content"""
|
602
584
|
if self.is_sync:
|
603
585
|
return self._get_symbol_info_sync_without_preload_content(
|
604
586
|
group=group,
|
@@ -960,10 +942,7 @@ class UDFApi:
|
|
960
942
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
961
943
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
962
944
|
) -> UDFConfig:
|
963
|
-
"""Get Config
|
964
|
-
|
965
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
966
|
-
"""
|
945
|
+
"""Get Config"""
|
967
946
|
if self.is_sync:
|
968
947
|
return self._get_udf_config_sync(
|
969
948
|
_request_timeout=_request_timeout,
|
@@ -997,10 +976,7 @@ class UDFApi:
|
|
997
976
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
998
977
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
999
978
|
) -> ApiResponse[UDFConfig]:
|
1000
|
-
"""Get Config with HTTP info
|
1001
|
-
|
1002
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1003
|
-
"""
|
979
|
+
"""Get Config with HTTP info"""
|
1004
980
|
if self.is_sync:
|
1005
981
|
return self._get_udf_config_sync_with_http_info(
|
1006
982
|
_request_timeout=_request_timeout,
|
@@ -1034,10 +1010,7 @@ class UDFApi:
|
|
1034
1010
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1035
1011
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1036
1012
|
) -> RESTResponseType:
|
1037
|
-
"""Get Config without preloading content
|
1038
|
-
|
1039
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1040
|
-
"""
|
1013
|
+
"""Get Config without preloading content"""
|
1041
1014
|
if self.is_sync:
|
1042
1015
|
return self._get_udf_config_sync_without_preload_content(
|
1043
1016
|
_request_timeout=_request_timeout,
|
@@ -1373,10 +1346,7 @@ class UDFApi:
|
|
1373
1346
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1374
1347
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1375
1348
|
) -> OHLCV:
|
1376
|
-
"""Get History
|
1377
|
-
|
1378
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1379
|
-
"""
|
1349
|
+
"""Get History"""
|
1380
1350
|
if self.is_sync:
|
1381
1351
|
return self._get_udf_history_sync(
|
1382
1352
|
symbol=symbol,
|
@@ -1425,10 +1395,7 @@ class UDFApi:
|
|
1425
1395
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1426
1396
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1427
1397
|
) -> ApiResponse[OHLCV]:
|
1428
|
-
"""Get History with HTTP info
|
1429
|
-
|
1430
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1431
|
-
"""
|
1398
|
+
"""Get History with HTTP info"""
|
1432
1399
|
if self.is_sync:
|
1433
1400
|
return self._get_udf_history_sync_with_http_info(
|
1434
1401
|
symbol=symbol,
|
@@ -1477,10 +1444,7 @@ class UDFApi:
|
|
1477
1444
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1478
1445
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1479
1446
|
) -> RESTResponseType:
|
1480
|
-
"""Get History without preloading content
|
1481
|
-
|
1482
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1483
|
-
"""
|
1447
|
+
"""Get History without preloading content"""
|
1484
1448
|
if self.is_sync:
|
1485
1449
|
return self._get_udf_history_sync_without_preload_content(
|
1486
1450
|
symbol=symbol,
|
@@ -1937,10 +1901,7 @@ class UDFApi:
|
|
1937
1901
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1938
1902
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1939
1903
|
) -> object:
|
1940
|
-
"""Options Handler
|
1941
|
-
|
1942
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1943
|
-
"""
|
1904
|
+
"""Options Handler"""
|
1944
1905
|
if self.is_sync:
|
1945
1906
|
return self._options_handler_sync(
|
1946
1907
|
path=path,
|
@@ -1977,10 +1938,7 @@ class UDFApi:
|
|
1977
1938
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1978
1939
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1979
1940
|
) -> ApiResponse[object]:
|
1980
|
-
"""Options Handler with HTTP info
|
1981
|
-
|
1982
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1983
|
-
"""
|
1941
|
+
"""Options Handler with HTTP info"""
|
1984
1942
|
if self.is_sync:
|
1985
1943
|
return self._options_handler_sync_with_http_info(
|
1986
1944
|
path=path,
|
@@ -2017,10 +1975,7 @@ class UDFApi:
|
|
2017
1975
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2018
1976
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2019
1977
|
) -> RESTResponseType:
|
2020
|
-
"""Options Handler without preloading content
|
2021
|
-
|
2022
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2023
|
-
"""
|
1978
|
+
"""Options Handler without preloading content"""
|
2024
1979
|
if self.is_sync:
|
2025
1980
|
return self._options_handler_sync_without_preload_content(
|
2026
1981
|
path=path,
|
@@ -2379,10 +2334,7 @@ class UDFApi:
|
|
2379
2334
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2380
2335
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2381
2336
|
) -> List[SearchSymbol]:
|
2382
|
-
"""Search Symbols
|
2383
|
-
|
2384
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2385
|
-
"""
|
2337
|
+
"""Search Symbols"""
|
2386
2338
|
if self.is_sync:
|
2387
2339
|
return self._search_symbols_sync(
|
2388
2340
|
query=query,
|
@@ -2422,10 +2374,7 @@ class UDFApi:
|
|
2422
2374
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2423
2375
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2424
2376
|
) -> ApiResponse[List[SearchSymbol]]:
|
2425
|
-
"""Search Symbols with HTTP info
|
2426
|
-
|
2427
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2428
|
-
"""
|
2377
|
+
"""Search Symbols with HTTP info"""
|
2429
2378
|
if self.is_sync:
|
2430
2379
|
return self._search_symbols_sync_with_http_info(
|
2431
2380
|
query=query,
|
@@ -2465,10 +2414,7 @@ class UDFApi:
|
|
2465
2414
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2466
2415
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2467
2416
|
) -> RESTResponseType:
|
2468
|
-
"""Search Symbols without preloading content
|
2469
|
-
|
2470
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2471
|
-
"""
|
2417
|
+
"""Search Symbols without preloading content"""
|
2472
2418
|
if self.is_sync:
|
2473
2419
|
return self._search_symbols_sync_without_preload_content(
|
2474
2420
|
query=query,
|