Commit Graph

4 Commits

Author SHA1 Message Date
Martin Molinero 57fbf588fe Download RemoteFile once for backtests
- For backtests download RemoteFile just once
- Live subscriptions and history requests will continue to download the
`RemoteFile` on each request.
- Adding unit tests
2019-05-29 18:38:07 -03:00
Andrew eb9d78470c LeanData.TryParsePath now returns a symbol
Instead of returning a heavier Security object, LeanData.TryParsePath will return a symbol, datetime and resolution.
2017-03-09 14:44:17 -05:00
Andrew ac7997acf2 Added ApiDataProvider
The ApiDataProovider is a new instance of the IDataProvider that will check for the data on disc.  If it is not present, it will reach out to QuantConnect.com to see if the data is available.
2017-03-09 12:25:24 -05:00
Andrew 8e3a0715fc Added LeanData.TryParsePath() and associated tests
This method takes a path and will return a Security and DateTime.  This is useful in the ApiDataProvider that uses the api to retrieve files that are not present on disc.  The IDataProvider only ha a path to the file.  Using this method, the ApiDataProvider can extract the useful information from the path to communicate with the api.
2017-03-09 11:34:36 -05:00