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

Futures contract info Instrument.FullName

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

    Futures contract info Instrument.FullName

    I am using Instrument.FullName to get the futures contract info. For example, "ES 06-12". Is there a field somewhere that contains the contract month and year, or is the only way to get this info to just parse this string?

    #2
    You can use Instrument.Expiry.Month and Instrument.Expiry.Year

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ETFVoyageur, Today, 02:04 PM
    3 responses
    21 views
    0 likes
    Last Post ETFVoyageur  
    Started by cre8able, Today, 06:18 PM
    0 responses
    5 views
    0 likes
    Last Post cre8able  
    Started by ETFVoyageur, Today, 06:05 PM
    0 responses
    3 views
    0 likes
    Last Post ETFVoyageur  
    Started by TAJTrades, 04-28-2024, 09:46 AM
    2 responses
    17 views
    0 likes
    Last Post TAJTrades  
    Started by mjbatts91, Today, 04:48 PM
    0 responses
    7 views
    0 likes
    Last Post mjbatts91  
    Working...
    X