alpacahq / alpacahq/Alpaca-API
Broker Sandbox account: Orders and Positions out of sync, Equity and portfolio history wrong data
- Dominant language
- No language data
- Stars
- 174
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
1. trailing stop filled but positions are still active , even after a month (critical)
- 452a1a83-db6d-4b50-bfbf-355735ecf86e ( IREN)
- 69f28e40-e241-47d2-a83f-b7bfe9f94570 ( LPTH)
2. sudden random bump of portfolio equity historical performance 2x of that time portfolio value and then next day its gone. it wasnt any cash transfer or anything , just directly on sandbox accounts .
**To Reproduce**
- not sure , it was unexpected and random
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the sandbox account records associated with the two supplied position IDs, comparing filled trailing-stop orders with their positions. Then inspect the equity and portfolio-history data around the reported unexplained bump. Done means the order, position, equity, and history values are consistent, with a reproducible test or diagnostic for both reported symptoms.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100