Trading

Amend a live Kalshi order

Amends a live Kalshi order for the key owner. Scope trade:write:kalshi. Paper orders are not amended here. Requires a trading key saved in Settings and Arena Basic. The PEM is not in the request or the answer.

post/portfolio/orders/{orderId}/amend

Request

  • Base URL: https://arena-predictions.com/api/v1
  • URL: https://arena-predictions.com/api/v1/portfolio/orders/{orderId}/amend
  • Auth: HTTP bearer

Path parameters

orderIdstring uuid required

The Kalshi order id.

Request body

updatedPriceCentsinteger
updatedCountinteger

Response

The amended live order. mode is live.

status'executed' | 'resting' | 'canceled' required

canceled: an ioc or fok that did not fill. Nothing was spent.

action'buy' | 'sell' required
type'market' | 'limit' required
idempotencyKeystring uuid required
replayedboolean required

True when this idempotencyKey was used before: the stored order, nothing new placed.

originalCreatedAtstring date-time nullable required

On a replay: when the order was first placed.

fillVenue'kalshi' | 'novig' | 'polymarket' | 'null' nullable required

Where the fill was priced. Paper only: nothing is sent there. The first leg when the ticket split.

mode'paper' required
venueDataboolean required
fillPriceCentsinteger nullable

Only while the venue-data switch is on.

Changes

No recorded changes to this operation across all 1 revision of this API.