-
Notifications
You must be signed in to change notification settings - Fork 131
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
SO save orders for visualization purposes #636
Comments
It would be very helpful if initial orders and current orders could be kept apart from each other in some way. |
The main proposed solution was to dump orders into database. Along with the described requirements, there are also #442 task to keep virtual orders in state. It's good time to fit everything now. So basically we have two order types to save:
Both of these types could also be a real or virtual order. Current Orders table structure doesn't fit specified requirements. The following changes are needed:
|
The orders you would dump into database are like the output orders you get when calling I like the addition of virtual orders since I prefer plotting all the worker's orders, not only the real ones. |
Yes, the full Order object is dumped. |
Because we're going to modify table structure, we need a way to upgrade existing dexbot installations without breaking database. I'm experimenting with alembic to handle database migrations. |
Can this save orders dev also saved virtual order state on restart? |
Yes, it will be integrated. Progress is here https://github.com/Codaone/DEXBot/projects/15 |
There was a telegram discussion regarding #609. As I understand, visualization code requires:
The text was updated successfully, but these errors were encountered: