Order ID X not found while paper trading #506

Closed
opened 2022-06-22 14:08:15 -07:00 by scionaltera · 1 comment
scionaltera commented 2022-06-22 14:08:15 -07:00 (Migrated from github.com)

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

Screenshot_2022-06-22_at_12 48 28_PM

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 ![Screenshot_2022-06-22_at_12 48 28_PM](https://user-images.githubusercontent.com/1952888/175136060-551e3da9-7a80-49c2-988e-5ad822c4b73b.png)
scionaltera commented 2022-07-06 23:30:33 -07:00 (Migrated from github.com)

Paper trading does not save its order book across restarts. I think that's what happened here.

Paper trading does not save its order book across restarts. I think that's what happened here.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
scion/arbitrader#506
No description provided.