scrtlabs / catalyst

An Algorithmic Trading Library for Crypto-Assets in Python
http://enigma.co
Apache License 2.0
2.49k stars 725 forks source link

preserving live algo state info when algo is restarted #483

Open kooomix opened 6 years ago

kooomix commented 6 years ago

I've recently found that once a live algo is stopped (for any reason) and then restarted, not all information that is for the algorithm is being preserved, specifically found that orders and transactions (link) are not.

as catalyst is still in alpha, and as there are a lot of issues raised from time to time when running an algo, and therefore, a lot of cases in which algo is being restarted, I think it should be considered on design level, that an algorithm restarted (under the same namespace) should pick upand preseve all relevant information, as if algo never stopped.

Thanks.

avolution commented 6 years ago

I agree I discovered similar problems in livemode

Also related to -> https://github.com/enigmampc/catalyst/issues/424