--

For csv:

import pandas as pd

tickers = pd.read_csv(‘symbol_csv_file.csv’)

For txt:

tickers = open(r’ticker_txt_file.txt’)

--

--

Nikhil Adithyan
Nikhil Adithyan

Written by Nikhil Adithyan

Founder @BacktestZone (https://www.backtestzone.com/), a no-code backtesting platform | Top Writer | Connect with me on LinkedIn: https://bit.ly/3yNuwCJ

Responses (1)