By using fopen to open the file and then:
if the file is one line per ticker then a for loop that would use fgets to get a line process that ticker, etc.
if the file is one very long line with tickers separated by "," then use fgets to read that line and then a for loop using strExtract on that line to get to the tickers.
Need more info about the csv file.
d
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Herman
Sent: Wednesday, January 09, 2008 1:53 PM
To: AmiBroker Users Group
Subject: [amibroker] How to loop all tickers?
How would one retrieve a csv list of all tickers in the database from AFL?
Many thanks,
herman
|