logo
Trading

Place a trade with NO validation.

post
https://api.snaptrade.com/api/v1/trade/place
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
unitsundefined or null
universal_symbol_idstring (format: uuid)
notional_valueundefined or null

Responses

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