When getting results back from a request to Activities…some of the results return with a side=“short_sell”, yet your API documentation clearly says Buy or Sell. Short_Sell is not defined in your API. It’s very hard to program against an inaccurate API documentation. So if “short_sell” is a possible Side type…put it in your documentation.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Alpaca API says my account is not allowed to short | 1 | 863 | June 3, 2020 | |
V2/orders should specify sell_short orders | 0 | 468 | July 31, 2021 | |
Please Vote: Alpaca should replace side (Buy, Sell) with (BTO, STC, STO, BTC) | 3 | 838 | April 6, 2020 | |
alpaca_trade_api.rest.APIError: cannot be sold short (on market order) | 1 | 455 | August 29, 2022 | |
Calculate profit/loss for correlated buy/sell orders | 2 | 2299 | September 3, 2020 |