curl --request POST \
--url https://api.elections.kalshi.com/trade-api/v2/portfolio/events/orders/batched \
--header 'Content-Type: application/json' \
--header 'KALSHI-ACCESS-KEY: <api-key>' \
--header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \
--header 'KALSHI-ACCESS-TIMESTAMP: <api-key>' \
--data '
{
"orders": [
{
"ticker": "<string>",
"client_order_id": "<string>",
"side": "bid",
"count": "10.00",
"price": "0.5600",
"time_in_force": "fill_or_kill",
"self_trade_prevention_type": "taker_at_cross",
"expiration_time": 123,
"post_only": true,
"cancel_order_on_pause": true,
"reduce_only": true,
"subaccount": 0,
"order_group_id": "<string>"
}
]
}
'