Persist paper exchange state #324

Open
opened 2021-02-03 12:59:43 -08:00 by dazito · 0 comments
dazito commented 2021-02-03 12:59:43 -08:00 (Migrated from github.com)

It would be a nice to have feature for the paper exchanges to persist their state.

When running paper mode, if we restart the bot we will lose any entry trades on the paper exchange. Because of arbitrade-state json file (where we persist the entry trades), when the bot starts up it will load the content of arbitrade-state json file.
If there are entry trades, after a while the bot will try to exit the trade but the paper exchange will not recognize the short that we are trying to close because it was lost during the restart.

It would be a nice to have feature for the paper exchanges to persist their state. When running paper mode, if we restart the bot we will lose any entry trades on the paper exchange. Because of `arbitrade-state` json file (where we persist the entry trades), when the bot starts up it will load the content of `arbitrade-state` json file. If there are entry trades, after a while the bot will try to exit the trade but the paper exchange will not recognize the short that we are trying to close because it was lost during the restart.
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#324
No description provided.