forked from xeroc/stakemachine
-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Description
Currently virtual orders are being reconstructed from scratch on each restart. This creates the following issues:
- If working mode changed & dexbot restarted, virtual orders will be restored according to a new mode. When switching from valley mode to mountain or neutral, this will create available funds which will be reallocated into closer-to-center orders.
- If orders size increase round is in progress, increase smoothness will be distorted
Solution: save virtual orders into state, and restore them on startup. Determine how to better store virtual orders. As a state, dexbot sqlite db may be used, or json serialized dump file, or something other. Determine what is best.
Reactions are currently unavailable