logo
Trading

Place a trade with NO validation.

post
https://api.snaptrade.com/api/v1/trade/place

Places a specified trade in the specified account.

Query
userIdstringrequired
SnapTrade User ID
userSecretstringrequired
SnapTrade User Secret (generated when registering user)
Request Body
account_idstring (format: uuid)
actionstring
Trade Action
order_typestring
Order Type
pricenumber or null
Trade Price if limit or stop limit order
stopnumber or null
Stop Price. If stop loss or stop limit order, the price to trigger the stop
time_in_forcestring
Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Good Til Canceled
unitsnumber or null
Trade Units. Cannot work with notional value.
universal_symbol_idstring (format: uuid)
notional_valuenumber or null
Dollar amount to trade. Cannot work with units. Can only work for market order types and day for time in force. **Only available for Alpaca, Alpaca Paper, and Robinhood. Please contact support to get access to place notional trades**

Responses

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...