Response fields
object
trade
object
Contains the details of a submitted order.
id
string (format: uuid)
Unique identifier for the submitted order through SnapTrade.
account
string (format: uuid)
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
order_type
string
The type of order to place.
- For
Limit
andStopLimit
orders, theprice
field is required. - For
Stop
andStopLimit
orders, thestop
field is required.
time_in_force
string
The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values:
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.
symbol
object
Information about the security for the order.
universal_symbol_id
string (format: uuid)
Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
currency
object
Describes a currency object.
id
string (format: uuid)
Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
code
string
The ISO-4217 currency code for the currency.
name
string
A human-friendly name of the currency.
local_id
string
This field is deprecated and should not be used.
description
string or null
This field is deprecated and should not be used.
symbol
string
This field is deprecated and should not be used.
brokerage_symbol_id
string (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.
action
string
The action describes the intent or side of a trade. This is either BUY
or SELL
.
units
number or null
Number of shares for the order. This can be a decimal for fractional orders. Must be null
if notional_value
is provided.
price
number or null
Trade Price if limit or stop limit order
trade_impacts
array of objects
List of impacts of the trade on the account. The list always contains one value at the moment.
account
string (format: uuid)
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
currency
string (format: uuid)
Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
remaining_cash
number or null
Estimated amount of cash remaining in the account after the trade.
estimated_commission
number or null
Estimated commission for the trade.
forex_fees
number or null
Estimated foreign transaction fees for the trade.
combined_remaining_balance
object
Estimated remaining balance of the account after the trade is executed.
account
object
A single account at a brokerage.
id
string (format: uuid)
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
name
string
A display name for the account. Either assigned by the user or by the brokerage itself. For certain brokerages, SnapTrade appends the brokerage name to the account name for clarity.
number
string
The account number assigned by the brokerage. For some brokerages, this field may be masked for security reasons.
sync_status
object
Contains status update for the account sync process between SnapTrade and the brokerage.
transactions
object
Status of account transaction sync. SnapTrade syncs transactions from the brokerage under the following conditions:
- Initial connection - SnapTrade syncs all transactions from the brokerage account as far back as the brokerage allows. Check our integrations doc for details on how far back we sync for each brokerage.
- Daily sync - Once a day SnapTrade syncs new transactions from the brokerage.
- Manual sync - You can retrigger an incremental sync of transactions with the manual refresh endpoint.
initial_sync_completed
boolean
Indicates if the initial sync of transactions has been completed. For accounts with a large number of transactions, the initial sync may take a while to complete.
last_successful_sync
string (format: date) or null
All transactions up to this date have been successfully synced. Please note that this is not the date of the last transaction, nor the last time SnapTrade attempted to sync transactions.
first_transaction_date
string (format: date) or null
The date of the first transaction in the account known to SnapTrade. It's possible that the account has transactions before this date, but they are not known to SnapTrade.
holdings
object
Status of account holdings sync. SnapTrade syncs holdings from the brokerage under the following conditions:
- Initial connection - SnapTrade syncs all holdings (positions, balances, recent orders, and transactions) immediately after the connection is established.
- Daily sync - Once a day SnapTrade refreshes all holdings from the brokerage.
- Manual sync - You can trigger a refresh of holdings with the manual refresh endpoint.
initial_sync_completed
boolean
Indicates if the initial sync of holdings has been completed. For accounts with a large number of positions/orders/transactions, the initial sync may take a while to complete.
last_successful_sync
string (format: date-time) or null
The last time holdings were successfully synced by SnapTrade.
currency
object
Describes a currency object.
id
string (format: uuid)
Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
code
string
The ISO-4217 currency code for the currency.
name
string
A human-friendly name of the currency.
cash
number or null
Estimated amount of cash remaining in the account after the trade. At the moment this is the same as remaining_cash
under trade_impacts
.
1{2"trade": {3"id": "139e307a-82f7-4402-b39e-4da7baa87758",4"account": "917c8734-8470-4a3e-a18f-57c3f2ee6631",5"order_type": "Market",6"time_in_force": "FOK",7"symbol": {8"universal_symbol_id": "2bcd7cc3-e922-4976-bce1-9858296801c3",9"currency": {10"id": "87b24961-b51e-4db8-9226-f198f6518a89",11"code": "USD",12"name": "US Dollar"13},14"local_id": "1048101",15"description": "Metaverse Global ETF",16"symbol": "MVGP.U.TO",17"brokerage_symbol_id": "2bcd7cc3-e922-4976-bce1-9858296801c3"18},19"action": "BUY",20"units": 10.5,21"price": 31.3322},23"trade_impacts": [24{25"account": "917c8734-8470-4a3e-a18f-57c3f2ee6631",26"currency": "87b24961-b51e-4db8-9226-f198f6518a89",27"remaining_cash": 1.11,28"estimated_commission": 3.26,29"forex_fees": 5.2630}31],32"combined_remaining_balance": {33"account": {34"id": "917c8734-8470-4a3e-a18f-57c3f2ee6631",35"name": "Robinhood Individual",36"number": "Q6542138443",37"sync_status": {38"transactions": {39"initial_sync_completed": true,40"last_successful_sync": "2022-01-24",41"first_transaction_date": "2022-01-24"42},43"holdings": {44"initial_sync_completed": true,45"last_successful_sync": "2024-06-28 18:42:46.561408+00:00"46}47}48},49"currency": {50"id": "87b24961-b51e-4db8-9226-f198f6518a89",51"code": "USD",52"name": "US Dollar"53},54"cash": 1.1155}56}