Hi everyone,
I've been banging my head against the wall, because I cannot seem to figure out how to access data that is loaded via the fetcher.
A few words about what I'm trying to do:
- the CSV contains (parsed) information from the SEC filings made by Berkshire Hathaway
- each line in the CSV contains information for a new trade or buy/sell in an existing position, i.e. stock symbol, the date when the order should be executed, an indicator what action we are taking and a change column, which I want to use to split my available budget
- as you can probably imagine already, I'm trying to backtest those trades with Quantopian :)
If this would run outside of Quantopian, I would do the following:
- load the file into pandas
- check if there are entries where the current trading day and the date match
- iterate over those entries and execute orders
When you check the attached code, you will see that some data is logged. But the pattern doesn't make any sense to me. Perhaps one of you guys has an idea.
In general, is it possible to test something like this in Quantopian or am I better of doing this locally with zipline?
Thanks,
Chris