zipline
zipline copied to clipboard
Passing local csv data as symbol?
Obeserve the following code
context.assets = symbols('TSLA', 'MSFT', 'FB', 'TWTR')
Say I wanted to replace context.assets with a local csv file containing all SP500 companies closing prices, how would I do it?
@sword134 hello, did you find solution? are you saying we cannot use our own data?
@tombohub I never found a solution. The entire library was really bad in my opinion (especially since you cant use local data), so I just made my own manual backtest.
@sword134 have you looked at ingesting data? That might help solve your problem of using local data. I am currently running backtests with local data and am having no issue. Let me know if you have any questions.