crypticorn 2.17.0rc5__py3-none-any.whl → 2.17.0rc6__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 +33 -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.0rc6.dist-info}/METADATA +3 -3
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/RECORD +62 -58
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/WHEEL +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.17.0rc5.dist-info → crypticorn-2.17.0rc6.dist-info}/top_level.txt +0 -0
@@ -70,10 +70,7 @@ class ExchangesApi:
|
|
70
70
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
71
71
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
72
72
|
) -> List[Exchange]:
|
73
|
-
"""Get All Exchanges
|
74
|
-
|
75
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
76
|
-
"""
|
73
|
+
"""Get All Exchanges"""
|
77
74
|
if self.is_sync:
|
78
75
|
return self._get_all_exchanges_sync(
|
79
76
|
_request_timeout=_request_timeout,
|
@@ -107,10 +104,7 @@ class ExchangesApi:
|
|
107
104
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
108
105
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
109
106
|
) -> ApiResponse[List[Exchange]]:
|
110
|
-
"""Get All Exchanges with HTTP info
|
111
|
-
|
112
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
113
|
-
"""
|
107
|
+
"""Get All Exchanges with HTTP info"""
|
114
108
|
if self.is_sync:
|
115
109
|
return self._get_all_exchanges_sync_with_http_info(
|
116
110
|
_request_timeout=_request_timeout,
|
@@ -144,10 +138,7 @@ class ExchangesApi:
|
|
144
138
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
145
139
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
146
140
|
) -> RESTResponseType:
|
147
|
-
"""Get All Exchanges without preloading content
|
148
|
-
|
149
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
150
|
-
"""
|
141
|
+
"""Get All Exchanges without preloading content"""
|
151
142
|
if self.is_sync:
|
152
143
|
return self._get_all_exchanges_sync_without_preload_content(
|
153
144
|
_request_timeout=_request_timeout,
|
@@ -481,10 +472,7 @@ class ExchangesApi:
|
|
481
472
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
482
473
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
483
474
|
) -> List[Exchange]:
|
484
|
-
"""Get Planned Exchanges
|
485
|
-
|
486
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
487
|
-
"""
|
475
|
+
"""Get Planned Exchanges"""
|
488
476
|
if self.is_sync:
|
489
477
|
return self._get_planned_exchanges_sync(
|
490
478
|
_request_timeout=_request_timeout,
|
@@ -518,10 +506,7 @@ class ExchangesApi:
|
|
518
506
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
519
507
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
520
508
|
) -> ApiResponse[List[Exchange]]:
|
521
|
-
"""Get Planned Exchanges with HTTP info
|
522
|
-
|
523
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
524
|
-
"""
|
509
|
+
"""Get Planned Exchanges with HTTP info"""
|
525
510
|
if self.is_sync:
|
526
511
|
return self._get_planned_exchanges_sync_with_http_info(
|
527
512
|
_request_timeout=_request_timeout,
|
@@ -555,10 +540,7 @@ class ExchangesApi:
|
|
555
540
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
556
541
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
557
542
|
) -> RESTResponseType:
|
558
|
-
"""Get Planned Exchanges without preloading content
|
559
|
-
|
560
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
561
|
-
"""
|
543
|
+
"""Get Planned Exchanges without preloading content"""
|
562
544
|
if self.is_sync:
|
563
545
|
return self._get_planned_exchanges_sync_without_preload_content(
|
564
546
|
_request_timeout=_request_timeout,
|
@@ -892,10 +874,7 @@ class ExchangesApi:
|
|
892
874
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
893
875
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
894
876
|
) -> List[Exchange]:
|
895
|
-
"""Get Tradeable Exchanges
|
896
|
-
|
897
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
898
|
-
"""
|
877
|
+
"""Get Tradeable Exchanges"""
|
899
878
|
if self.is_sync:
|
900
879
|
return self._get_tradeable_exchanges_sync(
|
901
880
|
_request_timeout=_request_timeout,
|
@@ -929,10 +908,7 @@ class ExchangesApi:
|
|
929
908
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
930
909
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
931
910
|
) -> ApiResponse[List[Exchange]]:
|
932
|
-
"""Get Tradeable Exchanges with HTTP info
|
933
|
-
|
934
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
935
|
-
"""
|
911
|
+
"""Get Tradeable Exchanges with HTTP info"""
|
936
912
|
if self.is_sync:
|
937
913
|
return self._get_tradeable_exchanges_sync_with_http_info(
|
938
914
|
_request_timeout=_request_timeout,
|
@@ -966,10 +942,7 @@ class ExchangesApi:
|
|
966
942
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
967
943
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
968
944
|
) -> RESTResponseType:
|
969
|
-
"""Get Tradeable Exchanges without preloading content
|
970
|
-
|
971
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
972
|
-
"""
|
945
|
+
"""Get Tradeable Exchanges without preloading content"""
|
973
946
|
if self.is_sync:
|
974
947
|
return self._get_tradeable_exchanges_sync_without_preload_content(
|
975
948
|
_request_timeout=_request_timeout,
|
@@ -74,10 +74,7 @@ class NotificationsApi:
|
|
74
74
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
75
75
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
76
76
|
) -> object:
|
77
|
-
"""Create Notification
|
78
|
-
|
79
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
80
|
-
"""
|
77
|
+
"""Create Notification"""
|
81
78
|
if self.is_sync:
|
82
79
|
return self._create_notification_sync(
|
83
80
|
notification_create=notification_create,
|
@@ -114,10 +111,7 @@ class NotificationsApi:
|
|
114
111
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
115
112
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
116
113
|
) -> ApiResponse[object]:
|
117
|
-
"""Create Notification with HTTP info
|
118
|
-
|
119
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
120
|
-
"""
|
114
|
+
"""Create Notification with HTTP info"""
|
121
115
|
if self.is_sync:
|
122
116
|
return self._create_notification_sync_with_http_info(
|
123
117
|
notification_create=notification_create,
|
@@ -154,10 +148,7 @@ class NotificationsApi:
|
|
154
148
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
155
149
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
156
150
|
) -> RESTResponseType:
|
157
|
-
"""Create Notification without preloading content
|
158
|
-
|
159
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
160
|
-
"""
|
151
|
+
"""Create Notification without preloading content"""
|
161
152
|
if self.is_sync:
|
162
153
|
return self._create_notification_sync_without_preload_content(
|
163
154
|
notification_create=notification_create,
|
@@ -525,10 +516,7 @@ class NotificationsApi:
|
|
525
516
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
526
517
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
527
518
|
) -> None:
|
528
|
-
"""Delete Notification
|
529
|
-
|
530
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
531
|
-
"""
|
519
|
+
"""Delete Notification"""
|
532
520
|
if self.is_sync:
|
533
521
|
return self._delete_notification_sync(
|
534
522
|
id=id,
|
@@ -565,10 +553,7 @@ class NotificationsApi:
|
|
565
553
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
566
554
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
567
555
|
) -> ApiResponse[None]:
|
568
|
-
"""Delete Notification with HTTP info
|
569
|
-
|
570
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
571
|
-
"""
|
556
|
+
"""Delete Notification with HTTP info"""
|
572
557
|
if self.is_sync:
|
573
558
|
return self._delete_notification_sync_with_http_info(
|
574
559
|
id=id,
|
@@ -605,10 +590,7 @@ class NotificationsApi:
|
|
605
590
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
606
591
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
607
592
|
) -> RESTResponseType:
|
608
|
-
"""Delete Notification without preloading content
|
609
|
-
|
610
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
611
|
-
"""
|
593
|
+
"""Delete Notification without preloading content"""
|
612
594
|
if self.is_sync:
|
613
595
|
return self._delete_notification_sync_without_preload_content(
|
614
596
|
id=id,
|
@@ -962,10 +944,7 @@ class NotificationsApi:
|
|
962
944
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
963
945
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
964
946
|
) -> None:
|
965
|
-
"""Delete Notifications
|
966
|
-
|
967
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
968
|
-
"""
|
947
|
+
"""Delete Notifications"""
|
969
948
|
if self.is_sync:
|
970
949
|
return self._delete_notifications_sync(
|
971
950
|
_request_timeout=_request_timeout,
|
@@ -999,10 +978,7 @@ class NotificationsApi:
|
|
999
978
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1000
979
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1001
980
|
) -> ApiResponse[None]:
|
1002
|
-
"""Delete Notifications with HTTP info
|
1003
|
-
|
1004
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1005
|
-
"""
|
981
|
+
"""Delete Notifications with HTTP info"""
|
1006
982
|
if self.is_sync:
|
1007
983
|
return self._delete_notifications_sync_with_http_info(
|
1008
984
|
_request_timeout=_request_timeout,
|
@@ -1036,10 +1012,7 @@ class NotificationsApi:
|
|
1036
1012
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1037
1013
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1038
1014
|
) -> RESTResponseType:
|
1039
|
-
"""Delete Notifications without preloading content
|
1040
|
-
|
1041
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1042
|
-
"""
|
1015
|
+
"""Delete Notifications without preloading content"""
|
1043
1016
|
if self.is_sync:
|
1044
1017
|
return self._delete_notifications_sync_without_preload_content(
|
1045
1018
|
_request_timeout=_request_timeout,
|
@@ -1375,10 +1348,7 @@ class NotificationsApi:
|
|
1375
1348
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1376
1349
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1377
1350
|
) -> List[Notification]:
|
1378
|
-
"""Get Notifications
|
1379
|
-
|
1380
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1381
|
-
"""
|
1351
|
+
"""Get Notifications"""
|
1382
1352
|
if self.is_sync:
|
1383
1353
|
return self._get_notifications_sync(
|
1384
1354
|
limit=limit,
|
@@ -1418,10 +1388,7 @@ class NotificationsApi:
|
|
1418
1388
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1419
1389
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1420
1390
|
) -> ApiResponse[List[Notification]]:
|
1421
|
-
"""Get Notifications with HTTP info
|
1422
|
-
|
1423
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1424
|
-
"""
|
1391
|
+
"""Get Notifications with HTTP info"""
|
1425
1392
|
if self.is_sync:
|
1426
1393
|
return self._get_notifications_sync_with_http_info(
|
1427
1394
|
limit=limit,
|
@@ -1461,10 +1428,7 @@ class NotificationsApi:
|
|
1461
1428
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1462
1429
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1463
1430
|
) -> RESTResponseType:
|
1464
|
-
"""Get Notifications without preloading content
|
1465
|
-
|
1466
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1467
|
-
"""
|
1431
|
+
"""Get Notifications without preloading content"""
|
1468
1432
|
if self.is_sync:
|
1469
1433
|
return self._get_notifications_sync_without_preload_content(
|
1470
1434
|
limit=limit,
|
@@ -1850,10 +1814,7 @@ class NotificationsApi:
|
|
1850
1814
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1851
1815
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1852
1816
|
) -> None:
|
1853
|
-
"""Update Notification
|
1854
|
-
|
1855
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1856
|
-
"""
|
1817
|
+
"""Update Notification"""
|
1857
1818
|
if self.is_sync:
|
1858
1819
|
return self._update_notification_sync(
|
1859
1820
|
id=id,
|
@@ -1893,10 +1854,7 @@ class NotificationsApi:
|
|
1893
1854
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1894
1855
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1895
1856
|
) -> ApiResponse[None]:
|
1896
|
-
"""Update Notification with HTTP info
|
1897
|
-
|
1898
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1899
|
-
"""
|
1857
|
+
"""Update Notification with HTTP info"""
|
1900
1858
|
if self.is_sync:
|
1901
1859
|
return self._update_notification_sync_with_http_info(
|
1902
1860
|
id=id,
|
@@ -1936,10 +1894,7 @@ class NotificationsApi:
|
|
1936
1894
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1937
1895
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1938
1896
|
) -> RESTResponseType:
|
1939
|
-
"""Update Notification without preloading content
|
1940
|
-
|
1941
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1942
|
-
"""
|
1897
|
+
"""Update Notification without preloading content"""
|
1943
1898
|
if self.is_sync:
|
1944
1899
|
return self._update_notification_sync_without_preload_content(
|
1945
1900
|
id=id,
|
@@ -2330,10 +2285,7 @@ class NotificationsApi:
|
|
2330
2285
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2331
2286
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2332
2287
|
) -> None:
|
2333
|
-
"""Update Notifications
|
2334
|
-
|
2335
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2336
|
-
"""
|
2288
|
+
"""Update Notifications"""
|
2337
2289
|
if self.is_sync:
|
2338
2290
|
return self._update_notifications_sync(
|
2339
2291
|
notification_update=notification_update,
|
@@ -2370,10 +2322,7 @@ class NotificationsApi:
|
|
2370
2322
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2371
2323
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2372
2324
|
) -> ApiResponse[None]:
|
2373
|
-
"""Update Notifications with HTTP info
|
2374
|
-
|
2375
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2376
|
-
"""
|
2325
|
+
"""Update Notifications with HTTP info"""
|
2377
2326
|
if self.is_sync:
|
2378
2327
|
return self._update_notifications_sync_with_http_info(
|
2379
2328
|
notification_update=notification_update,
|
@@ -2410,10 +2359,7 @@ class NotificationsApi:
|
|
2410
2359
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2411
2360
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2412
2361
|
) -> RESTResponseType:
|
2413
|
-
"""Update Notifications without preloading content
|
2414
|
-
|
2415
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2416
|
-
"""
|
2362
|
+
"""Update Notifications without preloading content"""
|
2417
2363
|
if self.is_sync:
|
2418
2364
|
return self._update_notifications_sync_without_preload_content(
|
2419
2365
|
notification_update=notification_update,
|
@@ -84,10 +84,7 @@ class OrdersApi:
|
|
84
84
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
85
85
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
86
86
|
) -> List[OrdersCount]:
|
87
|
-
"""Get Orders Count
|
88
|
-
|
89
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
90
|
-
"""
|
87
|
+
"""Get Orders Count"""
|
91
88
|
if self.is_sync:
|
92
89
|
return self._get_orders_count_sync(
|
93
90
|
sort_order=sort_order,
|
@@ -139,10 +136,7 @@ class OrdersApi:
|
|
139
136
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
140
137
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
141
138
|
) -> ApiResponse[List[OrdersCount]]:
|
142
|
-
"""Get Orders Count with HTTP info
|
143
|
-
|
144
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
145
|
-
"""
|
139
|
+
"""Get Orders Count with HTTP info"""
|
146
140
|
if self.is_sync:
|
147
141
|
return self._get_orders_count_sync_with_http_info(
|
148
142
|
sort_order=sort_order,
|
@@ -194,10 +188,7 @@ class OrdersApi:
|
|
194
188
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
195
189
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
196
190
|
) -> RESTResponseType:
|
197
|
-
"""Get Orders Count without preloading content
|
198
|
-
|
199
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
200
|
-
"""
|
191
|
+
"""Get Orders Count without preloading content"""
|
201
192
|
if self.is_sync:
|
202
193
|
return self._get_orders_count_sync_without_preload_content(
|
203
194
|
sort_order=sort_order,
|
@@ -71,10 +71,7 @@ class StatusApi:
|
|
71
71
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
72
72
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
73
73
|
) -> str:
|
74
|
-
"""Time
|
75
|
-
|
76
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
77
|
-
"""
|
74
|
+
"""Time"""
|
78
75
|
if self.is_sync:
|
79
76
|
return self._get_time_sync(
|
80
77
|
type=type,
|
@@ -111,10 +108,7 @@ class StatusApi:
|
|
111
108
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
112
109
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
113
110
|
) -> ApiResponse[str]:
|
114
|
-
"""Time with HTTP info
|
115
|
-
|
116
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
117
|
-
"""
|
111
|
+
"""Time with HTTP info"""
|
118
112
|
if self.is_sync:
|
119
113
|
return self._get_time_sync_with_http_info(
|
120
114
|
type=type,
|
@@ -151,10 +145,7 @@ class StatusApi:
|
|
151
145
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
152
146
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
153
147
|
) -> RESTResponseType:
|
154
|
-
"""Time without preloading content
|
155
|
-
|
156
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
157
|
-
"""
|
148
|
+
"""Time without preloading content"""
|
158
149
|
if self.is_sync:
|
159
150
|
return self._get_time_sync_without_preload_content(
|
160
151
|
type=type,
|
@@ -513,10 +504,7 @@ class StatusApi:
|
|
513
504
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
514
505
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
515
506
|
) -> str:
|
516
|
-
"""Ping
|
517
|
-
|
518
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
519
|
-
"""
|
507
|
+
"""Ping"""
|
520
508
|
if self.is_sync:
|
521
509
|
return self._ping_sync(
|
522
510
|
_request_timeout=_request_timeout,
|
@@ -550,10 +538,7 @@ class StatusApi:
|
|
550
538
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
551
539
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
552
540
|
) -> ApiResponse[str]:
|
553
|
-
"""Ping with HTTP info
|
554
|
-
|
555
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
556
|
-
"""
|
541
|
+
"""Ping with HTTP info"""
|
557
542
|
if self.is_sync:
|
558
543
|
return self._ping_sync_with_http_info(
|
559
544
|
_request_timeout=_request_timeout,
|
@@ -587,10 +572,7 @@ class StatusApi:
|
|
587
572
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
588
573
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
589
574
|
) -> RESTResponseType:
|
590
|
-
"""Ping without preloading content
|
591
|
-
|
592
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
593
|
-
"""
|
575
|
+
"""Ping without preloading content"""
|
594
576
|
if self.is_sync:
|
595
577
|
return self._ping_sync_without_preload_content(
|
596
578
|
_request_timeout=_request_timeout,
|
@@ -75,10 +75,7 @@ class StrategiesApi:
|
|
75
75
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
76
76
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
77
77
|
) -> Strategy:
|
78
|
-
"""Create Strategy
|
79
|
-
|
80
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
81
|
-
"""
|
78
|
+
"""Create Strategy"""
|
82
79
|
if self.is_sync:
|
83
80
|
return self._create_strategy_sync(
|
84
81
|
strategy_create=strategy_create,
|
@@ -115,10 +112,7 @@ class StrategiesApi:
|
|
115
112
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
116
113
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
117
114
|
) -> ApiResponse[Strategy]:
|
118
|
-
"""Create Strategy with HTTP info
|
119
|
-
|
120
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
121
|
-
"""
|
115
|
+
"""Create Strategy with HTTP info"""
|
122
116
|
if self.is_sync:
|
123
117
|
return self._create_strategy_sync_with_http_info(
|
124
118
|
strategy_create=strategy_create,
|
@@ -155,10 +149,7 @@ class StrategiesApi:
|
|
155
149
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
156
150
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
157
151
|
) -> RESTResponseType:
|
158
|
-
"""Create Strategy without preloading content
|
159
|
-
|
160
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
161
|
-
"""
|
152
|
+
"""Create Strategy without preloading content"""
|
162
153
|
if self.is_sync:
|
163
154
|
return self._create_strategy_sync_without_preload_content(
|
164
155
|
strategy_create=strategy_create,
|
@@ -537,10 +528,7 @@ class StrategiesApi:
|
|
537
528
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
538
529
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
539
530
|
) -> List[Strategy]:
|
540
|
-
"""Get Strategies
|
541
|
-
|
542
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
543
|
-
"""
|
531
|
+
"""Get Strategies"""
|
544
532
|
if self.is_sync:
|
545
533
|
return self._get_strategies_sync(
|
546
534
|
limit=limit,
|
@@ -590,10 +578,7 @@ class StrategiesApi:
|
|
590
578
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
591
579
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
592
580
|
) -> ApiResponse[List[Strategy]]:
|
593
|
-
"""Get Strategies with HTTP info
|
594
|
-
|
595
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
596
|
-
"""
|
581
|
+
"""Get Strategies with HTTP info"""
|
597
582
|
if self.is_sync:
|
598
583
|
return self._get_strategies_sync_with_http_info(
|
599
584
|
limit=limit,
|
@@ -643,10 +628,7 @@ class StrategiesApi:
|
|
643
628
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
644
629
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
645
630
|
) -> RESTResponseType:
|
646
|
-
"""Get Strategies without preloading content
|
647
|
-
|
648
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
649
|
-
"""
|
631
|
+
"""Get Strategies without preloading content"""
|
650
632
|
if self.is_sync:
|
651
633
|
return self._get_strategies_sync_without_preload_content(
|
652
634
|
limit=limit,
|
@@ -1090,10 +1072,7 @@ class StrategiesApi:
|
|
1090
1072
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1091
1073
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1092
1074
|
) -> List[List[object]]:
|
1093
|
-
"""Get Strategy Usage
|
1094
|
-
|
1095
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1096
|
-
"""
|
1075
|
+
"""Get Strategy Usage"""
|
1097
1076
|
if self.is_sync:
|
1098
1077
|
return self._get_strategy_usage_sync(
|
1099
1078
|
_request_timeout=_request_timeout,
|
@@ -1127,10 +1106,7 @@ class StrategiesApi:
|
|
1127
1106
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1128
1107
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1129
1108
|
) -> ApiResponse[List[List[object]]]:
|
1130
|
-
"""Get Strategy Usage with HTTP info
|
1131
|
-
|
1132
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1133
|
-
"""
|
1109
|
+
"""Get Strategy Usage with HTTP info"""
|
1134
1110
|
if self.is_sync:
|
1135
1111
|
return self._get_strategy_usage_sync_with_http_info(
|
1136
1112
|
_request_timeout=_request_timeout,
|
@@ -1164,10 +1140,7 @@ class StrategiesApi:
|
|
1164
1140
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1165
1141
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1166
1142
|
) -> RESTResponseType:
|
1167
|
-
"""Get Strategy Usage without preloading content
|
1168
|
-
|
1169
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1170
|
-
"""
|
1143
|
+
"""Get Strategy Usage without preloading content"""
|
1171
1144
|
if self.is_sync:
|
1172
1145
|
return self._get_strategy_usage_sync_without_preload_content(
|
1173
1146
|
_request_timeout=_request_timeout,
|
@@ -1502,10 +1475,7 @@ class StrategiesApi:
|
|
1502
1475
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1503
1476
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1504
1477
|
) -> None:
|
1505
|
-
"""Kill Strategy
|
1506
|
-
|
1507
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1508
|
-
"""
|
1478
|
+
"""Kill Strategy"""
|
1509
1479
|
if self.is_sync:
|
1510
1480
|
return self._kill_strategy_sync(
|
1511
1481
|
id=id,
|
@@ -1542,10 +1512,7 @@ class StrategiesApi:
|
|
1542
1512
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1543
1513
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1544
1514
|
) -> ApiResponse[None]:
|
1545
|
-
"""Kill Strategy with HTTP info
|
1546
|
-
|
1547
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1548
|
-
"""
|
1515
|
+
"""Kill Strategy with HTTP info"""
|
1549
1516
|
if self.is_sync:
|
1550
1517
|
return self._kill_strategy_sync_with_http_info(
|
1551
1518
|
id=id,
|
@@ -1582,10 +1549,7 @@ class StrategiesApi:
|
|
1582
1549
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1583
1550
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1584
1551
|
) -> RESTResponseType:
|
1585
|
-
"""Kill Strategy without preloading content
|
1586
|
-
|
1587
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1588
|
-
"""
|
1552
|
+
"""Kill Strategy without preloading content"""
|
1589
1553
|
if self.is_sync:
|
1590
1554
|
return self._kill_strategy_sync_without_preload_content(
|
1591
1555
|
id=id,
|
@@ -1946,10 +1910,7 @@ class StrategiesApi:
|
|
1946
1910
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1947
1911
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1948
1912
|
) -> Strategy:
|
1949
|
-
"""Update Strategy
|
1950
|
-
|
1951
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1952
|
-
"""
|
1913
|
+
"""Update Strategy"""
|
1953
1914
|
if self.is_sync:
|
1954
1915
|
return self._update_strategy_sync(
|
1955
1916
|
id=id,
|
@@ -1991,10 +1952,7 @@ class StrategiesApi:
|
|
1991
1952
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1992
1953
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1993
1954
|
) -> ApiResponse[Strategy]:
|
1994
|
-
"""Update Strategy with HTTP info
|
1995
|
-
|
1996
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
1997
|
-
"""
|
1955
|
+
"""Update Strategy with HTTP info"""
|
1998
1956
|
if self.is_sync:
|
1999
1957
|
return self._update_strategy_sync_with_http_info(
|
2000
1958
|
id=id,
|
@@ -2036,10 +1994,7 @@ class StrategiesApi:
|
|
2036
1994
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2037
1995
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
2038
1996
|
) -> RESTResponseType:
|
2039
|
-
"""Update Strategy without preloading content
|
2040
|
-
|
2041
|
-
This method can work in both sync and async modes based on the is_sync flag.
|
2042
|
-
"""
|
1997
|
+
"""Update Strategy without preloading content"""
|
2043
1998
|
if self.is_sync:
|
2044
1999
|
return self._update_strategy_sync_without_preload_content(
|
2045
2000
|
id=id,
|