/api/prime/trading/v1/accounts/{accountId}/orders
Lists all orders from the given trading account.
accountId
stringRequiredoffset
integerlimit
integerclientOrderId
stringdateGte
string<date-time>
dateLt
string<date-time>
status
stringpending_open
open
completed
pending_cancel
canceled
error
scheduled
data
array[object] required {"id":"67fd640c-cb6c-4218-80ae-49e79ec15646","accountId":"60e740e7898f7d00064d43769a73dc48","clientOrderId":"myorderid1","time":"2021-08-05T18:05:23.431Z","creationDate":"2021-08-05T18:05:22.286Z","scheduledDate":"2021-08-05T18:05:00.000Z","lastFillDate":"2021-08-05T18:05:23.302Z","completionDate":"2021-08-05T18:05:23.431Z","settleDate":"2021-08-05T20:00:00.000Z","fundingType":"funded","type":"market","status":"completed","product":"BTC-USD","side":"buy","quantity":"1000","quantityCurrency":"USD","filledQuantity":"0.02457152","filledQuoteQuantity":"1000","averagePrice":"40697.32"}
id
string <uuid>
required accountId
string required clientOrderId
string time
string <date-time>
required creationDate
string <date-time>
required scheduledDate
string <date-time>
lastFillDate
string <date-time>
completionDate
string <date-time>
required settleDate
string <date-time>
type
string required fundingType
string required margin
funded
status
string required pending_open
open
completed
pending_cancel
canceled
error
scheduled
product
string required side
string required buy
sell
buy
quantity
string <decimal>
required quantityCurrency
string required filledQuantity
string <decimal>
required filledQuoteQuantity
string <decimal>
required averagePrice
string <decimal>
required limitPrice
string <decimal>
duration
integer twapInterval
integer reason
string internalError
insufficientFunds
insufficientFunds
error
string required errorName
string required reqId
string required