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
Virtual file system or object storage to fetch variables and state between live deployments #1040
Comments
Thanks @Maly-Lemire -- to understand the use case:
"Temporary store" is a popular request and would be a well used feature. To make it compatible with our web platform need a design like this: A IStorageProvider which with Initialize, Get and Set methods for a key-value pair. Initialize could take the api class. It should be MEF'd in during the start up and set to the algorithm in in the SetupHandler via IAlgorithm. For LEAN you could implement a "FileSystemStorageProvider" which saves to a local directory. |
Key value storage, preferably possible to share via backtest and live instances, and even edit externally, would be great. I'm using Amazon S3 for it now but I can't say I recommend it for the average user given the amount of time necessary to set it up. Use cases:
In fact, building this on S3 would be very viable, although using a DB service would perhaps be more performant. |
|
Sorry about the lack of reply but I've managed to use warm up for what I needed to do. Since I won't need this feature, I may never do it. Sorry about that. |
Would be great to be able to work with files either taken from local(is that a major security problem?), or more importantly created in Research, or during a Backtest/Live. |
👍 PR might look like this: IObjectStorage { QCAlgorithm { //Usage like: Then using LeanEngineAlgorithmHandlers from configuration to load the type; Apply the algorithmHandler.Storage in Engine.cs |
Would it be possible to provide a virtual file system with about 1mb available for free?
You could charge for more space.
I could do a pull request that provides a wrapper around File class or a simple Dictionary for saving variables with size and available space check. I would need a server side directory with proper access for saving the data.
Thanks
The text was updated successfully, but these errors were encountered: