Environment
Language
python
Alpaca SDK Version
i directly use api
Other Environment Details
Problem
Summary
symbol TQQQ, 523.184105333 shares (built 2026-09-15 by three fills:
83.81 sh existing + 219.598 @ 68.15 at 14:40Z + 219.771 @ 68.10 at 18:30Z, all filled,
visible in /v2/account/activities). At 2026-09-16 00:00Z portfolio/history shows equity
125,099; at 08:00Z it shows 89,776. GET /v2/positions/TQQQ now returns 404
“position does not exist”. There is no sell order for TQQQ (GET /v2/orders status=all),
no FILL or non-trade activity dated 2026-09-16, no corporate action for TQQQ in either
/v2/corporate_actions/announcements or /v1beta1/corporate-actions, and cash is
unchanged (43,420.74). Every other position is intact. This matches the GLD report
from 2026-08-27 in this forum. Please restore the position (523.184105333 sh, cost
basis ≈ 68.1 for the 439.37 sh bought on 09-15).
Paper or Live Tradng?
paper trading
Example Code