alpacahq / Alpaca-API

The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
https://alpaca.markets/
142 stars 13 forks source link

Account Activity Buy/Sell #96

Open pratttrader opened 4 years ago

pratttrader commented 4 years ago

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.

ZippeyKeys12 commented 3 years ago

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

drixie commented 3 years ago

@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