Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error: CotData does not contain a definition for 'GetCotReportName'

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

    Error: CotData does not contain a definition for 'GetCotReportName'

    In NinjaTrader8.0.23.2 64 bits
    it appeared this error on a system indicator @COT
    I wander why it appeared.
    How can I fix it?

    @COT.cs:
    'NinjaTrader.NinjaScript.CotData' does not contain a definition for 'GetCotReportName'
    CS0117 Line 69 Column 16

    The offending line is
    if (CotData.GetCotReportName(Instrument.MasterInstrum ent.Name) == string.Empty)
    and the column 16 is at the GetCotReportName

    Thank you.
    G
    Attached Files
    Last edited by giogio1; 08-06-2022, 12:30 AM.

    #2
    Hello giogio1,

    Please update to the latest release of NinjaTrader, 8.0.26.1, and then please for the issue once more.

    Updates to NinjaTrader will contain the latest security updates and bug fixes, as well as new instruments and rollover dates.

    To update NinjaTrader
    • Shutdown all programs including NinjaTrader *important
    • Download NinjaTrader from the public link below
      Click here to download NinjaTrader
    • Double click the downloaded file to execute it
    • Follow the on screen instructions
    • Restart NinjaTrader
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you for your response.
      I noticed that the templates of my 8.0.23.2 platform do not work on another computer where I have the 8.0.26.1 installed.
      The error I get in the 26 is "unable to load chart template: the file name.xml was either designed of an earlier version...or not formatted correctly".
      I am surprised of such incompatibility with older work,
      If I upgrade from 23 to 26 will I lose access to them?
      Best

      Comment


        #4
        Hello giogio1,

        This would depend on what was in the template.

        You may need to recreate the template.

        On the computer with 8.0.23.2, open charts for each template and apply each template. Save the workspace.
        Update to the 8.0.26.1. Then re-save each template. This will update them to the latest version.
        Now you can transfer them to a new computer with 8.0.26.1.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        637 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        569 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        572 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X