logo
Trading

Place a OCO (One Cancels Other) order

post
https://api.snaptrade.com/api/v1/trade/oco
Query
userIdstringrequired
SnapTrade User ID
userSecretstringrequired
SnapTrade User Secret (generated when registering user)
Request Body
first_trade_id
The ID of first trade object obtained from trade/impact endpoint
second_trade_id
The ID of second trade object obtained from trade/impact endpoint

Responses

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