Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Using proprietary data from CSV with 'fetch' function

I have a CSV with date, signal, and symbol information linked below. In backtesting, I am able to get the signal data for that date, but I am not able to then trade the security in the 'ticker' column based on the signal. What am I missing when trying to access both?

CSV File

3 responses

Are you saying that you aren't able to access any of your CSV file or are you saying that you can't use the data within the 'ticker' column? Either way, it would be helpful if you sent us your code. I think I recall having to use the sid instead of the ticker when importing CSV files via fetch.

This is what I'm working with. I am able to print out the value of the indicator column for each day, but I am also trying to trade the symbol from the 'symbol' column based on the value in the indicator column for the same day.

As an update, I've pulled a basket of securities from the file with a regular expression into a 'symbols' data frame in the latest iteration seen below: