Click here to Login





                                                   How to export historical data for a list of symbols

  0

0
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.



QuantShare
2019-10-20 18:21:09

  0

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

  0

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?

SILV
GLD
AU
SBGL
PLMR
KL
GFI
DRD
EGO
SVM
NG

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.
Ed



QuantShare
2019-10-21 09:28:09

  0

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

  0

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

  0

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?


QuantShare
2019-10-22 10:48:52

  0

Please check the following forum post:
https://www.quantshare.com/title-95-export-to-csv-the-whole-database-including-symbols

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

  0

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


QuantShare
2019-10-23 11:40:13

  0

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
0




Reply:

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"










QuantShare

Trading Items
Historical EOD data for Saudi stocks
Historical Stock Quotes Data for more than 50 Exchanges
Historical EOD data Downloader for Delisted/Bankrupt Stocks
Market Cap Historical Data for the US Stock Market
5-Minute Historical Intraday Data for Forex, Indices and Futures/...

How-to Lessons
How to download historical EOD data for penny stocks
How to quickly download the most recent EOD data for your stocks
How to export trading data to a CSV file
How to download earnings calendar data for various 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
Intraday Data for NSE Symbols

Blog Posts
Different Ticker Symbols for Each Data Source
How to Download Trading Data for Certain Securities Only
6 places to download historical intraday Forex quotes data for fr...
How to Create a List of Ticker Symbols
Step by step on how to get free realtime/delayed data for stocks,...









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright 2019 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
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.