Import Ticker Symbols

Q:  How can I transfer a list of ticker symbols to Ensign 10.

A:  If you want a list of ticker symbols to be a list your data feed follows, save the ASCII file with the name Symbol1.dat in the /Feeds/vendor folder. Here is the example for the eSignal vendor and its folder is ES under /Feeds. 

Then the program will watch this list of symbols and populate the ESignal quote page with live updates.

If you want a custom quote page, then the ascii text file with the symbols is like this example.  The folder is Quofile and the text file has a .dat suffix. The list of symbols have a single character prefix for the vendor, and they are in the same list order as the Feeds on Setup Feeds. The list starts with A for FXCM vendor and B for Interactive Broker vendor feed, etc.

A Spreadsheet cannot import your ticker list. However you could use ESPL to read your file and then poke the cells on the spread sheet with the strings of your ticker list.

Code example would be something like this.

begin
  sList.LoadFromFile(sPath + 'yourfilename.dat');
  FindWindow(eSpread);
  for row := 1 to pred(sList.count) do
    SetCell(2, row, sList[row], clWhite); {1st param is column}
end;

Comments are closed.