Get symbol descriptions for Stocks - futures io
futures io futures trading



Get symbol descriptions for Stocks


Discussion in NinjaTrader

Updated
    1. trending_up 557 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 6 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Get symbol descriptions for Stocks

(login for full post details)
  #1 (permalink)
Denver
 
Experience: None
Platform: NinjaTrader
 
TraderJesse's Avatar
 
Posts: 85 since Aug 2009
Thanks: 51 given, 93 received

I'm currently seeking a different solution to getting the description for stock symbols in Ninjatrader 8. The Yahoo finance api is no longer working so I'm trying to come up with a different solution to get the symbol descriptions for stocks. The vast majority of stock symbols do not have a description for them in the instrument file. It is too time consuming to enter them manually. I recently found that I could actually write the description through the indicator to the instrument file. If the description field was blank in the instrument file, the indicator would download the description from Yahoo finance and then it would write the description in the file so the description would only get pulled from Yahoo finance once. I am wondering if anyone knows how I can get the description for stock symbols from either my Kinetick feed or my Interactive brokers feed? Or any other solution would be welcome.

Thanks, Jeffrey.

Example of how I got the description before.

baseURL = "https://download.finance.yahoo.com/d/quotes.csv?s="+lookup;

using(WebClient client = new WebClient())
{
mytext = "";
symbolname = Regex.Replace(client.DownloadString(baseURL+"&f=s") , @"[^\w\&.@-]", "");
symboldescription = Regex.Replace(client.DownloadString(baseURL+"&f=n") , @"[^\w \&.@-]", "");
mytext = symbolname+" - "+symboldescription;

}


Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
Regarding Multicharts strategy trigger
MultiCharts
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
Cross border fund flows / fx correlations
Treasury Notes and Bonds
ZigZag with Depth and Backstep
EasyLanguage Programming
 
 
(login for full post details)
  #3 (permalink)
Gits (Hooglede) Belgium
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,991 since Sep 2013
Thanks: 2,437 given, 5,801 received


On the IQFeed symbol guide website, there exists a TAB delimited file with symbols and names
maybe that can help you ?

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #4 (permalink)
Denver
 
Experience: None
Platform: NinjaTrader
 
TraderJesse's Avatar
 
Posts: 85 since Aug 2009
Thanks: 51 given, 93 received

@rleplae Thanks

I downloaded the file and first stripped out all but the equity symbols. Then stripped out the ones with no description. Still left 24248 stock symbols with descriptions.

I'll see if I can make this work.

Attached Files
Register to download File Type: zip Stock_List_11212017.zip (252.1 KB, 2 views)
Started this thread Reply With Quote
The following user says Thank You to TraderJesse for this post:
 
(login for full post details)
  #5 (permalink)
Denver
 
Experience: None
Platform: NinjaTrader
 
TraderJesse's Avatar
 
Posts: 85 since Aug 2009
Thanks: 51 given, 93 received

The attached indicator uses a text look up file to find the description or stock symbols when the description in the Ninja database is blank. It also has the option to overwrite the description even if it's not blank. So by placing this on a chart as you change from symbol to symbol it will update the description.

One of the drawbacks of using the look up file is that unless you're constantly updating the file, new stock symbols or changed stock symbols descriptions will not get updated.

You can extract the symbol description lookup file and place it in any folder you wish all you have to do is set the path and file name in the indicator.



If you're using another indicator to display the stock symbol description but you would like to use this to update the database, un-check Visible in this indicator properties and it will still update the database even if it's not displaying.




As I write very little code suggestions for improvements would be appreciated.

Attached Files
Register to download File Type: zip symboldescription.zip (193.7 KB, 5 views)
Register to download File Type: zip StockDescription.zip (2.8 KB, 3 views)
Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Get symbol descriptions for Stocks


Last Updated on November 28, 2017


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts