Hi, on the latest Python SDK. This was purchased on the 23rd and looks correct through the web interface… I’m getting the same response for all equities purchased. This is for my paper account, I suspect live is showing the same (I haven’t been able to look yet but it seems like the reason for my 4-day max not working)
I am a bit confused as your first line says Python SDK but context.portfolio.positions sounds like you are asking about pylivetrader. If the latter, can you try list_positions() of the REST method and see if it still shows something unexpected?
Sorry, yes, through pylivetrader. I was assuming that the portfolio.positions call is a proxy to/through the Alpaca API. I will give that a try tomorrow.
Are multiple purchases at different dates lumped into a single position? That could get tricky if you’re trying to avoid PDT (which is what I’m trying to do)