US Stock Trading
Cancel Order
This endpoint is used to cancel a pending order before it executes, allowing users to modify their trading strategy.
Cancellation rules include:
- Pending orders can be cancelled for LIMIT and STOP orders before execution
- You can only cancel market orders when market is closed because they usually execute too quickly to cancel during market hours
- Executed orders cannot be cancelled once they have already filled
- No fees are charged for order cancellation.
Cash impact of cancellation involves reserved cash being released back to available buying power immediately, making funds available for other trades instantly.
post/api/order/{id}/cancel
Request
- Base URLhttps://powered-by-bamboo-sandbox.investbamboo.com
- Authnone declared. Required headers: content-type, accept-language, x-user-id, x-subject-type, x-client-token, x-request-source
Path parameters
idstring required
Order id
Headers
content-typestring required
Acceptable content type
accept-languagestring required
Acceptable language; 'en' for English
x-user-idstring required
Required for user authentication
x-subject-typestring required
For user request -> 'tenant'.
x-client-tokenstring required
API Consumer Authorisation Token
x-request-sourcestring required
The tenant's username
currencystring
NGN - to order in Naira
Response
Cancel Order
string required
Example response
"KJ.836a28cc-46ad-45d8-af25-a48812a9b7ae"
Changes
No recorded changes to this operation across all 1 revision of this API.