Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Multi-Instrument with futures

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multi-Instrument with futures

    I have a strategy inserted in the future of the Mini S&P and I want to make reference to the future of Mini Dow Jones. How can I know the exact name for this future and its actual expiry? (For example: YMZ12).

    Thanks in advance.

    #2
    Hello soyjesus,

    For a future contract it will be the name of the symbol as defined inside the Instrument Manager, followed by a space and the contract month. For all other instruments it would just be the name. Example: "YM 12-12", "ES 12-12", "AAPL", etc...

    You may also programmatically access the Full Name as well by using the Instrument.FullName to get the Full Name of the Instrument.

    http://www.ninjatrader.com/support/h...t_fullname.htm

    Let us know if we can be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Uregon, Today, 03:44 AM
    0 responses
    2 views
    0 likes
    Last Post Uregon
    by Uregon
     
    Started by CyberNate, 11-17-2020, 08:15 PM
    2 responses
    426 views
    0 likes
    Last Post nurpalgo  
    Started by sdauteuil, 09-23-2021, 10:16 AM
    7 responses
    1,247 views
    0 likes
    Last Post marcus2300  
    Started by sofortune, 05-18-2024, 11:48 AM
    2 responses
    34 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by Zach55, 02-19-2024, 07:22 PM
    2 responses
    67 views
    0 likes
    Last Post lbadisa1  
    Working...
    X