Response fields
array of objectsobjectDescribes a single recent order in an account. Each record here represents a single order leg. For multi-leg orders, there will be multiple records.
brokerage_order_idstringOrder ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
statusstringIndicates the status of an order. SnapTrade does a best effort to map brokerage statuses to statuses in this enum.
universal_symbolobjectContains information about the security that the order is for. This field is only present for stock/ETF/crypto/mutual fund orders. For option orders, this field will be null and the option_symbol field will be populated.
idstring (format: uuid)Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
symbolstringThe security's trading ticker symbol. For example "AAPL" for Apple Inc. We largely follow the Yahoo Finance ticker format(click on "Yahoo Finance Market Coverage and Data Delays"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
raw_symbolstringThe raw symbol is symbol with the exchange suffix removed. For example, if symbol is "VAB.TO", then raw_symbol is "VAB".
descriptionstring or nullA human-readable description of the security. This is usually the company name or ETF name.
currencyobjectThe currency in which the security is traded.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
exchangeobjectThe exchange on which the security is listed and traded.
idstring (format: uuid)Unique ID for the exchange in SnapTrade.
codestringA short name for the exchange. For standardized exchange code, please us the mic_code field.
mic_codestringThe Market Identifier Code (MIC) for the exchange.
namestringThe full name of the exchange.
timezonestringThe timezone for the trading hours (start_time and close_time) of the exchange.
start_timestringThe time when the exchange opens for trading.
close_timestringThe time when the exchange closes for trading.
suffixstring or nullThe suffix to be appended to the symbol when trading on this exchange. For example, the suffix for the Toronto Stock Exchange is .TO. See UniversalSymbol->symbol and UniversalSymbol->raw_symbol for more detail.
typeobjectThe type of security. For example, "Common Stock" or "ETF".
idstring (format: uuid)Unique identifier for the security type within SnapTrade. This is the ID used to reference the security type in SnapTrade API calls.
codestringA short code representing the security type. For example, "cs" for Common Stock. Here are some common values:
ad- ADRbnd- Bondcs- Common Stockcef- Closed End Fundcrypto- Cryptocurrencyet- ETFoef- Open Ended Fundps- Preferred Stockrt- Rightstruct- Structured Productut- Unitwi- When Issuedwt- Warrant
descriptionstringA human-readable description of the security type. For example, "Common Stock" or "ETF".
is_supportedbooleanThis field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
figi_codestring or nullThis identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information. This value should be the same as the figi_code in the figi_instrument child property.
figi_instrumentobject or nullFinancial Instrument Global Identifier (FIGI) information for the security. See OpenFIGI for more information.
figi_codestring or nullThis identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information.
figi_share_classstring or nullThis enables users to link multiple FIGIs for the same security in order to obtain an aggregated view across all countries and all exchanges. For example, AAPL has a different FIGI for each exchange/trading venue it is traded on. The figi_share_class is the same for all of these FIGIs. See section 1.4.3 of the FIGI Standard for more information.
currenciesarray of objectsThis field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
option_symbolobjectContains information about the option contract that the order is for. This field is only present for option orders. For stock/ETF/crypto/mutual fund orders, this field will be null and the universal_symbol field will be populated.
idstring (format: uuid)Unique identifier for the option symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
tickerstringThe OCC symbol for the option.
option_typestringThe type of option. Either "CALL" or "PUT".
strike_pricenumberThe option strike price.
expiration_datestring (format: date)The option expiration date.
is_mini_optionbooleanWhether the option is a mini option. Mini options have 10 underlying shares per contract instead of the standard 100.
underlying_symbolobjectSymbol object for the underlying security of an option.
idstring (format: uuid)Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
symbolstringThe security's trading ticker symbol. For example "AAPL" for Apple Inc. We largely follow the Yahoo Finance ticker format(click on "Yahoo Finance Market Coverage and Data Delays"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
raw_symbolstringThe raw symbol is symbol with the exchange suffix removed. For example, if symbol is "VAB.TO", then raw_symbol is "VAB".
descriptionstring or nullA human-readable description of the security. This is usually the company name or ETF name.
currencyobjectThe currency in which the security is traded.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
exchangeobjectThe exchange on which the security is listed and traded.
idstring (format: uuid)codestringmic_codestringnamestringtimezonestringstart_timestringclose_timestringsuffixstring or nullallows_cryptocurrency_symbolsbooleantypeobjectThe type of security. For example, "Common Stock" or "ETF".
idstring (format: uuid)Unique identifier for the security type within SnapTrade. This is the ID used to reference the security type in SnapTrade API calls.
codestringA short code representing the security type. For example, "cs" for Common Stock. Here are some common values:
ad- ADRbnd- Bondcs- Common Stockcef- Closed End Fundcrypto- Cryptocurrencyet- ETFoef- Open Ended Fundps- Preferred Stockrt- Rightstruct- Structured Productut- Unitwi- When Issuedwt- Warrant
descriptionstringA human-readable description of the security type. For example, "Common Stock" or "ETF".
is_supportedbooleanThis field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
figi_codestring or nullThis identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information. This value should be the same as the figi_code in the figi_instrument child property.
figi_instrumentobject or nullFinancial Instrument Global Identifier (FIGI) information for the security. See OpenFIGI for more information.
figi_codestring or nullThis identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information.
figi_share_classstring or nullThis enables users to link multiple FIGIs for the same security in order to obtain an aggregated view across all countries and all exchanges. For example, AAPL has a different FIGI for each exchange/trading venue it is traded on. The figi_share_class is the same for all of these FIGIs. See section 1.4.3 of the FIGI Standard for more information.
currenciesarray of objectsThis field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
quote_universal_symbolobjectQuote cryptocurrency. This field is only present for cryptocurrency pair orders with a cryptocurrency as quote.
idstring (format: uuid)Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
symbolstringThe security's trading ticker symbol. For example "AAPL" for Apple Inc. We largely follow the Yahoo Finance ticker format(click on "Yahoo Finance Market Coverage and Data Delays"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
raw_symbolstringThe raw symbol is symbol with the exchange suffix removed. For example, if symbol is "VAB.TO", then raw_symbol is "VAB".
descriptionstring or nullA human-readable description of the security. This is usually the company name or ETF name.
currencyobjectThe currency in which the security is traded.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
exchangeobjectThe exchange on which the security is listed and traded.
idstring (format: uuid)Unique ID for the exchange in SnapTrade.
codestringA short name for the exchange. For standardized exchange code, please us the mic_code field.
mic_codestringThe Market Identifier Code (MIC) for the exchange.
namestringThe full name of the exchange.
timezonestringThe timezone for the trading hours (start_time and close_time) of the exchange.
start_timestringThe time when the exchange opens for trading.
close_timestringThe time when the exchange closes for trading.
suffixstring or nullThe suffix to be appended to the symbol when trading on this exchange. For example, the suffix for the Toronto Stock Exchange is .TO. See UniversalSymbol->symbol and UniversalSymbol->raw_symbol for more detail.
typeobjectThe type of security. For example, "Common Stock" or "ETF".
idstring (format: uuid)Unique identifier for the security type within SnapTrade. This is the ID used to reference the security type in SnapTrade API calls.
codestringA short code representing the security type. For example, "cs" for Common Stock. Here are some common values:
ad- ADRbnd- Bondcs- Common Stockcef- Closed End Fundcrypto- Cryptocurrencyet- ETFoef- Open Ended Fundps- Preferred Stockrt- Rightstruct- Structured Productut- Unitwi- When Issuedwt- Warrant
descriptionstringA human-readable description of the security type. For example, "Common Stock" or "ETF".
is_supportedbooleanThis field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
figi_codestring or nullThis identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information. This value should be the same as the figi_code in the figi_instrument child property.
figi_instrumentobject or nullFinancial Instrument Global Identifier (FIGI) information for the security. See OpenFIGI for more information.
figi_codestring or nullThis identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information.
figi_share_classstring or nullThis enables users to link multiple FIGIs for the same security in order to obtain an aggregated view across all countries and all exchanges. For example, AAPL has a different FIGI for each exchange/trading venue it is traded on. The figi_share_class is the same for all of these FIGIs. See section 1.4.3 of the FIGI Standard for more information.
currenciesarray of objectsThis field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
quote_currencyobjectQuote currency. This field is only present for cryptocurrency pair orders with a fiat currency as quote.
idstring (format: uuid)Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
codestringThe ISO-4217 currency code for the currency.
namestringA human-friendly name of the currency.
actionstringThe action describes the intent or side of a trade. This is usually BUY or SELL but can include other potential values like the following depending on the specific brokerage.
- BUY
- SELL
- BUY_COVER
- SELL_SHORT
- BUY_OPEN
- BUY_CLOSE
- SELL_OPEN
- SELL_CLOSE
total_quantitystring or nullThe total number of shares or contracts of the order. This should be the sum of the filled, canceled, and open quantities. Can be a decimal number for fractional shares.
open_quantitystring or nullThe number of shares or contracts that are still open (waiting for execution). Can be a decimal number for fractional shares.
canceled_quantitystring or nullThe number of shares or contracts that have been canceled. Can be a decimal number for fractional shares.
filled_quantitystring or nullThe number of shares or contracts that have been filled. Can be a decimal number for fractional shares.
execution_pricenumber or nullThe price at which the order was executed.
limit_pricenumber or nullThe limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to Limit and StopLimit orders.
stop_pricenumber or nullThe stop price is the price at which a stop order is triggered. Should only apply to Stop and StopLimit orders.
order_typestring or nullThe type of order placed. The most common values are Market, Limit, Stop, and StopLimit. We try our best to map brokerage order types to these values. When mapping fails, we will return the brokerage's order type value.
time_in_forcestringThe Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. We try our best to map brokerage time in force values to the following. When mapping fails, we will return the brokerage's time in force value.
Day- Day. The order is valid only for the trading day on which it is placed.GTC- Good Til Canceled. The order is valid until it is executed or canceled.FOK- Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely.IOC- Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled.GTD- Good Til Date. The order is valid until the specified date.MOO- Market On Open. The order is to be executed at the day's opening price.EHP- Extended Hours P.M. The order is to be placed during extended hour trading, after markets close.
time_placedstring (format: date-time)The time the order was placed. This is the time the order was submitted to the brokerage.
time_updatedstring (format: date-time) or nullThe time the order was last updated in the brokerage system. This value is not always available from the brokerage.
time_executedstring (format: date-time) or nullThe time the order was executed in the brokerage system. This value is not always available from the brokerage.
expiry_datestring (format: date-time) or nullThe time the order expires. This value is not always available from the brokerage.
symbolstring (format: uuid)A unique ID for the security within SnapTrade, scoped to the brokerage account that the security belongs to. This is a legacy field and should not be used. Do not rely on this being a stable ID as it can change.
child_brokerage_order_idsobject or nulltake_profit_order_idstringThe brokerage order ID for the take profit leg of the bracket order
stop_loss_order_idstringThe brokerage order ID for the stop loss leg of the bracket order
1[2{3"brokerage_order_id": "66a033fa-da74-4fcf-b527-feefdec9257e",4"status": "NONE",5"universal_symbol": {6"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",7"symbol": "VAB.TO",8"raw_symbol": "VAB",9"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",10"currency": {11"id": "87b24961-b51e-4db8-9226-f198f6518a89",12"code": "USD",13"name": "US Dollar"14},15"exchange": {16"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",17"code": "TSX",18"mic_code": "XTSE",19"name": "Toronto Stock Exchange",20"timezone": "America/New_York",21"start_time": "09:30:00",22"close_time": "16:00:00",23"suffix": ".TO"24},25"type": {26"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",27"code": "cs",28"description": "Common Stock",29"is_supported": true30},31"figi_code": "BBG000B9XRY4",32"figi_instrument": {33"figi_code": "BBG000B9Y5X2",34"figi_share_class": "BBG001S5N8V8"35},36"currencies": [37{38"id": "87b24961-b51e-4db8-9226-f198f6518a89",39"code": "USD",40"name": "US Dollar"41}42]43},44"option_symbol": {45"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",46"ticker": "AAPL 261218C00240000",47"option_type": "CALL",48"strike_price": 240,49"expiration_date": "2026-12-18",50"is_mini_option": false,51"underlying_symbol": {52"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",53"symbol": "SPY",54"raw_symbol": "VAB",55"description": "SPDR S&P 500 ETF Trust",56"currency": {57"id": "87b24961-b51e-4db8-9226-f198f6518a89",58"code": "USD",59"name": "US Dollar"60},61"exchange": {62"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",63"code": "ARCX",64"mic_code": "ARCA",65"name": "NYSE ARCA",66"timezone": "America/New_York",67"start_time": "09:30:00",68"close_time": "16:00:00",69"suffix": "None",70"allows_cryptocurrency_symbols": false71},72"type": {73"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",74"code": "cs",75"description": "Common Stock",76"is_supported": true77},78"figi_code": "BBG000B9XRY4",79"figi_instrument": {80"figi_code": "BBG000B9Y5X2",81"figi_share_class": "BBG001S5N8V8"82},83"currencies": [84{85"id": "87b24961-b51e-4db8-9226-f198f6518a89",86"code": "USD",87"name": "US Dollar"88}89]90}91},92"quote_universal_symbol": {93"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",94"symbol": "VAB.TO",95"raw_symbol": "VAB",96"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",97"currency": {98"id": "87b24961-b51e-4db8-9226-f198f6518a89",99"code": "USD",100"name": "US Dollar"101},102"exchange": {103"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",104"code": "TSX",105"mic_code": "XTSE",106"name": "Toronto Stock Exchange",107"timezone": "America/New_York",108"start_time": "09:30:00",109"close_time": "16:00:00",110"suffix": ".TO"111},112"type": {113"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",114"code": "cs",115"description": "Common Stock",116"is_supported": true117},118"figi_code": "BBG000B9XRY4",119"figi_instrument": {120"figi_code": "BBG000B9Y5X2",121"figi_share_class": "BBG001S5N8V8"122},123"currencies": [124{125"id": "87b24961-b51e-4db8-9226-f198f6518a89",126"code": "USD",127"name": "US Dollar"128}129]130},131"quote_currency": {132"id": "87b24961-b51e-4db8-9226-f198f6518a89",133"code": "USD",134"name": "US Dollar"135},136"action": "string",137"total_quantity": "100",138"open_quantity": "10",139"canceled_quantity": "10",140"filled_quantity": "80",141"execution_price": 12.34,142"limit_price": 12.34,143"stop_price": 12.5,144"order_type": "Market",145"time_in_force": "string",146"time_placed": "2024-07-30T22:51:49.746Z",147"time_updated": "2024-08-05T00:05:57.409Z",148"time_executed": "2024-08-05T00:05:57.409Z",149"expiry_date": "2024-08-05T00:05:57.409Z",150"symbol": "2bcd7cc3-e922-4976-bce1-9858296801c3",151"child_brokerage_order_ids": {152"take_profit_order_id": "12345678",153"stop_loss_order_id": "12345678"154}155}156]