pmxt 1.3.4__py3-none-any.whl → 1.4.1__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.
@@ -35,6 +35,9 @@ from pmxt_internal.models.fetch_positions200_response import FetchPositions200Re
35
35
  from pmxt_internal.models.fetch_positions_request import FetchPositionsRequest
36
36
  from pmxt_internal.models.fetch_trades200_response import FetchTrades200Response
37
37
  from pmxt_internal.models.fetch_trades_request import FetchTradesRequest
38
+ from pmxt_internal.models.get_execution_price200_response import GetExecutionPrice200Response
39
+ from pmxt_internal.models.get_execution_price_detailed200_response import GetExecutionPriceDetailed200Response
40
+ from pmxt_internal.models.get_execution_price_request import GetExecutionPriceRequest
38
41
  from pmxt_internal.models.get_markets_by_slug_request import GetMarketsBySlugRequest
39
42
  from pmxt_internal.models.health_check200_response import HealthCheck200Response
40
43
  from pmxt_internal.models.search_events200_response import SearchEvents200Response
@@ -2911,6 +2914,576 @@ class DefaultApi:
2911
2914
 
2912
2915
 
2913
2916
 
2917
+ @validate_call
2918
+ def get_execution_price(
2919
+ self,
2920
+ exchange: Annotated[StrictStr, Field(description="The prediction market exchange to target.")],
2921
+ get_execution_price_request: Optional[GetExecutionPriceRequest] = None,
2922
+ _request_timeout: Union[
2923
+ None,
2924
+ Annotated[StrictFloat, Field(gt=0)],
2925
+ Tuple[
2926
+ Annotated[StrictFloat, Field(gt=0)],
2927
+ Annotated[StrictFloat, Field(gt=0)]
2928
+ ]
2929
+ ] = None,
2930
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2931
+ _content_type: Optional[StrictStr] = None,
2932
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2933
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2934
+ ) -> GetExecutionPrice200Response:
2935
+ """Get Execution Price
2936
+
2937
+
2938
+ :param exchange: The prediction market exchange to target. (required)
2939
+ :type exchange: str
2940
+ :param get_execution_price_request:
2941
+ :type get_execution_price_request: GetExecutionPriceRequest
2942
+ :param _request_timeout: timeout setting for this request. If one
2943
+ number provided, it will be total request
2944
+ timeout. It can also be a pair (tuple) of
2945
+ (connection, read) timeouts.
2946
+ :type _request_timeout: int, tuple(int, int), optional
2947
+ :param _request_auth: set to override the auth_settings for an a single
2948
+ request; this effectively ignores the
2949
+ authentication in the spec for a single request.
2950
+ :type _request_auth: dict, optional
2951
+ :param _content_type: force content-type for the request.
2952
+ :type _content_type: str, Optional
2953
+ :param _headers: set to override the headers for a single
2954
+ request; this effectively ignores the headers
2955
+ in the spec for a single request.
2956
+ :type _headers: dict, optional
2957
+ :param _host_index: set to override the host_index for a single
2958
+ request; this effectively ignores the host_index
2959
+ in the spec for a single request.
2960
+ :type _host_index: int, optional
2961
+ :return: Returns the result object.
2962
+ """ # noqa: E501
2963
+
2964
+ _param = self._get_execution_price_serialize(
2965
+ exchange=exchange,
2966
+ get_execution_price_request=get_execution_price_request,
2967
+ _request_auth=_request_auth,
2968
+ _content_type=_content_type,
2969
+ _headers=_headers,
2970
+ _host_index=_host_index
2971
+ )
2972
+
2973
+ _response_types_map: Dict[str, Optional[str]] = {
2974
+ '200': "GetExecutionPrice200Response",
2975
+ }
2976
+ response_data = self.api_client.call_api(
2977
+ *_param,
2978
+ _request_timeout=_request_timeout
2979
+ )
2980
+ response_data.read()
2981
+ return self.api_client.response_deserialize(
2982
+ response_data=response_data,
2983
+ response_types_map=_response_types_map,
2984
+ ).data
2985
+
2986
+
2987
+ @validate_call
2988
+ def get_execution_price_with_http_info(
2989
+ self,
2990
+ exchange: Annotated[StrictStr, Field(description="The prediction market exchange to target.")],
2991
+ get_execution_price_request: Optional[GetExecutionPriceRequest] = None,
2992
+ _request_timeout: Union[
2993
+ None,
2994
+ Annotated[StrictFloat, Field(gt=0)],
2995
+ Tuple[
2996
+ Annotated[StrictFloat, Field(gt=0)],
2997
+ Annotated[StrictFloat, Field(gt=0)]
2998
+ ]
2999
+ ] = None,
3000
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3001
+ _content_type: Optional[StrictStr] = None,
3002
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3003
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3004
+ ) -> ApiResponse[GetExecutionPrice200Response]:
3005
+ """Get Execution Price
3006
+
3007
+
3008
+ :param exchange: The prediction market exchange to target. (required)
3009
+ :type exchange: str
3010
+ :param get_execution_price_request:
3011
+ :type get_execution_price_request: GetExecutionPriceRequest
3012
+ :param _request_timeout: timeout setting for this request. If one
3013
+ number provided, it will be total request
3014
+ timeout. It can also be a pair (tuple) of
3015
+ (connection, read) timeouts.
3016
+ :type _request_timeout: int, tuple(int, int), optional
3017
+ :param _request_auth: set to override the auth_settings for an a single
3018
+ request; this effectively ignores the
3019
+ authentication in the spec for a single request.
3020
+ :type _request_auth: dict, optional
3021
+ :param _content_type: force content-type for the request.
3022
+ :type _content_type: str, Optional
3023
+ :param _headers: set to override the headers for a single
3024
+ request; this effectively ignores the headers
3025
+ in the spec for a single request.
3026
+ :type _headers: dict, optional
3027
+ :param _host_index: set to override the host_index for a single
3028
+ request; this effectively ignores the host_index
3029
+ in the spec for a single request.
3030
+ :type _host_index: int, optional
3031
+ :return: Returns the result object.
3032
+ """ # noqa: E501
3033
+
3034
+ _param = self._get_execution_price_serialize(
3035
+ exchange=exchange,
3036
+ get_execution_price_request=get_execution_price_request,
3037
+ _request_auth=_request_auth,
3038
+ _content_type=_content_type,
3039
+ _headers=_headers,
3040
+ _host_index=_host_index
3041
+ )
3042
+
3043
+ _response_types_map: Dict[str, Optional[str]] = {
3044
+ '200': "GetExecutionPrice200Response",
3045
+ }
3046
+ response_data = self.api_client.call_api(
3047
+ *_param,
3048
+ _request_timeout=_request_timeout
3049
+ )
3050
+ response_data.read()
3051
+ return self.api_client.response_deserialize(
3052
+ response_data=response_data,
3053
+ response_types_map=_response_types_map,
3054
+ )
3055
+
3056
+
3057
+ @validate_call
3058
+ def get_execution_price_without_preload_content(
3059
+ self,
3060
+ exchange: Annotated[StrictStr, Field(description="The prediction market exchange to target.")],
3061
+ get_execution_price_request: Optional[GetExecutionPriceRequest] = None,
3062
+ _request_timeout: Union[
3063
+ None,
3064
+ Annotated[StrictFloat, Field(gt=0)],
3065
+ Tuple[
3066
+ Annotated[StrictFloat, Field(gt=0)],
3067
+ Annotated[StrictFloat, Field(gt=0)]
3068
+ ]
3069
+ ] = None,
3070
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3071
+ _content_type: Optional[StrictStr] = None,
3072
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3073
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3074
+ ) -> RESTResponseType:
3075
+ """Get Execution Price
3076
+
3077
+
3078
+ :param exchange: The prediction market exchange to target. (required)
3079
+ :type exchange: str
3080
+ :param get_execution_price_request:
3081
+ :type get_execution_price_request: GetExecutionPriceRequest
3082
+ :param _request_timeout: timeout setting for this request. If one
3083
+ number provided, it will be total request
3084
+ timeout. It can also be a pair (tuple) of
3085
+ (connection, read) timeouts.
3086
+ :type _request_timeout: int, tuple(int, int), optional
3087
+ :param _request_auth: set to override the auth_settings for an a single
3088
+ request; this effectively ignores the
3089
+ authentication in the spec for a single request.
3090
+ :type _request_auth: dict, optional
3091
+ :param _content_type: force content-type for the request.
3092
+ :type _content_type: str, Optional
3093
+ :param _headers: set to override the headers for a single
3094
+ request; this effectively ignores the headers
3095
+ in the spec for a single request.
3096
+ :type _headers: dict, optional
3097
+ :param _host_index: set to override the host_index for a single
3098
+ request; this effectively ignores the host_index
3099
+ in the spec for a single request.
3100
+ :type _host_index: int, optional
3101
+ :return: Returns the result object.
3102
+ """ # noqa: E501
3103
+
3104
+ _param = self._get_execution_price_serialize(
3105
+ exchange=exchange,
3106
+ get_execution_price_request=get_execution_price_request,
3107
+ _request_auth=_request_auth,
3108
+ _content_type=_content_type,
3109
+ _headers=_headers,
3110
+ _host_index=_host_index
3111
+ )
3112
+
3113
+ _response_types_map: Dict[str, Optional[str]] = {
3114
+ '200': "GetExecutionPrice200Response",
3115
+ }
3116
+ response_data = self.api_client.call_api(
3117
+ *_param,
3118
+ _request_timeout=_request_timeout
3119
+ )
3120
+ return response_data.response
3121
+
3122
+
3123
+ def _get_execution_price_serialize(
3124
+ self,
3125
+ exchange,
3126
+ get_execution_price_request,
3127
+ _request_auth,
3128
+ _content_type,
3129
+ _headers,
3130
+ _host_index,
3131
+ ) -> RequestSerialized:
3132
+
3133
+ _host = None
3134
+
3135
+ _collection_formats: Dict[str, str] = {
3136
+ }
3137
+
3138
+ _path_params: Dict[str, str] = {}
3139
+ _query_params: List[Tuple[str, str]] = []
3140
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3141
+ _form_params: List[Tuple[str, str]] = []
3142
+ _files: Dict[
3143
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3144
+ ] = {}
3145
+ _body_params: Optional[bytes] = None
3146
+
3147
+ # process the path parameters
3148
+ if exchange is not None:
3149
+ _path_params['exchange'] = exchange
3150
+ # process the query parameters
3151
+ # process the header parameters
3152
+ # process the form parameters
3153
+ # process the body parameter
3154
+ if get_execution_price_request is not None:
3155
+ _body_params = get_execution_price_request
3156
+
3157
+
3158
+ # set the HTTP header `Accept`
3159
+ if 'Accept' not in _header_params:
3160
+ _header_params['Accept'] = self.api_client.select_header_accept(
3161
+ [
3162
+ 'application/json'
3163
+ ]
3164
+ )
3165
+
3166
+ # set the HTTP header `Content-Type`
3167
+ if _content_type:
3168
+ _header_params['Content-Type'] = _content_type
3169
+ else:
3170
+ _default_content_type = (
3171
+ self.api_client.select_header_content_type(
3172
+ [
3173
+ 'application/json'
3174
+ ]
3175
+ )
3176
+ )
3177
+ if _default_content_type is not None:
3178
+ _header_params['Content-Type'] = _default_content_type
3179
+
3180
+ # authentication setting
3181
+ _auth_settings: List[str] = [
3182
+ ]
3183
+
3184
+ return self.api_client.param_serialize(
3185
+ method='POST',
3186
+ resource_path='/api/{exchange}/getExecutionPrice',
3187
+ path_params=_path_params,
3188
+ query_params=_query_params,
3189
+ header_params=_header_params,
3190
+ body=_body_params,
3191
+ post_params=_form_params,
3192
+ files=_files,
3193
+ auth_settings=_auth_settings,
3194
+ collection_formats=_collection_formats,
3195
+ _host=_host,
3196
+ _request_auth=_request_auth
3197
+ )
3198
+
3199
+
3200
+
3201
+
3202
+ @validate_call
3203
+ def get_execution_price_detailed(
3204
+ self,
3205
+ exchange: Annotated[StrictStr, Field(description="The prediction market exchange to target.")],
3206
+ get_execution_price_request: Optional[GetExecutionPriceRequest] = None,
3207
+ _request_timeout: Union[
3208
+ None,
3209
+ Annotated[StrictFloat, Field(gt=0)],
3210
+ Tuple[
3211
+ Annotated[StrictFloat, Field(gt=0)],
3212
+ Annotated[StrictFloat, Field(gt=0)]
3213
+ ]
3214
+ ] = None,
3215
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3216
+ _content_type: Optional[StrictStr] = None,
3217
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3218
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3219
+ ) -> GetExecutionPriceDetailed200Response:
3220
+ """Get Detailed Execution Price
3221
+
3222
+
3223
+ :param exchange: The prediction market exchange to target. (required)
3224
+ :type exchange: str
3225
+ :param get_execution_price_request:
3226
+ :type get_execution_price_request: GetExecutionPriceRequest
3227
+ :param _request_timeout: timeout setting for this request. If one
3228
+ number provided, it will be total request
3229
+ timeout. It can also be a pair (tuple) of
3230
+ (connection, read) timeouts.
3231
+ :type _request_timeout: int, tuple(int, int), optional
3232
+ :param _request_auth: set to override the auth_settings for an a single
3233
+ request; this effectively ignores the
3234
+ authentication in the spec for a single request.
3235
+ :type _request_auth: dict, optional
3236
+ :param _content_type: force content-type for the request.
3237
+ :type _content_type: str, Optional
3238
+ :param _headers: set to override the headers for a single
3239
+ request; this effectively ignores the headers
3240
+ in the spec for a single request.
3241
+ :type _headers: dict, optional
3242
+ :param _host_index: set to override the host_index for a single
3243
+ request; this effectively ignores the host_index
3244
+ in the spec for a single request.
3245
+ :type _host_index: int, optional
3246
+ :return: Returns the result object.
3247
+ """ # noqa: E501
3248
+
3249
+ _param = self._get_execution_price_detailed_serialize(
3250
+ exchange=exchange,
3251
+ get_execution_price_request=get_execution_price_request,
3252
+ _request_auth=_request_auth,
3253
+ _content_type=_content_type,
3254
+ _headers=_headers,
3255
+ _host_index=_host_index
3256
+ )
3257
+
3258
+ _response_types_map: Dict[str, Optional[str]] = {
3259
+ '200': "GetExecutionPriceDetailed200Response",
3260
+ }
3261
+ response_data = self.api_client.call_api(
3262
+ *_param,
3263
+ _request_timeout=_request_timeout
3264
+ )
3265
+ response_data.read()
3266
+ return self.api_client.response_deserialize(
3267
+ response_data=response_data,
3268
+ response_types_map=_response_types_map,
3269
+ ).data
3270
+
3271
+
3272
+ @validate_call
3273
+ def get_execution_price_detailed_with_http_info(
3274
+ self,
3275
+ exchange: Annotated[StrictStr, Field(description="The prediction market exchange to target.")],
3276
+ get_execution_price_request: Optional[GetExecutionPriceRequest] = None,
3277
+ _request_timeout: Union[
3278
+ None,
3279
+ Annotated[StrictFloat, Field(gt=0)],
3280
+ Tuple[
3281
+ Annotated[StrictFloat, Field(gt=0)],
3282
+ Annotated[StrictFloat, Field(gt=0)]
3283
+ ]
3284
+ ] = None,
3285
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3286
+ _content_type: Optional[StrictStr] = None,
3287
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3288
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3289
+ ) -> ApiResponse[GetExecutionPriceDetailed200Response]:
3290
+ """Get Detailed Execution Price
3291
+
3292
+
3293
+ :param exchange: The prediction market exchange to target. (required)
3294
+ :type exchange: str
3295
+ :param get_execution_price_request:
3296
+ :type get_execution_price_request: GetExecutionPriceRequest
3297
+ :param _request_timeout: timeout setting for this request. If one
3298
+ number provided, it will be total request
3299
+ timeout. It can also be a pair (tuple) of
3300
+ (connection, read) timeouts.
3301
+ :type _request_timeout: int, tuple(int, int), optional
3302
+ :param _request_auth: set to override the auth_settings for an a single
3303
+ request; this effectively ignores the
3304
+ authentication in the spec for a single request.
3305
+ :type _request_auth: dict, optional
3306
+ :param _content_type: force content-type for the request.
3307
+ :type _content_type: str, Optional
3308
+ :param _headers: set to override the headers for a single
3309
+ request; this effectively ignores the headers
3310
+ in the spec for a single request.
3311
+ :type _headers: dict, optional
3312
+ :param _host_index: set to override the host_index for a single
3313
+ request; this effectively ignores the host_index
3314
+ in the spec for a single request.
3315
+ :type _host_index: int, optional
3316
+ :return: Returns the result object.
3317
+ """ # noqa: E501
3318
+
3319
+ _param = self._get_execution_price_detailed_serialize(
3320
+ exchange=exchange,
3321
+ get_execution_price_request=get_execution_price_request,
3322
+ _request_auth=_request_auth,
3323
+ _content_type=_content_type,
3324
+ _headers=_headers,
3325
+ _host_index=_host_index
3326
+ )
3327
+
3328
+ _response_types_map: Dict[str, Optional[str]] = {
3329
+ '200': "GetExecutionPriceDetailed200Response",
3330
+ }
3331
+ response_data = self.api_client.call_api(
3332
+ *_param,
3333
+ _request_timeout=_request_timeout
3334
+ )
3335
+ response_data.read()
3336
+ return self.api_client.response_deserialize(
3337
+ response_data=response_data,
3338
+ response_types_map=_response_types_map,
3339
+ )
3340
+
3341
+
3342
+ @validate_call
3343
+ def get_execution_price_detailed_without_preload_content(
3344
+ self,
3345
+ exchange: Annotated[StrictStr, Field(description="The prediction market exchange to target.")],
3346
+ get_execution_price_request: Optional[GetExecutionPriceRequest] = None,
3347
+ _request_timeout: Union[
3348
+ None,
3349
+ Annotated[StrictFloat, Field(gt=0)],
3350
+ Tuple[
3351
+ Annotated[StrictFloat, Field(gt=0)],
3352
+ Annotated[StrictFloat, Field(gt=0)]
3353
+ ]
3354
+ ] = None,
3355
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3356
+ _content_type: Optional[StrictStr] = None,
3357
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3358
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3359
+ ) -> RESTResponseType:
3360
+ """Get Detailed Execution Price
3361
+
3362
+
3363
+ :param exchange: The prediction market exchange to target. (required)
3364
+ :type exchange: str
3365
+ :param get_execution_price_request:
3366
+ :type get_execution_price_request: GetExecutionPriceRequest
3367
+ :param _request_timeout: timeout setting for this request. If one
3368
+ number provided, it will be total request
3369
+ timeout. It can also be a pair (tuple) of
3370
+ (connection, read) timeouts.
3371
+ :type _request_timeout: int, tuple(int, int), optional
3372
+ :param _request_auth: set to override the auth_settings for an a single
3373
+ request; this effectively ignores the
3374
+ authentication in the spec for a single request.
3375
+ :type _request_auth: dict, optional
3376
+ :param _content_type: force content-type for the request.
3377
+ :type _content_type: str, Optional
3378
+ :param _headers: set to override the headers for a single
3379
+ request; this effectively ignores the headers
3380
+ in the spec for a single request.
3381
+ :type _headers: dict, optional
3382
+ :param _host_index: set to override the host_index for a single
3383
+ request; this effectively ignores the host_index
3384
+ in the spec for a single request.
3385
+ :type _host_index: int, optional
3386
+ :return: Returns the result object.
3387
+ """ # noqa: E501
3388
+
3389
+ _param = self._get_execution_price_detailed_serialize(
3390
+ exchange=exchange,
3391
+ get_execution_price_request=get_execution_price_request,
3392
+ _request_auth=_request_auth,
3393
+ _content_type=_content_type,
3394
+ _headers=_headers,
3395
+ _host_index=_host_index
3396
+ )
3397
+
3398
+ _response_types_map: Dict[str, Optional[str]] = {
3399
+ '200': "GetExecutionPriceDetailed200Response",
3400
+ }
3401
+ response_data = self.api_client.call_api(
3402
+ *_param,
3403
+ _request_timeout=_request_timeout
3404
+ )
3405
+ return response_data.response
3406
+
3407
+
3408
+ def _get_execution_price_detailed_serialize(
3409
+ self,
3410
+ exchange,
3411
+ get_execution_price_request,
3412
+ _request_auth,
3413
+ _content_type,
3414
+ _headers,
3415
+ _host_index,
3416
+ ) -> RequestSerialized:
3417
+
3418
+ _host = None
3419
+
3420
+ _collection_formats: Dict[str, str] = {
3421
+ }
3422
+
3423
+ _path_params: Dict[str, str] = {}
3424
+ _query_params: List[Tuple[str, str]] = []
3425
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3426
+ _form_params: List[Tuple[str, str]] = []
3427
+ _files: Dict[
3428
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3429
+ ] = {}
3430
+ _body_params: Optional[bytes] = None
3431
+
3432
+ # process the path parameters
3433
+ if exchange is not None:
3434
+ _path_params['exchange'] = exchange
3435
+ # process the query parameters
3436
+ # process the header parameters
3437
+ # process the form parameters
3438
+ # process the body parameter
3439
+ if get_execution_price_request is not None:
3440
+ _body_params = get_execution_price_request
3441
+
3442
+
3443
+ # set the HTTP header `Accept`
3444
+ if 'Accept' not in _header_params:
3445
+ _header_params['Accept'] = self.api_client.select_header_accept(
3446
+ [
3447
+ 'application/json'
3448
+ ]
3449
+ )
3450
+
3451
+ # set the HTTP header `Content-Type`
3452
+ if _content_type:
3453
+ _header_params['Content-Type'] = _content_type
3454
+ else:
3455
+ _default_content_type = (
3456
+ self.api_client.select_header_content_type(
3457
+ [
3458
+ 'application/json'
3459
+ ]
3460
+ )
3461
+ )
3462
+ if _default_content_type is not None:
3463
+ _header_params['Content-Type'] = _default_content_type
3464
+
3465
+ # authentication setting
3466
+ _auth_settings: List[str] = [
3467
+ ]
3468
+
3469
+ return self.api_client.param_serialize(
3470
+ method='POST',
3471
+ resource_path='/api/{exchange}/getExecutionPriceDetailed',
3472
+ path_params=_path_params,
3473
+ query_params=_query_params,
3474
+ header_params=_header_params,
3475
+ body=_body_params,
3476
+ post_params=_form_params,
3477
+ files=_files,
3478
+ auth_settings=_auth_settings,
3479
+ collection_formats=_collection_formats,
3480
+ _host=_host,
3481
+ _request_auth=_request_auth
3482
+ )
3483
+
3484
+
3485
+
3486
+
2914
3487
  @validate_call
2915
3488
  def get_markets_by_slug(
2916
3489
  self,
@@ -91,7 +91,7 @@ class ApiClient:
91
91
  self.default_headers[header_name] = header_value
92
92
  self.cookie = cookie
93
93
  # Set default User-Agent.
94
- self.user_agent = 'OpenAPI-Generator/1.3.4/python'
94
+ self.user_agent = 'OpenAPI-Generator/1.4.1/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -506,7 +506,7 @@ class Configuration:
506
506
  "OS: {env}\n"\
507
507
  "Python Version: {pyversion}\n"\
508
508
  "Version of the API: 0.4.4\n"\
509
- "SDK Package Version: 1.3.4".\
509
+ "SDK Package Version: 1.4.1".\
510
510
  format(env=sys.platform, pyversion=sys.version)
511
511
 
512
512
  def get_host_settings(self) -> List[HostSetting]:
@@ -23,6 +23,7 @@ from pmxt_internal.models.create_order_request import CreateOrderRequest
23
23
  from pmxt_internal.models.error_detail import ErrorDetail
24
24
  from pmxt_internal.models.error_response import ErrorResponse
25
25
  from pmxt_internal.models.exchange_credentials import ExchangeCredentials
26
+ from pmxt_internal.models.execution_price_result import ExecutionPriceResult
26
27
  from pmxt_internal.models.fetch_balance200_response import FetchBalance200Response
27
28
  from pmxt_internal.models.fetch_markets200_response import FetchMarkets200Response
28
29
  from pmxt_internal.models.fetch_markets_request import FetchMarketsRequest
@@ -37,6 +38,10 @@ from pmxt_internal.models.fetch_positions200_response import FetchPositions200Re
37
38
  from pmxt_internal.models.fetch_positions_request import FetchPositionsRequest
38
39
  from pmxt_internal.models.fetch_trades200_response import FetchTrades200Response
39
40
  from pmxt_internal.models.fetch_trades_request import FetchTradesRequest
41
+ from pmxt_internal.models.get_execution_price200_response import GetExecutionPrice200Response
42
+ from pmxt_internal.models.get_execution_price_detailed200_response import GetExecutionPriceDetailed200Response
43
+ from pmxt_internal.models.get_execution_price_request import GetExecutionPriceRequest
44
+ from pmxt_internal.models.get_execution_price_request_args_inner import GetExecutionPriceRequestArgsInner
40
45
  from pmxt_internal.models.get_markets_by_slug_request import GetMarketsBySlugRequest
41
46
  from pmxt_internal.models.health_check200_response import HealthCheck200Response
42
47
  from pmxt_internal.models.history_filter_params import HistoryFilterParams