crypticorn 2.2.1__py3-none-any.whl → 2.2.3__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/models/authorize_user_request.py +10 -4
- crypticorn/auth/client/models/create_api_key_request.py +19 -19
- crypticorn/auth/client/models/get_api_keys200_response_inner.py +18 -10
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +11 -7
- crypticorn/auth/client/models/verify200_response.py +15 -9
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +15 -9
- crypticorn/client.py +17 -10
- crypticorn/common/__init__.py +2 -1
- crypticorn/common/auth.py +1 -0
- crypticorn/common/errors.py +63 -16
- crypticorn/common/pydantic.py +14 -8
- crypticorn/common/scopes.py +3 -3
- crypticorn/common/sorter.py +8 -6
- crypticorn/common/urls.py +2 -0
- crypticorn/klines/client/configuration.py +1 -3
- crypticorn/metrics/__init__.py +3 -1
- crypticorn/metrics/main.py +6 -5
- crypticorn/pay/client/__init__.py +3 -0
- crypticorn/pay/client/api/now_payments_api.py +3 -3
- crypticorn/pay/client/api/payments_api.py +47 -19
- crypticorn/pay/client/api/products_api.py +72 -63
- crypticorn/pay/client/models/__init__.py +3 -0
- crypticorn/pay/client/models/now_webhook_payload.py +1 -1
- crypticorn/pay/client/models/partial_product_update_model.py +150 -0
- crypticorn/pay/client/models/product_update_model.py +150 -0
- crypticorn/trade/client/api/api_keys_api.py +50 -50
- crypticorn/trade/client/api/bots_api.py +3 -3
- crypticorn/trade/client/api/futures_trading_panel_api.py +15 -15
- {crypticorn-2.2.1.dist-info → crypticorn-2.2.3.dist-info}/METADATA +1 -1
- {crypticorn-2.2.1.dist-info → crypticorn-2.2.3.dist-info}/RECORD +32 -30
- {crypticorn-2.2.1.dist-info → crypticorn-2.2.3.dist-info}/WHEEL +0 -0
- {crypticorn-2.2.1.dist-info → crypticorn-2.2.3.dist-info}/top_level.txt +0 -0
@@ -38,7 +38,7 @@ class APIKeysApi:
|
|
38
38
|
self.api_client = api_client
|
39
39
|
|
40
40
|
@validate_call
|
41
|
-
async def
|
41
|
+
async def create_exchange_key(
|
42
42
|
self,
|
43
43
|
api_key_model: APIKeyModel,
|
44
44
|
_request_timeout: Union[
|
@@ -53,7 +53,7 @@ class APIKeysApi:
|
|
53
53
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
54
54
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
55
55
|
) -> object:
|
56
|
-
"""Post
|
56
|
+
"""Post Exchange Key
|
57
57
|
|
58
58
|
|
59
59
|
:param api_key_model: (required)
|
@@ -80,7 +80,7 @@ class APIKeysApi:
|
|
80
80
|
:return: Returns the result object.
|
81
81
|
""" # noqa: E501
|
82
82
|
|
83
|
-
_param = self.
|
83
|
+
_param = self._create_exchange_key_serialize(
|
84
84
|
api_key_model=api_key_model,
|
85
85
|
_request_auth=_request_auth,
|
86
86
|
_content_type=_content_type,
|
@@ -102,7 +102,7 @@ class APIKeysApi:
|
|
102
102
|
).data
|
103
103
|
|
104
104
|
@validate_call
|
105
|
-
async def
|
105
|
+
async def create_exchange_key_with_http_info(
|
106
106
|
self,
|
107
107
|
api_key_model: APIKeyModel,
|
108
108
|
_request_timeout: Union[
|
@@ -117,7 +117,7 @@ class APIKeysApi:
|
|
117
117
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
118
118
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
119
119
|
) -> ApiResponse[object]:
|
120
|
-
"""Post
|
120
|
+
"""Post Exchange Key
|
121
121
|
|
122
122
|
|
123
123
|
:param api_key_model: (required)
|
@@ -144,7 +144,7 @@ class APIKeysApi:
|
|
144
144
|
:return: Returns the result object.
|
145
145
|
""" # noqa: E501
|
146
146
|
|
147
|
-
_param = self.
|
147
|
+
_param = self._create_exchange_key_serialize(
|
148
148
|
api_key_model=api_key_model,
|
149
149
|
_request_auth=_request_auth,
|
150
150
|
_content_type=_content_type,
|
@@ -166,7 +166,7 @@ class APIKeysApi:
|
|
166
166
|
)
|
167
167
|
|
168
168
|
@validate_call
|
169
|
-
async def
|
169
|
+
async def create_exchange_key_without_preload_content(
|
170
170
|
self,
|
171
171
|
api_key_model: APIKeyModel,
|
172
172
|
_request_timeout: Union[
|
@@ -181,7 +181,7 @@ class APIKeysApi:
|
|
181
181
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
182
182
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
183
183
|
) -> RESTResponseType:
|
184
|
-
"""Post
|
184
|
+
"""Post Exchange Key
|
185
185
|
|
186
186
|
|
187
187
|
:param api_key_model: (required)
|
@@ -208,7 +208,7 @@ class APIKeysApi:
|
|
208
208
|
:return: Returns the result object.
|
209
209
|
""" # noqa: E501
|
210
210
|
|
211
|
-
_param = self.
|
211
|
+
_param = self._create_exchange_key_serialize(
|
212
212
|
api_key_model=api_key_model,
|
213
213
|
_request_auth=_request_auth,
|
214
214
|
_content_type=_content_type,
|
@@ -225,7 +225,7 @@ class APIKeysApi:
|
|
225
225
|
)
|
226
226
|
return response_data.response
|
227
227
|
|
228
|
-
def
|
228
|
+
def _create_exchange_key_serialize(
|
229
229
|
self,
|
230
230
|
api_key_model,
|
231
231
|
_request_auth,
|
@@ -290,7 +290,7 @@ class APIKeysApi:
|
|
290
290
|
)
|
291
291
|
|
292
292
|
@validate_call
|
293
|
-
async def
|
293
|
+
async def delete_exchange_key(
|
294
294
|
self,
|
295
295
|
id: StrictStr,
|
296
296
|
_request_timeout: Union[
|
@@ -305,7 +305,7 @@ class APIKeysApi:
|
|
305
305
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
306
306
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
307
307
|
) -> object:
|
308
|
-
"""Delete
|
308
|
+
"""Delete Exchange Key
|
309
309
|
|
310
310
|
|
311
311
|
:param id: (required)
|
@@ -332,7 +332,7 @@ class APIKeysApi:
|
|
332
332
|
:return: Returns the result object.
|
333
333
|
""" # noqa: E501
|
334
334
|
|
335
|
-
_param = self.
|
335
|
+
_param = self._delete_exchange_key_serialize(
|
336
336
|
id=id,
|
337
337
|
_request_auth=_request_auth,
|
338
338
|
_content_type=_content_type,
|
@@ -354,7 +354,7 @@ class APIKeysApi:
|
|
354
354
|
).data
|
355
355
|
|
356
356
|
@validate_call
|
357
|
-
async def
|
357
|
+
async def delete_exchange_key_with_http_info(
|
358
358
|
self,
|
359
359
|
id: StrictStr,
|
360
360
|
_request_timeout: Union[
|
@@ -369,7 +369,7 @@ class APIKeysApi:
|
|
369
369
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
370
370
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
371
371
|
) -> ApiResponse[object]:
|
372
|
-
"""Delete
|
372
|
+
"""Delete Exchange Key
|
373
373
|
|
374
374
|
|
375
375
|
:param id: (required)
|
@@ -396,7 +396,7 @@ class APIKeysApi:
|
|
396
396
|
:return: Returns the result object.
|
397
397
|
""" # noqa: E501
|
398
398
|
|
399
|
-
_param = self.
|
399
|
+
_param = self._delete_exchange_key_serialize(
|
400
400
|
id=id,
|
401
401
|
_request_auth=_request_auth,
|
402
402
|
_content_type=_content_type,
|
@@ -418,7 +418,7 @@ class APIKeysApi:
|
|
418
418
|
)
|
419
419
|
|
420
420
|
@validate_call
|
421
|
-
async def
|
421
|
+
async def delete_exchange_key_without_preload_content(
|
422
422
|
self,
|
423
423
|
id: StrictStr,
|
424
424
|
_request_timeout: Union[
|
@@ -433,7 +433,7 @@ class APIKeysApi:
|
|
433
433
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
434
434
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
435
435
|
) -> RESTResponseType:
|
436
|
-
"""Delete
|
436
|
+
"""Delete Exchange Key
|
437
437
|
|
438
438
|
|
439
439
|
:param id: (required)
|
@@ -460,7 +460,7 @@ class APIKeysApi:
|
|
460
460
|
:return: Returns the result object.
|
461
461
|
""" # noqa: E501
|
462
462
|
|
463
|
-
_param = self.
|
463
|
+
_param = self._delete_exchange_key_serialize(
|
464
464
|
id=id,
|
465
465
|
_request_auth=_request_auth,
|
466
466
|
_content_type=_content_type,
|
@@ -477,7 +477,7 @@ class APIKeysApi:
|
|
477
477
|
)
|
478
478
|
return response_data.response
|
479
479
|
|
480
|
-
def
|
480
|
+
def _delete_exchange_key_serialize(
|
481
481
|
self,
|
482
482
|
id,
|
483
483
|
_request_auth,
|
@@ -532,7 +532,7 @@ class APIKeysApi:
|
|
532
532
|
)
|
533
533
|
|
534
534
|
@validate_call
|
535
|
-
async def
|
535
|
+
async def get_exchange_key_by_id(
|
536
536
|
self,
|
537
537
|
id: StrictStr,
|
538
538
|
_request_timeout: Union[
|
@@ -547,7 +547,7 @@ class APIKeysApi:
|
|
547
547
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
548
548
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
549
549
|
) -> APIKeyModel:
|
550
|
-
"""Get
|
550
|
+
"""Get Exchange Key By Id
|
551
551
|
|
552
552
|
|
553
553
|
:param id: (required)
|
@@ -574,7 +574,7 @@ class APIKeysApi:
|
|
574
574
|
:return: Returns the result object.
|
575
575
|
""" # noqa: E501
|
576
576
|
|
577
|
-
_param = self.
|
577
|
+
_param = self._get_exchange_key_by_id_serialize(
|
578
578
|
id=id,
|
579
579
|
_request_auth=_request_auth,
|
580
580
|
_content_type=_content_type,
|
@@ -596,7 +596,7 @@ class APIKeysApi:
|
|
596
596
|
).data
|
597
597
|
|
598
598
|
@validate_call
|
599
|
-
async def
|
599
|
+
async def get_exchange_key_by_id_with_http_info(
|
600
600
|
self,
|
601
601
|
id: StrictStr,
|
602
602
|
_request_timeout: Union[
|
@@ -611,7 +611,7 @@ class APIKeysApi:
|
|
611
611
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
612
612
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
613
613
|
) -> ApiResponse[APIKeyModel]:
|
614
|
-
"""Get
|
614
|
+
"""Get Exchange Key By Id
|
615
615
|
|
616
616
|
|
617
617
|
:param id: (required)
|
@@ -638,7 +638,7 @@ class APIKeysApi:
|
|
638
638
|
:return: Returns the result object.
|
639
639
|
""" # noqa: E501
|
640
640
|
|
641
|
-
_param = self.
|
641
|
+
_param = self._get_exchange_key_by_id_serialize(
|
642
642
|
id=id,
|
643
643
|
_request_auth=_request_auth,
|
644
644
|
_content_type=_content_type,
|
@@ -660,7 +660,7 @@ class APIKeysApi:
|
|
660
660
|
)
|
661
661
|
|
662
662
|
@validate_call
|
663
|
-
async def
|
663
|
+
async def get_exchange_key_by_id_without_preload_content(
|
664
664
|
self,
|
665
665
|
id: StrictStr,
|
666
666
|
_request_timeout: Union[
|
@@ -675,7 +675,7 @@ class APIKeysApi:
|
|
675
675
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
676
676
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
677
677
|
) -> RESTResponseType:
|
678
|
-
"""Get
|
678
|
+
"""Get Exchange Key By Id
|
679
679
|
|
680
680
|
|
681
681
|
:param id: (required)
|
@@ -702,7 +702,7 @@ class APIKeysApi:
|
|
702
702
|
:return: Returns the result object.
|
703
703
|
""" # noqa: E501
|
704
704
|
|
705
|
-
_param = self.
|
705
|
+
_param = self._get_exchange_key_by_id_serialize(
|
706
706
|
id=id,
|
707
707
|
_request_auth=_request_auth,
|
708
708
|
_content_type=_content_type,
|
@@ -719,7 +719,7 @@ class APIKeysApi:
|
|
719
719
|
)
|
720
720
|
return response_data.response
|
721
721
|
|
722
|
-
def
|
722
|
+
def _get_exchange_key_by_id_serialize(
|
723
723
|
self,
|
724
724
|
id,
|
725
725
|
_request_auth,
|
@@ -774,7 +774,7 @@ class APIKeysApi:
|
|
774
774
|
)
|
775
775
|
|
776
776
|
@validate_call
|
777
|
-
async def
|
777
|
+
async def get_exchange_keys(
|
778
778
|
self,
|
779
779
|
limit: Optional[StrictInt] = None,
|
780
780
|
offset: Optional[StrictInt] = None,
|
@@ -790,7 +790,7 @@ class APIKeysApi:
|
|
790
790
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
791
791
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
792
792
|
) -> List[APIKeyModel]:
|
793
|
-
"""Get
|
793
|
+
"""Get Exchange Keys
|
794
794
|
|
795
795
|
|
796
796
|
:param limit:
|
@@ -819,7 +819,7 @@ class APIKeysApi:
|
|
819
819
|
:return: Returns the result object.
|
820
820
|
""" # noqa: E501
|
821
821
|
|
822
|
-
_param = self.
|
822
|
+
_param = self._get_exchange_keys_serialize(
|
823
823
|
limit=limit,
|
824
824
|
offset=offset,
|
825
825
|
_request_auth=_request_auth,
|
@@ -842,7 +842,7 @@ class APIKeysApi:
|
|
842
842
|
).data
|
843
843
|
|
844
844
|
@validate_call
|
845
|
-
async def
|
845
|
+
async def get_exchange_keys_with_http_info(
|
846
846
|
self,
|
847
847
|
limit: Optional[StrictInt] = None,
|
848
848
|
offset: Optional[StrictInt] = None,
|
@@ -858,7 +858,7 @@ class APIKeysApi:
|
|
858
858
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
859
859
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
860
860
|
) -> ApiResponse[List[APIKeyModel]]:
|
861
|
-
"""Get
|
861
|
+
"""Get Exchange Keys
|
862
862
|
|
863
863
|
|
864
864
|
:param limit:
|
@@ -887,7 +887,7 @@ class APIKeysApi:
|
|
887
887
|
:return: Returns the result object.
|
888
888
|
""" # noqa: E501
|
889
889
|
|
890
|
-
_param = self.
|
890
|
+
_param = self._get_exchange_keys_serialize(
|
891
891
|
limit=limit,
|
892
892
|
offset=offset,
|
893
893
|
_request_auth=_request_auth,
|
@@ -910,7 +910,7 @@ class APIKeysApi:
|
|
910
910
|
)
|
911
911
|
|
912
912
|
@validate_call
|
913
|
-
async def
|
913
|
+
async def get_exchange_keys_without_preload_content(
|
914
914
|
self,
|
915
915
|
limit: Optional[StrictInt] = None,
|
916
916
|
offset: Optional[StrictInt] = None,
|
@@ -926,7 +926,7 @@ class APIKeysApi:
|
|
926
926
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
927
927
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
928
928
|
) -> RESTResponseType:
|
929
|
-
"""Get
|
929
|
+
"""Get Exchange Keys
|
930
930
|
|
931
931
|
|
932
932
|
:param limit:
|
@@ -955,7 +955,7 @@ class APIKeysApi:
|
|
955
955
|
:return: Returns the result object.
|
956
956
|
""" # noqa: E501
|
957
957
|
|
958
|
-
_param = self.
|
958
|
+
_param = self._get_exchange_keys_serialize(
|
959
959
|
limit=limit,
|
960
960
|
offset=offset,
|
961
961
|
_request_auth=_request_auth,
|
@@ -973,7 +973,7 @@ class APIKeysApi:
|
|
973
973
|
)
|
974
974
|
return response_data.response
|
975
975
|
|
976
|
-
def
|
976
|
+
def _get_exchange_keys_serialize(
|
977
977
|
self,
|
978
978
|
limit,
|
979
979
|
offset,
|
@@ -1035,7 +1035,7 @@ class APIKeysApi:
|
|
1035
1035
|
)
|
1036
1036
|
|
1037
1037
|
@validate_call
|
1038
|
-
async def
|
1038
|
+
async def update_exchange_key(
|
1039
1039
|
self,
|
1040
1040
|
id: StrictStr,
|
1041
1041
|
api_key_model: APIKeyModel,
|
@@ -1051,7 +1051,7 @@ class APIKeysApi:
|
|
1051
1051
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1052
1052
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1053
1053
|
) -> object:
|
1054
|
-
"""Put
|
1054
|
+
"""Put Exchange Key
|
1055
1055
|
|
1056
1056
|
|
1057
1057
|
:param id: (required)
|
@@ -1080,7 +1080,7 @@ class APIKeysApi:
|
|
1080
1080
|
:return: Returns the result object.
|
1081
1081
|
""" # noqa: E501
|
1082
1082
|
|
1083
|
-
_param = self.
|
1083
|
+
_param = self._update_exchange_key_serialize(
|
1084
1084
|
id=id,
|
1085
1085
|
api_key_model=api_key_model,
|
1086
1086
|
_request_auth=_request_auth,
|
@@ -1103,7 +1103,7 @@ class APIKeysApi:
|
|
1103
1103
|
).data
|
1104
1104
|
|
1105
1105
|
@validate_call
|
1106
|
-
async def
|
1106
|
+
async def update_exchange_key_with_http_info(
|
1107
1107
|
self,
|
1108
1108
|
id: StrictStr,
|
1109
1109
|
api_key_model: APIKeyModel,
|
@@ -1119,7 +1119,7 @@ class APIKeysApi:
|
|
1119
1119
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1120
1120
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1121
1121
|
) -> ApiResponse[object]:
|
1122
|
-
"""Put
|
1122
|
+
"""Put Exchange Key
|
1123
1123
|
|
1124
1124
|
|
1125
1125
|
:param id: (required)
|
@@ -1148,7 +1148,7 @@ class APIKeysApi:
|
|
1148
1148
|
:return: Returns the result object.
|
1149
1149
|
""" # noqa: E501
|
1150
1150
|
|
1151
|
-
_param = self.
|
1151
|
+
_param = self._update_exchange_key_serialize(
|
1152
1152
|
id=id,
|
1153
1153
|
api_key_model=api_key_model,
|
1154
1154
|
_request_auth=_request_auth,
|
@@ -1171,7 +1171,7 @@ class APIKeysApi:
|
|
1171
1171
|
)
|
1172
1172
|
|
1173
1173
|
@validate_call
|
1174
|
-
async def
|
1174
|
+
async def update_exchange_key_without_preload_content(
|
1175
1175
|
self,
|
1176
1176
|
id: StrictStr,
|
1177
1177
|
api_key_model: APIKeyModel,
|
@@ -1187,7 +1187,7 @@ class APIKeysApi:
|
|
1187
1187
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1188
1188
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1189
1189
|
) -> RESTResponseType:
|
1190
|
-
"""Put
|
1190
|
+
"""Put Exchange Key
|
1191
1191
|
|
1192
1192
|
|
1193
1193
|
:param id: (required)
|
@@ -1216,7 +1216,7 @@ class APIKeysApi:
|
|
1216
1216
|
:return: Returns the result object.
|
1217
1217
|
""" # noqa: E501
|
1218
1218
|
|
1219
|
-
_param = self.
|
1219
|
+
_param = self._update_exchange_key_serialize(
|
1220
1220
|
id=id,
|
1221
1221
|
api_key_model=api_key_model,
|
1222
1222
|
_request_auth=_request_auth,
|
@@ -1234,7 +1234,7 @@ class APIKeysApi:
|
|
1234
1234
|
)
|
1235
1235
|
return response_data.response
|
1236
1236
|
|
1237
|
-
def
|
1237
|
+
def _update_exchange_key_serialize(
|
1238
1238
|
self,
|
1239
1239
|
id,
|
1240
1240
|
api_key_model,
|
@@ -90,7 +90,7 @@ class BotsApi:
|
|
90
90
|
)
|
91
91
|
|
92
92
|
_response_types_map: Dict[str, Optional[str]] = {
|
93
|
-
"
|
93
|
+
"201": "object",
|
94
94
|
"422": "HTTPValidationError",
|
95
95
|
}
|
96
96
|
response_data = await self.api_client.call_api(
|
@@ -155,7 +155,7 @@ class BotsApi:
|
|
155
155
|
)
|
156
156
|
|
157
157
|
_response_types_map: Dict[str, Optional[str]] = {
|
158
|
-
"
|
158
|
+
"201": "object",
|
159
159
|
"422": "HTTPValidationError",
|
160
160
|
}
|
161
161
|
response_data = await self.api_client.call_api(
|
@@ -220,7 +220,7 @@ class BotsApi:
|
|
220
220
|
)
|
221
221
|
|
222
222
|
_response_types_map: Dict[str, Optional[str]] = {
|
223
|
-
"
|
223
|
+
"201": "object",
|
224
224
|
"422": "HTTPValidationError",
|
225
225
|
}
|
226
226
|
response_data = await self.api_client.call_api(
|
@@ -1031,7 +1031,7 @@ class FuturesTradingPanelApi:
|
|
1031
1031
|
async def place_futures_order(
|
1032
1032
|
self,
|
1033
1033
|
key: StrictStr,
|
1034
|
-
|
1034
|
+
request_body: Dict[str, Any],
|
1035
1035
|
_request_timeout: Union[
|
1036
1036
|
None,
|
1037
1037
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1049,8 +1049,8 @@ class FuturesTradingPanelApi:
|
|
1049
1049
|
|
1050
1050
|
:param key: (required)
|
1051
1051
|
:type key: str
|
1052
|
-
:param
|
1053
|
-
:type
|
1052
|
+
:param request_body: (required)
|
1053
|
+
:type request_body: Dict[str, object]
|
1054
1054
|
:param _request_timeout: timeout setting for this request. If one
|
1055
1055
|
number provided, it will be total request
|
1056
1056
|
timeout. It can also be a pair (tuple) of
|
@@ -1075,7 +1075,7 @@ class FuturesTradingPanelApi:
|
|
1075
1075
|
|
1076
1076
|
_param = self._place_futures_order_serialize(
|
1077
1077
|
key=key,
|
1078
|
-
|
1078
|
+
request_body=request_body,
|
1079
1079
|
_request_auth=_request_auth,
|
1080
1080
|
_content_type=_content_type,
|
1081
1081
|
_headers=_headers,
|
@@ -1099,7 +1099,7 @@ class FuturesTradingPanelApi:
|
|
1099
1099
|
async def place_futures_order_with_http_info(
|
1100
1100
|
self,
|
1101
1101
|
key: StrictStr,
|
1102
|
-
|
1102
|
+
request_body: Dict[str, Any],
|
1103
1103
|
_request_timeout: Union[
|
1104
1104
|
None,
|
1105
1105
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1117,8 +1117,8 @@ class FuturesTradingPanelApi:
|
|
1117
1117
|
|
1118
1118
|
:param key: (required)
|
1119
1119
|
:type key: str
|
1120
|
-
:param
|
1121
|
-
:type
|
1120
|
+
:param request_body: (required)
|
1121
|
+
:type request_body: Dict[str, object]
|
1122
1122
|
:param _request_timeout: timeout setting for this request. If one
|
1123
1123
|
number provided, it will be total request
|
1124
1124
|
timeout. It can also be a pair (tuple) of
|
@@ -1143,7 +1143,7 @@ class FuturesTradingPanelApi:
|
|
1143
1143
|
|
1144
1144
|
_param = self._place_futures_order_serialize(
|
1145
1145
|
key=key,
|
1146
|
-
|
1146
|
+
request_body=request_body,
|
1147
1147
|
_request_auth=_request_auth,
|
1148
1148
|
_content_type=_content_type,
|
1149
1149
|
_headers=_headers,
|
@@ -1167,7 +1167,7 @@ class FuturesTradingPanelApi:
|
|
1167
1167
|
async def place_futures_order_without_preload_content(
|
1168
1168
|
self,
|
1169
1169
|
key: StrictStr,
|
1170
|
-
|
1170
|
+
request_body: Dict[str, Any],
|
1171
1171
|
_request_timeout: Union[
|
1172
1172
|
None,
|
1173
1173
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -1185,8 +1185,8 @@ class FuturesTradingPanelApi:
|
|
1185
1185
|
|
1186
1186
|
:param key: (required)
|
1187
1187
|
:type key: str
|
1188
|
-
:param
|
1189
|
-
:type
|
1188
|
+
:param request_body: (required)
|
1189
|
+
:type request_body: Dict[str, object]
|
1190
1190
|
:param _request_timeout: timeout setting for this request. If one
|
1191
1191
|
number provided, it will be total request
|
1192
1192
|
timeout. It can also be a pair (tuple) of
|
@@ -1211,7 +1211,7 @@ class FuturesTradingPanelApi:
|
|
1211
1211
|
|
1212
1212
|
_param = self._place_futures_order_serialize(
|
1213
1213
|
key=key,
|
1214
|
-
|
1214
|
+
request_body=request_body,
|
1215
1215
|
_request_auth=_request_auth,
|
1216
1216
|
_content_type=_content_type,
|
1217
1217
|
_headers=_headers,
|
@@ -1230,7 +1230,7 @@ class FuturesTradingPanelApi:
|
|
1230
1230
|
def _place_futures_order_serialize(
|
1231
1231
|
self,
|
1232
1232
|
key,
|
1233
|
-
|
1233
|
+
request_body,
|
1234
1234
|
_request_auth,
|
1235
1235
|
_content_type,
|
1236
1236
|
_headers,
|
@@ -1259,8 +1259,8 @@ class FuturesTradingPanelApi:
|
|
1259
1259
|
# process the header parameters
|
1260
1260
|
# process the form parameters
|
1261
1261
|
# process the body parameter
|
1262
|
-
if
|
1263
|
-
_body_params =
|
1262
|
+
if request_body is not None:
|
1263
|
+
_body_params = request_body
|
1264
1264
|
|
1265
1265
|
# set the HTTP header `Accept`
|
1266
1266
|
if "Accept" not in _header_params:
|