Positions should include dates

I’d like to be able to close any positions that were opened more than X days ago. However, in the current schema, no data about the date a position was opened is included. I’ve had to try to work around this by matching orders to open positions, but this causes a lot of issues.

2 Likes

@hitoshi signal boosting this ^

Are they excluded at the moment because Alpaca also hides which individual lots make up a position, and they could each have different dates? (Not having Lots/Executions support is, itself, a huge miss IMHO)