Click here to Login

                                                   How to export historical data for a list of symbols


Ed Troy
2019-10-19 12:52:34

I created a very large database and successfully exported that to a csv file thanks to some posts on your forum. Now, I am wondering how I can just
export the historical data for a set of 10 or 20 symbols in that huge database by changing some lines in the script editor.

2019-10-20 18:21:09


You can get a list of symbols using the "Symbols" class: Symbols.GetSymbols("list name", "category name").

But before that you need to add a list of symbols that can be accessed by the "Symbols" class. You can do so using "Symbol -> Symbols View" menu.

Ed Troy
2019-10-20 18:48:44


I am not sure that I understand these instructions. Given, I have a huge database of historical data over the last 2 years or so. Let say that I want to download, or create a database, with the historical data from that huge database for the following stocks. How would I do it?


Again, I have created a huge database with end of day quotes for thousands of stocks. I just, now, need to figure out how to create quotes for these particular stocks, over a very particular time frame.

2019-10-21 09:28:09


So that I understand correctly, you have downloaded data within QuantShare and you want to export that data in CSV for certain symbols only, right?

Ed Troy
2019-10-21 13:57:19


Yes, that is correct. I created a database of thousands of stocks, and now I want to export the data for just certain stocks to csv.

Ed Troy
2019-10-22 10:46:16


So, for example, from that large database that I created, I now need to create a csv file for only, say, SILV, GLD, AU, and SBGL. How exactly, do I do that?

2019-10-22 10:48:52


Please check the following forum post:

But instead of using:
Symbol[] symbols = Symbols.GetSymbols();

You should use:
Symbol[] symbols = Symbols.GetSymbols("list name", "");

Where the list name can be created using this tool ("Symbol -> Symbols View")

Ed Troy
2019-10-22 12:14:43


I don't see a tool Symbol -> symbols view Where is it? How do I use it to create that list name?

2019-10-23 11:40:13


Please check the "Symbol" menu in QuantShare. You may need to click on the "Show more options" option in that menu to make the "Symbols View" appear.

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Historical EOD data for Saudi stocks
Historical EOD data Downloader for Delisted/Bankrupt Stocks
5-Minute Historical Intraday Data for Forex, Indices and Futures/...
Historical EOD data for LSE-listed Stocks and ETFs
Market Cap Historical Data for the US Stock Market

How-to Lessons
How to download historical EOD data for penny stocks
How to export trading data to a CSV file
How to download earnings calendar data for various stocks
How to quickly download the most recent EOD data for your stocks
How to get fundamental data for U.S. Stocks

Related Forum Threads
How to download data for selected symbols ?
how to download Intraday data for NSE Nifty - S&P CNX Nifty
Historical Market Cap Data For Delisted Stocks
How to export intraday data
Export Custom Database data - all symbols - including text fields

Blog Posts
Different Ticker Symbols for Each Data Source
How to Create a List of Ticker Symbols
How to Download Trading Data for Certain Securities Only
6 places to download historical intraday Forex quotes data for fr...
How to make sure your Historical Price Data is Split Adjusted

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.