logo
Options

Creates an option strategy object that will be used to place an option strategy order

post
https://api.snaptrade.com/api/v1/accounts/{accountId}/optionStrategy
Path
accountIdstring (format: uuid)required
The ID of the account to create the option strategy object in.
Query
userIdstringrequired
SnapTrade User ID
userSecretstringrequired
SnapTrade User Secret (generated when registering user)
Request Body
underlying_symbol_idstring (format: uuid)required
legsarray of objectsrequired
strategy_typestringrequired

Responses

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