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

NT 7 Language Compliance

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

    NT 7 Language Compliance

    Hi,

    Does anyone know if the latest version of NT is C# 4 compliant? It does not appear to be but I could be missing something. Please let me know. Thank you.

    #2
    Hello Zeos6,
    NinjaTrader 7 is not built on .Net Framework 3.5 and you cannot refer any assembly to .Net Framework 4 or above.

    Please change the target of the assembly to .Net Framework 3.5 and see if you can make it work.
    Attached Files
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thanks Joydeep. I was trying to use tuples but those are c#4. Any idea if and when NT will be Framework 4 compliant? Thanks.

      Comment


        #4
        Hello Zeos6,
        Unfortunately I do not have any information regarding that. However our next major version is built on .Net Framework 4.5
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          I am also needing to know which version of the C# language has been implemented by NT7? I really need to know for the strategy I'm building.

          I understand NT8 will be using C# language version 4.5.

          I'm not asking which version of the .NET framework. Specifically, I need to know which version of the C# language is being used for NT7. Thank you.

          Comment


            #6
            Hello BuckStar,

            Thank you for your post and welcome to the NinjaTrader Support Forum!

            NinjaTrader uses .NET 3.5 which includes the compiler 3.0 for C#.

            Comment


              #7
              Originally posted by NinjaTrader_PatrickH View Post
              Hello BuckStar,

              Thank you for your post and welcome to the NinjaTrader Support Forum!

              NinjaTrader uses .NET 3.5 which includes the compiler 3.0 for C#.
              Thanks for confirming! Does it apply for all import export documents?
              Last edited by NinjaTrader_Jim; 04-26-2021, 06:42 AM. Reason: Advertisement Link Removed

              Comment


                #8
                Hello Marius Titulescu,

                I had removed the advertisement link from your post. The forum is meant to be support focused, so we ask that any advertisement links are excluded from your posts. Thanks for your understanding.

                All scripts exported from NinjaTrader 7 would be built for .NET 3.5 and this version of C#.

                Assemblies can be built in Visual Studio that allow for newer versions of C#, but these assemblies could not be built from NinjaTrader 7.

                We look forward to assisting.
                JimNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Pattontje, Yesterday, 02:10 PM
                2 responses
                15 views
                0 likes
                Last Post Pattontje  
                Started by flybuzz, 04-21-2024, 04:07 PM
                17 responses
                229 views
                0 likes
                Last Post TradingLoss  
                Started by agclub, 04-21-2024, 08:57 PM
                3 responses
                17 views
                0 likes
                Last Post TradingLoss  
                Started by TradingLoss, 04-21-2024, 04:32 PM
                4 responses
                44 views
                2 likes
                Last Post TradingLoss  
                Started by cre8able, 04-17-2024, 04:16 PM
                6 responses
                57 views
                0 likes
                Last Post cre8able  
                Working...
                X