[POST] Sell Orders

Selling shares of a stock using the Stradr API

Shares of a stock can be sold by posting to the /sell endpoint

Parameter
Description
Accepted arguments

Ticker

The ticker of the asset being sold

Any owned ticker

Type

Shares or dollars used in sell (ie. 10 shares of AAPL or $10 of AAPL)

"shares", "dollars"

Time

Time to execute the order

"now", "marketclose", "marketopen"

Number

Number of shares or dollar amount of asset being sold

Any finite number 0.0001 to 1,000,000,000. Note that if the type is specified as dollars this number cannot contain more than two decimal places.

Example request:

POST https://stradr.com/api/sell?key=YOUR_KEY_HERE&time=now&type=shares&number=5

Last updated