Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist paper exchange state #324

Open
dazito opened this issue Feb 3, 2021 · 0 comments
Open

Persist paper exchange state #324

dazito opened this issue Feb 3, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Good candidate for contributions

Comments

@dazito
Copy link
Member

dazito commented Feb 3, 2021

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.

@scionaltera scionaltera added enhancement New feature or request help wanted Good candidate for contributions labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Good candidate for contributions
Projects
None yet
Development

No branches or pull requests

2 participants