Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed991a3035 |
No files matched your search
@@ -95,7 +95,8 @@ class Order:
|
||||
self.is_deleted : bool = False
|
||||
self.OrderStatus : Literal[
|
||||
None,
|
||||
'InQueue' ,
|
||||
'InQueue',
|
||||
'PartiallyFilled',
|
||||
'Cancelled',
|
||||
'Broken',
|
||||
'Settled',
|
||||
@@ -261,7 +262,7 @@ class Order:
|
||||
OrderStatus | None
|
||||
A dictionary containing the current order status with the following keys:
|
||||
- order_uuid: HexUUID, unique identifier of the order.
|
||||
- order_status: 'InQueue' | 'Cancelled' | 'Broken' | 'Settled'
|
||||
- order_status: 'InQueue' | 'PartiallyFilled' | 'Cancelled' | 'Broken' | 'Settled'
|
||||
- Price: int, the order price.
|
||||
- Volume: int, the original order volume.
|
||||
- RemainedVolume: int, volume remaining unexecuted.
|
||||
|
||||
@@ -94,10 +94,11 @@ class Order:
|
||||
self.is_deleted : bool = False
|
||||
self.OrderStatus : Literal[
|
||||
None,
|
||||
'InQueue' ,
|
||||
'InQueue',
|
||||
'Cancelled',
|
||||
'Broken',
|
||||
'Settled',
|
||||
'PartiallyFilled',
|
||||
]
|
||||
|
||||
self.OrderId : HexUUID | None = None
|
||||
@@ -281,7 +282,7 @@ class Order:
|
||||
- order_uuid : HexUUID
|
||||
Unique identifier of the order.
|
||||
|
||||
- order_status : Literal['InQueue', 'Cancelled', 'Broken', 'Settled']
|
||||
- order_status : Literal['InQueue', 'PartiallyFilled, 'Cancelled', 'Broken', 'Settled']
|
||||
Current lifecycle state of the order.
|
||||
|
||||
* InQueue : Order is waiting for execution.
|
||||
|
||||
@@ -19,7 +19,7 @@ HexUUID = NewType("HexUUID", str)
|
||||
class OrderStatus(TypedDict):
|
||||
|
||||
order_uuid : HexUUID
|
||||
order_status : Literal['InQueue','Cancelled','Broken','Settled']
|
||||
order_status : Literal['InQueue','PartiallyFilled','Cancelled','Broken','Settled']
|
||||
Price : int
|
||||
Volume : int
|
||||
RemainedVolume : int
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "HedgeTech"
|
||||
version = "0.3.1b2"
|
||||
version = "0.3.1b3"
|
||||
description = "A unified, high-performance API layer that powers all trading infrastructure across the HedgeTech ecosystem, providing modular, scalable, and real-time interfaces for market data, order management, and execution systems."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
|
||||
Reference in new issue
Block a user