parlayx 3.2.4__tar.gz → 3.2.5__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: parlayx
3
- Version: 3.2.4
3
+ Version: 3.2.5
4
4
  Summary: Official Python client for the ParlayX public API.
5
5
  Project-URL: Homepage, https://docs.parlayx.com
6
6
  Project-URL: Documentation, https://docs.parlayx.com
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "parlayx"
7
- version = "3.2.4"
7
+ version = "3.2.5"
8
8
  description = "Official Python client for the ParlayX public API."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -429,8 +429,9 @@ class AsyncProphetXResource:
429
429
  ``succeeded_orders``, accepted but not confirmed at the venue; refused or
430
430
  unconfirmed ones come back in ``failed_orders``. A failed entry with code
431
431
  ORDER_RECONCILIATION_REQUIRED may still have been placed, so read its
432
- ``order_id`` before re-sending. Every order must be GTC: a ``timeInForce`` of
433
- FOK or GTD is supported on ``submit_order`` only.
432
+ ``order_id`` before re-sending. Each order may be GTC or FOK; a FOK order
433
+ cannot set ``postOnly``. A ``timeInForce`` of GTD is supported on
434
+ ``submit_order`` only.
434
435
  """
435
436
  return await self._client._request(
436
437
  "POST",
@@ -2225,10 +2225,10 @@ class ProphetXBatchOrder(BaseModel):
2225
2225
  Field(description="Stake in account currency units.", examples=[25], gt=0.0),
2226
2226
  ]
2227
2227
  time_in_force: Annotated[
2228
- GtcTimeInForce | None,
2228
+ GtcTimeInForce | ProphetXFokTimeInForce | None,
2229
2229
  Field(
2230
2230
  alias="timeInForce",
2231
- description="Execution policy; omission uses GTC. The batch accepts GTC only. Use the single order endpoint for FOK or GTD.",
2231
+ description="Execution policy; omission uses GTC. The batch accepts GTC or FOK. Use the single order endpoint for GTD.",
2232
2232
  discriminator="type",
2233
2233
  ),
2234
2234
  ] = None
@@ -434,8 +434,9 @@ class ProphetXResource:
434
434
  ``succeeded_orders``, accepted but not confirmed at the venue; refused or
435
435
  unconfirmed ones come back in ``failed_orders``. A failed entry with code
436
436
  ORDER_RECONCILIATION_REQUIRED may still have been placed, so read its
437
- ``order_id`` before re-sending. Every order must be GTC: a ``timeInForce`` of
438
- FOK or GTD is supported on ``submit_order`` only.
437
+ ``order_id`` before re-sending. Each order may be GTC or FOK; a FOK order
438
+ cannot set ``postOnly``. A ``timeInForce`` of GTD is supported on
439
+ ``submit_order`` only.
439
440
  """
440
441
  return self._client._request(
441
442
  "POST",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes