Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions polymarket_us/types/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ class Order(TypedDict, total=False):
side: OrderSide
type: OrderType
price: Amount
quantity: int
cumQuantity: int
leavesQuantity: int
quantity: int | float
cumQuantity: int | float
leavesQuantity: int | float
tif: TimeInForce
goodTillTime: str
intent: OrderIntent
Expand Down Expand Up @@ -115,7 +115,7 @@ class CreateOrderParams(TypedDict, total=False):
intent: OrderIntent # Required
type: OrderType
price: Amount
quantity: int
quantity: int | float
tif: TimeInForce
participateDontInitiate: bool
goodTillTime: str
Expand All @@ -138,7 +138,7 @@ class ModifyOrderParams(TypedDict, total=False):

marketSlug: str # Required
price: Amount
quantity: int
quantity: int | float
tif: TimeInForce
participateDontInitiate: bool
goodTillTime: str
Expand Down