logo
Trading

Cancel open order in account

post
https://api.snaptrade.com/api/v1/accounts/{accountId}/orders/cancel

Sends a signal to the brokerage to cancel the specified order. This will only work if the order has not yet been executed.

Path
accountIdstring (format: uuid)required
The ID of the account to cancel the order in.
Query
userIdstringrequired
SnapTrade User ID
userSecretstringrequired
SnapTrade User Secret (generated when registering user)
Request Body
brokerage_order_idstring (format: uuid)

Responses

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