OrderStatus

View as MarkdownOpen in Claude

OrderStatus

FieldTypeDescription
orderIdint32The API client’s order id.
statusstringCurrent status of the order.
filledstringNumber of filled positions
remainingstringThe remnant positions
avgFillPricedoubleAverage execution price of shares in the order
permIdint64The Host order identifier.
parentIdint32The order ID of the parent order, used for bracket and auto trailing stop orders.
lastFillPricedoublePrice at which the last positions were filled
clientIdint32The API client id which placed the order.
whyHeldstringIndication of why an order was held.
mktCapPricedoubleIf an order has been capped, this indicates the current capped price