crypticorn 2.1.2__py3-none-any.whl → 2.1.4__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/common/auth.py +0 -28
- crypticorn/common/auth_client.py +14 -18
- crypticorn/common/errors.py +216 -253
- crypticorn/common/sorter.py +36 -0
- crypticorn/pay/client/__init__.py +1 -0
- crypticorn/pay/client/api/now_payments_api.py +3 -16
- crypticorn/pay/client/api/payments_api.py +0 -42
- crypticorn/pay/client/api/products_api.py +18 -57
- crypticorn/pay/client/configuration.py +2 -1
- crypticorn/pay/client/models/__init__.py +1 -0
- crypticorn/pay/client/models/body_create_now_invoice.py +98 -0
- crypticorn/pay/client/models/body_create_product.py +98 -0
- crypticorn/pay/client/models/body_get_products.py +87 -0
- crypticorn/pay/client/models/body_handle_now_webhook.py +98 -0
- crypticorn/pay/client/models/body_update_product.py +98 -0
- crypticorn/pay/client/models/now_webhook_payload.py +1 -1
- crypticorn/pay/client/models/product_model.py +9 -0
- crypticorn/pay/client/models/scope.py +56 -0
- crypticorn/trade/client/api/api_keys_api.py +5 -70
- crypticorn/trade/client/api/bots_api.py +4 -56
- crypticorn/trade/client/api/exchanges_api.py +2 -19
- crypticorn/trade/client/api/futures_trading_panel_api.py +6 -74
- crypticorn/trade/client/api/notifications_api.py +6 -87
- crypticorn/trade/client/api/orders_api.py +2 -15
- crypticorn/trade/client/api/strategies_api.py +4 -56
- crypticorn/trade/client/api/trading_actions_api.py +1 -14
- crypticorn/trade/client/configuration.py +2 -1
- crypticorn/trade/client/models/api_error_identifier.py +4 -0
- {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/METADATA +1 -1
- {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/RECORD +32 -25
- {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/WHEEL +0 -0
- {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/top_level.txt +0 -0
@@ -42,7 +42,6 @@ class StrategiesApi:
|
|
42
42
|
async def create_strategy(
|
43
43
|
self,
|
44
44
|
strategy_model_input: StrategyModelInput,
|
45
|
-
access_token: Optional[StrictStr] = None,
|
46
45
|
_request_timeout: Union[
|
47
46
|
None,
|
48
47
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -60,8 +59,6 @@ class StrategiesApi:
|
|
60
59
|
|
61
60
|
:param strategy_model_input: (required)
|
62
61
|
:type strategy_model_input: StrategyModelInput
|
63
|
-
:param access_token:
|
64
|
-
:type access_token: str
|
65
62
|
:param _request_timeout: timeout setting for this request. If one
|
66
63
|
number provided, it will be total request
|
67
64
|
timeout. It can also be a pair (tuple) of
|
@@ -86,7 +83,6 @@ class StrategiesApi:
|
|
86
83
|
|
87
84
|
_param = self._create_strategy_serialize(
|
88
85
|
strategy_model_input=strategy_model_input,
|
89
|
-
access_token=access_token,
|
90
86
|
_request_auth=_request_auth,
|
91
87
|
_content_type=_content_type,
|
92
88
|
_headers=_headers,
|
@@ -110,7 +106,6 @@ class StrategiesApi:
|
|
110
106
|
async def create_strategy_with_http_info(
|
111
107
|
self,
|
112
108
|
strategy_model_input: StrategyModelInput,
|
113
|
-
access_token: Optional[StrictStr] = None,
|
114
109
|
_request_timeout: Union[
|
115
110
|
None,
|
116
111
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -128,8 +123,6 @@ class StrategiesApi:
|
|
128
123
|
|
129
124
|
:param strategy_model_input: (required)
|
130
125
|
:type strategy_model_input: StrategyModelInput
|
131
|
-
:param access_token:
|
132
|
-
:type access_token: str
|
133
126
|
:param _request_timeout: timeout setting for this request. If one
|
134
127
|
number provided, it will be total request
|
135
128
|
timeout. It can also be a pair (tuple) of
|
@@ -154,7 +147,6 @@ class StrategiesApi:
|
|
154
147
|
|
155
148
|
_param = self._create_strategy_serialize(
|
156
149
|
strategy_model_input=strategy_model_input,
|
157
|
-
access_token=access_token,
|
158
150
|
_request_auth=_request_auth,
|
159
151
|
_content_type=_content_type,
|
160
152
|
_headers=_headers,
|
@@ -178,7 +170,6 @@ class StrategiesApi:
|
|
178
170
|
async def create_strategy_without_preload_content(
|
179
171
|
self,
|
180
172
|
strategy_model_input: StrategyModelInput,
|
181
|
-
access_token: Optional[StrictStr] = None,
|
182
173
|
_request_timeout: Union[
|
183
174
|
None,
|
184
175
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -196,8 +187,6 @@ class StrategiesApi:
|
|
196
187
|
|
197
188
|
:param strategy_model_input: (required)
|
198
189
|
:type strategy_model_input: StrategyModelInput
|
199
|
-
:param access_token:
|
200
|
-
:type access_token: str
|
201
190
|
:param _request_timeout: timeout setting for this request. If one
|
202
191
|
number provided, it will be total request
|
203
192
|
timeout. It can also be a pair (tuple) of
|
@@ -222,7 +211,6 @@ class StrategiesApi:
|
|
222
211
|
|
223
212
|
_param = self._create_strategy_serialize(
|
224
213
|
strategy_model_input=strategy_model_input,
|
225
|
-
access_token=access_token,
|
226
214
|
_request_auth=_request_auth,
|
227
215
|
_content_type=_content_type,
|
228
216
|
_headers=_headers,
|
@@ -241,7 +229,6 @@ class StrategiesApi:
|
|
241
229
|
def _create_strategy_serialize(
|
242
230
|
self,
|
243
231
|
strategy_model_input,
|
244
|
-
access_token,
|
245
232
|
_request_auth,
|
246
233
|
_content_type,
|
247
234
|
_headers,
|
@@ -286,7 +273,7 @@ class StrategiesApi:
|
|
286
273
|
_header_params["Content-Type"] = _default_content_type
|
287
274
|
|
288
275
|
# authentication setting
|
289
|
-
_auth_settings: List[str] = ["HTTPBearer"]
|
276
|
+
_auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
|
290
277
|
|
291
278
|
return self.api_client.param_serialize(
|
292
279
|
method="POST",
|
@@ -308,7 +295,6 @@ class StrategiesApi:
|
|
308
295
|
self,
|
309
296
|
limit: Optional[StrictInt] = None,
|
310
297
|
offset: Optional[StrictInt] = None,
|
311
|
-
access_token: Optional[StrictStr] = None,
|
312
298
|
_request_timeout: Union[
|
313
299
|
None,
|
314
300
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -328,8 +314,6 @@ class StrategiesApi:
|
|
328
314
|
:type limit: int
|
329
315
|
:param offset:
|
330
316
|
:type offset: int
|
331
|
-
:param access_token:
|
332
|
-
:type access_token: str
|
333
317
|
:param _request_timeout: timeout setting for this request. If one
|
334
318
|
number provided, it will be total request
|
335
319
|
timeout. It can also be a pair (tuple) of
|
@@ -355,7 +339,6 @@ class StrategiesApi:
|
|
355
339
|
_param = self._get_strategies_serialize(
|
356
340
|
limit=limit,
|
357
341
|
offset=offset,
|
358
|
-
access_token=access_token,
|
359
342
|
_request_auth=_request_auth,
|
360
343
|
_content_type=_content_type,
|
361
344
|
_headers=_headers,
|
@@ -380,7 +363,6 @@ class StrategiesApi:
|
|
380
363
|
self,
|
381
364
|
limit: Optional[StrictInt] = None,
|
382
365
|
offset: Optional[StrictInt] = None,
|
383
|
-
access_token: Optional[StrictStr] = None,
|
384
366
|
_request_timeout: Union[
|
385
367
|
None,
|
386
368
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -400,8 +382,6 @@ class StrategiesApi:
|
|
400
382
|
:type limit: int
|
401
383
|
:param offset:
|
402
384
|
:type offset: int
|
403
|
-
:param access_token:
|
404
|
-
:type access_token: str
|
405
385
|
:param _request_timeout: timeout setting for this request. If one
|
406
386
|
number provided, it will be total request
|
407
387
|
timeout. It can also be a pair (tuple) of
|
@@ -427,7 +407,6 @@ class StrategiesApi:
|
|
427
407
|
_param = self._get_strategies_serialize(
|
428
408
|
limit=limit,
|
429
409
|
offset=offset,
|
430
|
-
access_token=access_token,
|
431
410
|
_request_auth=_request_auth,
|
432
411
|
_content_type=_content_type,
|
433
412
|
_headers=_headers,
|
@@ -452,7 +431,6 @@ class StrategiesApi:
|
|
452
431
|
self,
|
453
432
|
limit: Optional[StrictInt] = None,
|
454
433
|
offset: Optional[StrictInt] = None,
|
455
|
-
access_token: Optional[StrictStr] = None,
|
456
434
|
_request_timeout: Union[
|
457
435
|
None,
|
458
436
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -472,8 +450,6 @@ class StrategiesApi:
|
|
472
450
|
:type limit: int
|
473
451
|
:param offset:
|
474
452
|
:type offset: int
|
475
|
-
:param access_token:
|
476
|
-
:type access_token: str
|
477
453
|
:param _request_timeout: timeout setting for this request. If one
|
478
454
|
number provided, it will be total request
|
479
455
|
timeout. It can also be a pair (tuple) of
|
@@ -499,7 +475,6 @@ class StrategiesApi:
|
|
499
475
|
_param = self._get_strategies_serialize(
|
500
476
|
limit=limit,
|
501
477
|
offset=offset,
|
502
|
-
access_token=access_token,
|
503
478
|
_request_auth=_request_auth,
|
504
479
|
_content_type=_content_type,
|
505
480
|
_headers=_headers,
|
@@ -519,7 +494,6 @@ class StrategiesApi:
|
|
519
494
|
self,
|
520
495
|
limit,
|
521
496
|
offset,
|
522
|
-
access_token,
|
523
497
|
_request_auth,
|
524
498
|
_content_type,
|
525
499
|
_headers,
|
@@ -560,7 +534,7 @@ class StrategiesApi:
|
|
560
534
|
)
|
561
535
|
|
562
536
|
# authentication setting
|
563
|
-
_auth_settings: List[str] = ["HTTPBearer"]
|
537
|
+
_auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
|
564
538
|
|
565
539
|
return self.api_client.param_serialize(
|
566
540
|
method="GET",
|
@@ -581,7 +555,6 @@ class StrategiesApi:
|
|
581
555
|
async def kill_strategy(
|
582
556
|
self,
|
583
557
|
id: StrictStr,
|
584
|
-
access_token: Optional[StrictStr] = None,
|
585
558
|
_request_timeout: Union[
|
586
559
|
None,
|
587
560
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -600,8 +573,6 @@ class StrategiesApi:
|
|
600
573
|
|
601
574
|
:param id: (required)
|
602
575
|
:type id: str
|
603
|
-
:param access_token:
|
604
|
-
:type access_token: str
|
605
576
|
:param _request_timeout: timeout setting for this request. If one
|
606
577
|
number provided, it will be total request
|
607
578
|
timeout. It can also be a pair (tuple) of
|
@@ -626,7 +597,6 @@ class StrategiesApi:
|
|
626
597
|
|
627
598
|
_param = self._kill_strategy_serialize(
|
628
599
|
id=id,
|
629
|
-
access_token=access_token,
|
630
600
|
_request_auth=_request_auth,
|
631
601
|
_content_type=_content_type,
|
632
602
|
_headers=_headers,
|
@@ -650,7 +620,6 @@ class StrategiesApi:
|
|
650
620
|
async def kill_strategy_with_http_info(
|
651
621
|
self,
|
652
622
|
id: StrictStr,
|
653
|
-
access_token: Optional[StrictStr] = None,
|
654
623
|
_request_timeout: Union[
|
655
624
|
None,
|
656
625
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -669,8 +638,6 @@ class StrategiesApi:
|
|
669
638
|
|
670
639
|
:param id: (required)
|
671
640
|
:type id: str
|
672
|
-
:param access_token:
|
673
|
-
:type access_token: str
|
674
641
|
:param _request_timeout: timeout setting for this request. If one
|
675
642
|
number provided, it will be total request
|
676
643
|
timeout. It can also be a pair (tuple) of
|
@@ -695,7 +662,6 @@ class StrategiesApi:
|
|
695
662
|
|
696
663
|
_param = self._kill_strategy_serialize(
|
697
664
|
id=id,
|
698
|
-
access_token=access_token,
|
699
665
|
_request_auth=_request_auth,
|
700
666
|
_content_type=_content_type,
|
701
667
|
_headers=_headers,
|
@@ -719,7 +685,6 @@ class StrategiesApi:
|
|
719
685
|
async def kill_strategy_without_preload_content(
|
720
686
|
self,
|
721
687
|
id: StrictStr,
|
722
|
-
access_token: Optional[StrictStr] = None,
|
723
688
|
_request_timeout: Union[
|
724
689
|
None,
|
725
690
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -738,8 +703,6 @@ class StrategiesApi:
|
|
738
703
|
|
739
704
|
:param id: (required)
|
740
705
|
:type id: str
|
741
|
-
:param access_token:
|
742
|
-
:type access_token: str
|
743
706
|
:param _request_timeout: timeout setting for this request. If one
|
744
707
|
number provided, it will be total request
|
745
708
|
timeout. It can also be a pair (tuple) of
|
@@ -764,7 +727,6 @@ class StrategiesApi:
|
|
764
727
|
|
765
728
|
_param = self._kill_strategy_serialize(
|
766
729
|
id=id,
|
767
|
-
access_token=access_token,
|
768
730
|
_request_auth=_request_auth,
|
769
731
|
_content_type=_content_type,
|
770
732
|
_headers=_headers,
|
@@ -783,7 +745,6 @@ class StrategiesApi:
|
|
783
745
|
def _kill_strategy_serialize(
|
784
746
|
self,
|
785
747
|
id,
|
786
|
-
access_token,
|
787
748
|
_request_auth,
|
788
749
|
_content_type,
|
789
750
|
_headers,
|
@@ -818,7 +779,7 @@ class StrategiesApi:
|
|
818
779
|
)
|
819
780
|
|
820
781
|
# authentication setting
|
821
|
-
_auth_settings: List[str] = ["HTTPBearer"]
|
782
|
+
_auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
|
822
783
|
|
823
784
|
return self.api_client.param_serialize(
|
824
785
|
method="DELETE",
|
@@ -840,7 +801,6 @@ class StrategiesApi:
|
|
840
801
|
self,
|
841
802
|
id: StrictStr,
|
842
803
|
strategy_model_input: StrategyModelInput,
|
843
|
-
access_token: Optional[StrictStr] = None,
|
844
804
|
_request_timeout: Union[
|
845
805
|
None,
|
846
806
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -861,8 +821,6 @@ class StrategiesApi:
|
|
861
821
|
:type id: str
|
862
822
|
:param strategy_model_input: (required)
|
863
823
|
:type strategy_model_input: StrategyModelInput
|
864
|
-
:param access_token:
|
865
|
-
:type access_token: str
|
866
824
|
:param _request_timeout: timeout setting for this request. If one
|
867
825
|
number provided, it will be total request
|
868
826
|
timeout. It can also be a pair (tuple) of
|
@@ -888,7 +846,6 @@ class StrategiesApi:
|
|
888
846
|
_param = self._update_strategy_serialize(
|
889
847
|
id=id,
|
890
848
|
strategy_model_input=strategy_model_input,
|
891
|
-
access_token=access_token,
|
892
849
|
_request_auth=_request_auth,
|
893
850
|
_content_type=_content_type,
|
894
851
|
_headers=_headers,
|
@@ -913,7 +870,6 @@ class StrategiesApi:
|
|
913
870
|
self,
|
914
871
|
id: StrictStr,
|
915
872
|
strategy_model_input: StrategyModelInput,
|
916
|
-
access_token: Optional[StrictStr] = None,
|
917
873
|
_request_timeout: Union[
|
918
874
|
None,
|
919
875
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -934,8 +890,6 @@ class StrategiesApi:
|
|
934
890
|
:type id: str
|
935
891
|
:param strategy_model_input: (required)
|
936
892
|
:type strategy_model_input: StrategyModelInput
|
937
|
-
:param access_token:
|
938
|
-
:type access_token: str
|
939
893
|
:param _request_timeout: timeout setting for this request. If one
|
940
894
|
number provided, it will be total request
|
941
895
|
timeout. It can also be a pair (tuple) of
|
@@ -961,7 +915,6 @@ class StrategiesApi:
|
|
961
915
|
_param = self._update_strategy_serialize(
|
962
916
|
id=id,
|
963
917
|
strategy_model_input=strategy_model_input,
|
964
|
-
access_token=access_token,
|
965
918
|
_request_auth=_request_auth,
|
966
919
|
_content_type=_content_type,
|
967
920
|
_headers=_headers,
|
@@ -986,7 +939,6 @@ class StrategiesApi:
|
|
986
939
|
self,
|
987
940
|
id: StrictStr,
|
988
941
|
strategy_model_input: StrategyModelInput,
|
989
|
-
access_token: Optional[StrictStr] = None,
|
990
942
|
_request_timeout: Union[
|
991
943
|
None,
|
992
944
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1007,8 +959,6 @@ class StrategiesApi:
|
|
1007
959
|
:type id: str
|
1008
960
|
:param strategy_model_input: (required)
|
1009
961
|
:type strategy_model_input: StrategyModelInput
|
1010
|
-
:param access_token:
|
1011
|
-
:type access_token: str
|
1012
962
|
:param _request_timeout: timeout setting for this request. If one
|
1013
963
|
number provided, it will be total request
|
1014
964
|
timeout. It can also be a pair (tuple) of
|
@@ -1034,7 +984,6 @@ class StrategiesApi:
|
|
1034
984
|
_param = self._update_strategy_serialize(
|
1035
985
|
id=id,
|
1036
986
|
strategy_model_input=strategy_model_input,
|
1037
|
-
access_token=access_token,
|
1038
987
|
_request_auth=_request_auth,
|
1039
988
|
_content_type=_content_type,
|
1040
989
|
_headers=_headers,
|
@@ -1054,7 +1003,6 @@ class StrategiesApi:
|
|
1054
1003
|
self,
|
1055
1004
|
id,
|
1056
1005
|
strategy_model_input,
|
1057
|
-
access_token,
|
1058
1006
|
_request_auth,
|
1059
1007
|
_content_type,
|
1060
1008
|
_headers,
|
@@ -1101,7 +1049,7 @@ class StrategiesApi:
|
|
1101
1049
|
_header_params["Content-Type"] = _default_content_type
|
1102
1050
|
|
1103
1051
|
# authentication setting
|
1104
|
-
_auth_settings: List[str] = ["HTTPBearer"]
|
1052
|
+
_auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
|
1105
1053
|
|
1106
1054
|
return self.api_client.param_serialize(
|
1107
1055
|
method="PUT",
|
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
17
|
from typing_extensions import Annotated
|
18
18
|
|
19
|
-
from pydantic import StrictInt
|
19
|
+
from pydantic import StrictInt
|
20
20
|
from typing import Any, List, Optional
|
21
21
|
from crypticorn.trade.client.models.action_model import ActionModel
|
22
22
|
from crypticorn.trade.client.models.futures_trading_action import FuturesTradingAction
|
@@ -44,7 +44,6 @@ class TradingActionsApi:
|
|
44
44
|
self,
|
45
45
|
limit: Optional[StrictInt] = None,
|
46
46
|
offset: Optional[StrictInt] = None,
|
47
|
-
access_token: Optional[StrictStr] = None,
|
48
47
|
_request_timeout: Union[
|
49
48
|
None,
|
50
49
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -64,8 +63,6 @@ class TradingActionsApi:
|
|
64
63
|
:type limit: int
|
65
64
|
:param offset:
|
66
65
|
:type offset: int
|
67
|
-
:param access_token:
|
68
|
-
:type access_token: str
|
69
66
|
:param _request_timeout: timeout setting for this request. If one
|
70
67
|
number provided, it will be total request
|
71
68
|
timeout. It can also be a pair (tuple) of
|
@@ -91,7 +88,6 @@ class TradingActionsApi:
|
|
91
88
|
_param = self._get_actions_serialize(
|
92
89
|
limit=limit,
|
93
90
|
offset=offset,
|
94
|
-
access_token=access_token,
|
95
91
|
_request_auth=_request_auth,
|
96
92
|
_content_type=_content_type,
|
97
93
|
_headers=_headers,
|
@@ -116,7 +112,6 @@ class TradingActionsApi:
|
|
116
112
|
self,
|
117
113
|
limit: Optional[StrictInt] = None,
|
118
114
|
offset: Optional[StrictInt] = None,
|
119
|
-
access_token: Optional[StrictStr] = None,
|
120
115
|
_request_timeout: Union[
|
121
116
|
None,
|
122
117
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -136,8 +131,6 @@ class TradingActionsApi:
|
|
136
131
|
:type limit: int
|
137
132
|
:param offset:
|
138
133
|
:type offset: int
|
139
|
-
:param access_token:
|
140
|
-
:type access_token: str
|
141
134
|
:param _request_timeout: timeout setting for this request. If one
|
142
135
|
number provided, it will be total request
|
143
136
|
timeout. It can also be a pair (tuple) of
|
@@ -163,7 +156,6 @@ class TradingActionsApi:
|
|
163
156
|
_param = self._get_actions_serialize(
|
164
157
|
limit=limit,
|
165
158
|
offset=offset,
|
166
|
-
access_token=access_token,
|
167
159
|
_request_auth=_request_auth,
|
168
160
|
_content_type=_content_type,
|
169
161
|
_headers=_headers,
|
@@ -188,7 +180,6 @@ class TradingActionsApi:
|
|
188
180
|
self,
|
189
181
|
limit: Optional[StrictInt] = None,
|
190
182
|
offset: Optional[StrictInt] = None,
|
191
|
-
access_token: Optional[StrictStr] = None,
|
192
183
|
_request_timeout: Union[
|
193
184
|
None,
|
194
185
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -208,8 +199,6 @@ class TradingActionsApi:
|
|
208
199
|
:type limit: int
|
209
200
|
:param offset:
|
210
201
|
:type offset: int
|
211
|
-
:param access_token:
|
212
|
-
:type access_token: str
|
213
202
|
:param _request_timeout: timeout setting for this request. If one
|
214
203
|
number provided, it will be total request
|
215
204
|
timeout. It can also be a pair (tuple) of
|
@@ -235,7 +224,6 @@ class TradingActionsApi:
|
|
235
224
|
_param = self._get_actions_serialize(
|
236
225
|
limit=limit,
|
237
226
|
offset=offset,
|
238
|
-
access_token=access_token,
|
239
227
|
_request_auth=_request_auth,
|
240
228
|
_content_type=_content_type,
|
241
229
|
_headers=_headers,
|
@@ -255,7 +243,6 @@ class TradingActionsApi:
|
|
255
243
|
self,
|
256
244
|
limit,
|
257
245
|
offset,
|
258
|
-
access_token,
|
259
246
|
_request_auth,
|
260
247
|
_content_type,
|
261
248
|
_headers,
|
@@ -119,7 +119,7 @@ HTTPSignatureAuthSetting = TypedDict(
|
|
119
119
|
AuthSettings = TypedDict(
|
120
120
|
"AuthSettings",
|
121
121
|
{
|
122
|
-
"HTTPBearer":
|
122
|
+
"HTTPBearer": BearerFormatAuthSetting,
|
123
123
|
"APIKeyHeader": APIKeyAuthSetting,
|
124
124
|
},
|
125
125
|
total=False,
|
@@ -515,6 +515,7 @@ class Configuration:
|
|
515
515
|
auth["HTTPBearer"] = {
|
516
516
|
"type": "bearer",
|
517
517
|
"in": "header",
|
518
|
+
"format": "JWT",
|
518
519
|
"key": "Authorization",
|
519
520
|
"value": "Bearer " + self.access_token,
|
520
521
|
}
|
@@ -85,6 +85,10 @@ class ApiErrorIdentifier(str, Enum):
|
|
85
85
|
STRATEGY_DISABLED = "strategy_disabled"
|
86
86
|
API_KEY_IN_USE_BY_BOTS = "api_key_in_use_by_bots"
|
87
87
|
BOT_ALREADY_DELETED = "bot_already_deleted"
|
88
|
+
INVALID_API_KEY = "invalid_api_key"
|
89
|
+
INVALID_BEARER = "invalid_bearer"
|
90
|
+
NO_CREDENTIALS = "no_credentials"
|
91
|
+
INSUFFICIENT_SCOPES = "insufficient_scopes"
|
88
92
|
|
89
93
|
@classmethod
|
90
94
|
def from_json(cls, json_str: str) -> Self:
|
@@ -55,10 +55,11 @@ crypticorn/auth/client/models/verify_wallet_request.py,sha256=b0DAocvhKzPXPjM62D
|
|
55
55
|
crypticorn/auth/client/models/wallet_verified200_response.py,sha256=QILnTLsCKdI-WdV_fsLBy1UH4ZZU-U-wWJ9ot8v08tI,2465
|
56
56
|
crypticorn/auth/client/models/whoami200_response.py,sha256=uehdq5epgeOphhrIR3tbrseflxcLAzGyKF-VW-o5cY8,2974
|
57
57
|
crypticorn/common/__init__.py,sha256=lY87VMTkIEqto6kcEjC1YWsUvT03QuPmXwxCaeWE854,196
|
58
|
-
crypticorn/common/auth.py,sha256=
|
59
|
-
crypticorn/common/auth_client.py,sha256=
|
60
|
-
crypticorn/common/errors.py,sha256=
|
58
|
+
crypticorn/common/auth.py,sha256=LEnTh2bqbljCdTNJUqTOTo2Q39gEz0JRumF1Z5MHQz0,319
|
59
|
+
crypticorn/common/auth_client.py,sha256=7ICjLRPOIXzEJXW76BgVxkNfi_QjuRdLZBX6TNvTpJE,7588
|
60
|
+
crypticorn/common/errors.py,sha256=hgeCSRfFhE7ifii7Iu1qwNEYP5WacQNlHrbRHLzhtWc,12613
|
61
61
|
crypticorn/common/scopes.py,sha256=pRD9RauSRSxVGo8k5b2x66h3Wy2aaVEcluZvu6aMTE0,1418
|
62
|
+
crypticorn/common/sorter.py,sha256=rdHKlUTEVsSAiXvlumLudeKm2pPFXFq1nJ8bTqk2l64,1188
|
62
63
|
crypticorn/common/urls.py,sha256=_NMhvhZXOsZpDBbgucqu0yboRFox6JVMlOoQq_Y5SGA,432
|
63
64
|
crypticorn/hive/__init__.py,sha256=hRfTlEzEql4msytdUC_04vfaHzVKG5CGZle1M-9QFgY,81
|
64
65
|
crypticorn/hive/main.py,sha256=RmCYSR0jwmfYWTK89dt79DuGPjEaip9XQs_LWNWr_tc,1036
|
@@ -135,20 +136,25 @@ crypticorn/klines/client/models/validation_error.py,sha256=TMfS5WKx6jSNPdppQA5Ya
|
|
135
136
|
crypticorn/klines/client/models/validation_error_loc_inner.py,sha256=tUClZ2b89NWJWHagBsZ5rlEjiV1vn4sgpAncHKUIZRg,5411
|
136
137
|
crypticorn/pay/__init__.py,sha256=ux-B-YbNetpTlZTb2fijuGUOEmSm4IB0fYtieGnVDBg,78
|
137
138
|
crypticorn/pay/main.py,sha256=DbwP_DI5Zp3Ow-Fq2khnnb0hOvrpA29e-jeRyrCCbBs,1075
|
138
|
-
crypticorn/pay/client/__init__.py,sha256
|
139
|
+
crypticorn/pay/client/__init__.py,sha256=-Nk_UoRtKtpbY1-9iP1hUdDczdP6eE3T_Z1wVNhkAZo,2377
|
139
140
|
crypticorn/pay/client/api_client.py,sha256=kZqhvF9r2vqqOYnnu6hTAQVWPmzjFKhC9efShUCfr7o,26944
|
140
141
|
crypticorn/pay/client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
141
|
-
crypticorn/pay/client/configuration.py,sha256=
|
142
|
+
crypticorn/pay/client/configuration.py,sha256=RzfAPrk-jnixKZacGbYfH96sCnWp4cjsNZ1Oxa6yg60,18837
|
142
143
|
crypticorn/pay/client/exceptions.py,sha256=MDc2SQUS-0mvq7uH_XGfJxYNIRsDrxhRim0CELMn23E,6455
|
143
144
|
crypticorn/pay/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
144
145
|
crypticorn/pay/client/rest.py,sha256=6ZLCKhRuEMURb6glMbPriHGoN0uspDC_hvlFDKCALxo,6985
|
145
146
|
crypticorn/pay/client/api/__init__.py,sha256=vbisPmBd4c5G3_MHAlInKeu1obSr8witdtwxC43BnN8,302
|
146
|
-
crypticorn/pay/client/api/now_payments_api.py,sha256=
|
147
|
-
crypticorn/pay/client/api/payments_api.py,sha256=
|
148
|
-
crypticorn/pay/client/api/products_api.py,sha256=
|
147
|
+
crypticorn/pay/client/api/now_payments_api.py,sha256=bdqm_blpCcdYAy0cnl7QbGRajQMtsAjh7FN325Kw5es,32998
|
148
|
+
crypticorn/pay/client/api/payments_api.py,sha256=CguFpYEha5sTOwwDB2hcLPd0KxjP6gIFNvwI-SgoiG8,30358
|
149
|
+
crypticorn/pay/client/api/products_api.py,sha256=tK6Ck_bJ01BMGSAuRAgF_wD64jSWHqGqwLLeHcTtK3w,33124
|
149
150
|
crypticorn/pay/client/api/status_api.py,sha256=8QRvrCSHBRW0n7NlIEA6LDGhsy6Wx4WqPRH81e1X2gs,9928
|
150
|
-
crypticorn/pay/client/models/__init__.py,sha256=
|
151
|
+
crypticorn/pay/client/models/__init__.py,sha256=W2NnF4IInw7iBNVZnPTkxgxos0l-H1O39ebt--aB-Gk,1515
|
151
152
|
crypticorn/pay/client/models/api_status_res.py,sha256=Dt5g0wvtyIkkVcXyFjXzxokeqZb-Y0rJr_YljjeVcfw,2514
|
153
|
+
crypticorn/pay/client/models/body_create_now_invoice.py,sha256=U-71aiNYJwyuFIq8APbZlvXiLGpzrMABp9u8ZmP9XqU,3065
|
154
|
+
crypticorn/pay/client/models/body_create_product.py,sha256=Z1QxcFS9o8z1DNrEMjKtYsBmf0__PYhrBUoWCX0FI-4,3050
|
155
|
+
crypticorn/pay/client/models/body_get_products.py,sha256=BFIGkvlrLXQA1ZjDNOrQZj_8Cnfru9l3pfT0mti9bf4,2629
|
156
|
+
crypticorn/pay/client/models/body_handle_now_webhook.py,sha256=sue_5IALq1lEx6TvZGThczvZMfrk5_WLAQFGtgWP9L0,3056
|
157
|
+
crypticorn/pay/client/models/body_update_product.py,sha256=oLjKuv9oRQYO2Cjn9uhP1MJgmYD7sP8wxOxL1Rb8Dq4,3050
|
152
158
|
crypticorn/pay/client/models/combined_payment_history.py,sha256=FxXpYL4ml1ndTWXP3whAQ0g7GNoqRuVpP_4m3dsT1vg,3194
|
153
159
|
crypticorn/pay/client/models/create_invoice_req.py,sha256=-Ru0Tg6sRu2g_mjmHrQEv6WnLlBOSbsxz2LLWZms5hM,6709
|
154
160
|
crypticorn/pay/client/models/create_invoice_res.py,sha256=irdNTmj4YgJ1n48fE60kMg509AP7AqGy1DpxtDMkgTE,7022
|
@@ -167,12 +173,13 @@ crypticorn/pay/client/models/now_create_invoice_res.py,sha256=xCxAJDXJWFThIeo-om
|
|
167
173
|
crypticorn/pay/client/models/now_fee_structure.py,sha256=aGsxYVU83iAVjzb_ui8Rm5KOA6Py73rkeHEoWt_mLa4,3240
|
168
174
|
crypticorn/pay/client/models/now_payment_model.py,sha256=8HRibX74KMJnXZE3IW8TC00JThmRY3jX9nWnCI16d34,4155
|
169
175
|
crypticorn/pay/client/models/now_payment_status.py,sha256=nvjz7KucgtqmDsLfd3Khg0IK-xtPRgzXuc5hWfSOdRw,975
|
170
|
-
crypticorn/pay/client/models/now_webhook_payload.py,sha256=
|
176
|
+
crypticorn/pay/client/models/now_webhook_payload.py,sha256=tvJNfTCKmuBs7rz1Mud_NACRtPWlCnzaHtmM-RriTkc,6793
|
171
177
|
crypticorn/pay/client/models/payment.py,sha256=dPt7eMCNcdiZdZ_Mf_4W0tkufz95YJ9Cdyq8IuIQRgE,8797
|
172
178
|
crypticorn/pay/client/models/payment_status.py,sha256=Nr__kC34aCKqSk-Gq3-mt0SI5bOTlKB1uz9hKGj8sSc,897
|
173
179
|
crypticorn/pay/client/models/product.py,sha256=ndBOZ2ED2T37VDpgbdQOG_WqwK2zlOQYnkwuLcgGrC0,2592
|
174
|
-
crypticorn/pay/client/models/product_model.py,sha256=
|
180
|
+
crypticorn/pay/client/models/product_model.py,sha256=mHfTuzpwGF02kvMY3dzvlk5Rmkdpne5N07L7Rakwo2g,3875
|
175
181
|
crypticorn/pay/client/models/product_subs_model.py,sha256=EbqWBAfin-sn5A8Do5F4EwI59lvCQp3Bp6-lCr0gfYA,3375
|
182
|
+
crypticorn/pay/client/models/scope.py,sha256=lqaeb-uaBFekkOY9RGIAUtpuU_KMeRyFauEC13Ppv-s,2037
|
176
183
|
crypticorn/pay/client/models/services.py,sha256=OJXhv7l2rLKoqrQWNvzBD8eYykan-1KHMJG3TeKVuUk,729
|
177
184
|
crypticorn/pay/client/models/unified_payment_model.py,sha256=_Y9OtWZ-N7QDxsCte0UlMsRlPXKnp4uk2GbxXCPjAGA,3641
|
178
185
|
crypticorn/pay/client/models/validation_error.py,sha256=vzw1GCCSx0Tct-t8b4IfNQe4jaioantmwbwz2Cmi4AA,3226
|
@@ -182,23 +189,23 @@ crypticorn/trade/main.py,sha256=UapbqtrjsgpjouNuCYxnP8iqcSEMRWCvxq8uN-JecvU,1520
|
|
182
189
|
crypticorn/trade/client/__init__.py,sha256=Wa4Pn_QmZfZpScj3eM5hTh1gxcg9j9O13jImEySmQJ0,3480
|
183
190
|
crypticorn/trade/client/api_client.py,sha256=GZFlYDIxGpPWtK6CnTqZLN8kWSSSzcdziNY4kTB1hE4,26956
|
184
191
|
crypticorn/trade/client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
185
|
-
crypticorn/trade/client/configuration.py,sha256=
|
192
|
+
crypticorn/trade/client/configuration.py,sha256=Ih111_59QLT7CWHdE3L_5GRuw5ie0gx5mlu2Nyqu8Lc,18841
|
186
193
|
crypticorn/trade/client/exceptions.py,sha256=xSXlQpvCm5JkPI_N49jdTm72mSHMLOIDQ3goHqgyx5s,6455
|
187
194
|
crypticorn/trade/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
188
195
|
crypticorn/trade/client/rest.py,sha256=o2sJyURJxO3XckjU_VuASM5AN0R5TsRcH1vtKCR97oI,6987
|
189
196
|
crypticorn/trade/client/api/__init__.py,sha256=s6jcukWHyom8Bp9Vj0yrOL37-dNPNvdvMK_aXwpKZzc,668
|
190
|
-
crypticorn/trade/client/api/api_keys_api.py,sha256=
|
191
|
-
crypticorn/trade/client/api/bots_api.py,sha256=
|
192
|
-
crypticorn/trade/client/api/exchanges_api.py,sha256=
|
193
|
-
crypticorn/trade/client/api/futures_trading_panel_api.py,sha256=
|
194
|
-
crypticorn/trade/client/api/notifications_api.py,sha256=
|
195
|
-
crypticorn/trade/client/api/orders_api.py,sha256=
|
197
|
+
crypticorn/trade/client/api/api_keys_api.py,sha256=iATzCULeKgd1rE2Oe8w4vn2ZoSvGJx5KLpD2ZyTs0qY,50862
|
198
|
+
crypticorn/trade/client/api/bots_api.py,sha256=WnrJK7zTGxJhaF6Blps3hXLUo03ud0aN-V3DjOsur20,41988
|
199
|
+
crypticorn/trade/client/api/exchanges_api.py,sha256=PX8yeVZFDWxmsortW0HdphbNtYRYWaLv8nkE8VUmPgg,10166
|
200
|
+
crypticorn/trade/client/api/futures_trading_panel_api.py,sha256=xOxjCqg2o0exmQofO4l65LVFTOLHC8YBbVNzcyyBou0,50581
|
201
|
+
crypticorn/trade/client/api/notifications_api.py,sha256=wTwrEj_GxjpxaZNCezKN6BRsI1cgWB3npcNstYZ912E,61442
|
202
|
+
crypticorn/trade/client/api/orders_api.py,sha256=zibuEr3448IefONOEcgti06nxNtJCvi6WYRN7z8Z9mE,11217
|
196
203
|
crypticorn/trade/client/api/status_api.py,sha256=deaW23XWpUMqhFzxO9GqT0MI8ZlAIC_f4ewdPLExBMw,9934
|
197
|
-
crypticorn/trade/client/api/strategies_api.py,sha256=
|
198
|
-
crypticorn/trade/client/api/trading_actions_api.py,sha256=
|
204
|
+
crypticorn/trade/client/api/strategies_api.py,sha256=asNtn8mZDTRu36PGGGHLRtevQ3NFs-6nQ1XRju2xSaU,42444
|
205
|
+
crypticorn/trade/client/api/trading_actions_api.py,sha256=BfW61jUsOZxhzcYgLLF19hGeSHElarxUeK1Re0q_wpY,32402
|
199
206
|
crypticorn/trade/client/models/__init__.py,sha256=qn31GdssVyCozLVuFZfK11ju9yDwY-Y3okMyn_ZmuRA,2234
|
200
207
|
crypticorn/trade/client/models/action_model.py,sha256=W-6IJl9KgeiBkZc95HH9kdvmmb-vzYtJ-HfKN0YzC_U,10131
|
201
|
-
crypticorn/trade/client/models/api_error_identifier.py,sha256=
|
208
|
+
crypticorn/trade/client/models/api_error_identifier.py,sha256=kKzp8Pq-dVPCwnmCqDJvs9dqrvvkt2wSU84rOOERgn4,3966
|
202
209
|
crypticorn/trade/client/models/api_error_level.py,sha256=GJpETKQqVEs3ZPJVkBQ3npXYtIXaS_RSk0ZKHi-6yf0,796
|
203
210
|
crypticorn/trade/client/models/api_error_type.py,sha256=ANXQ3lPxQ9Jyh_-Q4ljHFHt5uH6ljBHPzK7SDy7etek,840
|
204
211
|
crypticorn/trade/client/models/api_key_model.py,sha256=CM6BeEc3ctmfLMnRht-_k_WDCjGWreOI7670h4KhhAM,5281
|
@@ -225,7 +232,7 @@ crypticorn/trade/client/models/trading_action_type.py,sha256=jW0OsNz_ZNXlITxAfh9
|
|
225
232
|
crypticorn/trade/client/models/update_notification.py,sha256=B9QUuVRNpk1e5G8o0WFgIg3inm-OX7KJAJcjVnRzYx8,3046
|
226
233
|
crypticorn/trade/client/models/validation_error.py,sha256=uTkvsKrOAt-21UC0YPqCdRl_OMsuu7uhPtWuwRSYvv0,3228
|
227
234
|
crypticorn/trade/client/models/validation_error_loc_inner.py,sha256=22ql-H829xTBgfxNQZsqd8fS3zQt9tLW1pj0iobo0jY,5131
|
228
|
-
crypticorn-2.1.
|
229
|
-
crypticorn-2.1.
|
230
|
-
crypticorn-2.1.
|
231
|
-
crypticorn-2.1.
|
235
|
+
crypticorn-2.1.4.dist-info/METADATA,sha256=n7fhJUFjDWBayyOtm_lsQEl8n8_3HWzc-PIeKU5x_ww,3120
|
236
|
+
crypticorn-2.1.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
237
|
+
crypticorn-2.1.4.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
|
238
|
+
crypticorn-2.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|