Order ID X not found while paper trading #506
Labels
No labels
blocked
breaking
bug
dependencies
duplicate
enhancement
good first issue
help wanted
question
tech debt
testing
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
scion/arbitrader#506
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I suspect this is due to paper trading. It never submitted a real order because it's paper but it's trying to look up the order on the real exchange. Or possibly it's looking at the paper orders but the order ID got corrupted somehow?
https://github.com/agonyforge/arbitrader/blob/master/src/main/java/com/agonyforge/arbitrader/service/TradingService.java#L442
Paper trading does not save its order book across restarts. I think that's what happened here.