NinjaTrader - read instrument list - futures io
futures io futures trading



NinjaTrader - read instrument list


Discussion in NinjaTrader

Updated by Jaba
    1. trending_up 3,058 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 3 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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)

 
Thread Tools Search this Thread
 

NinjaTrader - read instrument list

  #1 (permalink)
Austin TX
 
Experience: Intermediate
Platform: SaintGobain Crystal Ball
Trading: 6E
 
Posts: 81 since Oct 2010
Thanks: 102 given, 132 received

NinjaTrader - read instrument list

Hi

Sorry if this has been answered somewhere else, I have been searching for an answer, but no luck.

How can I programatically get a list of instruments in the system? Something like:

Instrument[] fullInstrumentList = NinjaTrader.getInstruments();

Or perhaps somebody knows how to find an instrument based on a name? I will appreciate your help. Thanks
J

Reply With Quote

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
ThinkOrSwim
Moving average with Lag reduction
NinjaTrader
Linux?
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
What is your single biggest weakness?
95 thanks
Spoo-nalysis ES e-mini futures S&P 500
89 thanks
Is Volume Profile worth learning or is it an outdated concept?
59 thanks
Is Amp at risk of going under?
54 thanks
Is Orderflow An Outdated Concept?
30 thanks
 
  #3 (permalink)
Denver, CO
 
Experience: Advanced
Platform: SierraChart
Broker: Optimus, Rithmic
Trading: ES
 
Posts: 67 since Sep 2011
Thanks: 6 given, 34 received


this is beyond unsupported and will probably break something, you've been warned!

 
Code
foreach (Cbi.Instrument instrument in Cbi.Instrument.GetObjects())
    Print(instrument.FullName);

Reply With Quote
The following 2 users say Thank You to dmh24 for this post:
 
  #4 (permalink)
Austin TX
 
Experience: Intermediate
Platform: SaintGobain Crystal Ball
Trading: 6E
 
Posts: 81 since Oct 2010
Thanks: 102 given, 132 received

Yep, thanks a lot.

If this is beyond unsupported then I don't know how to classify my Reflection-based parts of the code.

Cheers
J

Reply With Quote



futures io Trading Community Platforms and Indicators NinjaTrader > NinjaTrader - read instrument list




Upcoming Webinars and Events
 

Free BloodHound Licenses to everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 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