Skip to main content
POST
Amend Order

Headers

PX-Key-Id
string
required

The key id issued for your signing keypair.

PX-Timestamp
string
required

Unix seconds at signing, valid within 30 seconds of the server clock.

PX-Signature
string
required

Ed25519 signature of the request

PX-Content-Sha256
string
required

Hex SHA-256 of the request body, or the SHA-256 of the empty string when there is no body.

Path Parameters

orderId
string<uuid>
required

Issued order id.

Example:

"3f8b2c9a-2d18-4f7e-9c2a-1b6e1f0c8a4d"

Body

application/json
price
string
required

Limit price per contract in dollars, as a decimal string on the market's YES book. A price off that market's tick grid is rejected.

Example:

"0.38"

count
string
required

The order's already filled count plus the resting count wanted after the amend.

Example:

"10"

Response

Order amended, or already resting on the terms asked for and returned unchanged

order
object
required
previous
object
required