Alpaca-API icon indicating copy to clipboard operation
Alpaca-API copied to clipboard

Account Activity Buy/Sell

Open pratttrader opened this issue 5 years ago • 2 comments

When selling short, this is returning a sell_short value for Side..not Buy or Sell. It would be nice to have a Buy_Open, Sell_Open, Buy_Close, Sell_Close, or some way of distinguishing all four possibilities...other than Buy, Sell.

pratttrader avatar Dec 28 '19 16:12 pratttrader

Could you clarify which endpoint of the API you're talking about?

ZippeyKeys12 avatar Nov 13 '20 00:11 ZippeyKeys12

@ZippeyKeys12 POST/v2/orders would be the most relevant here. This feature will be useful for order tracking in open/closed positions as well as performance analysis

drixie avatar Nov 15 '20 23:11 drixie