Skip to content

Commit c6f9a63

Browse files
authored
docs(orders): drop stale "defaults to buy" on orders.create example (#303)
Closes #299.
1 parent cc7947f commit c6f9a63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/resources/orders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ with KalshiClient.from_env() as client:
4949
order = client.orders.create(
5050
ticker="KXPRES-24-DJT",
5151
side="yes", # SideLiteral
52-
action="buy", # ActionLiteral, defaults to "buy"
52+
action="buy", # ActionLiteral (required)
5353
count=10,
5454
yes_price="0.65", # str or Decimal — never float
5555
client_order_id=str(uuid.uuid4()),

0 commit comments

Comments
 (0)