Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 C# version

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

    NT8 C# version

    Hi,

    Can you please tell me which version of C# does NT8 implement? I tried to use some C# 6 features (nameof) and the script did not compile. Thank you.

    #2
    Hello Zeos6,

    From my understanding NinjaTrader 8 uses .NET 4.5 and C# 5.0.

    If I find this has been updated to any other version I will update this thread.

    Update: 8.0.23.* has been updated to use .NET 4.8 and C# 5.0
    Last edited by NinjaTrader_ChelseaB; 01-31-2021, 06:48 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea. I appreciate it.
      C# is now up to version 7 with some nice features. It would be nice if we could take advantage of the new features in NT.

      Comment


        #4
        Hello Zeos6,

        I've received a tracking ID for your request.

        Your request for NinjaTrader to target .NET 4.7 with C# 7 is being tracked with ID #SFT-3124.

        Please note it is up to the NinjaTrader Development to decide if and when any request will be implemented.

        Thank you for your feedback on this.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello,

          As of today, which version of .Net and C# should we use when developing a strategy in Visual Studio?. Do you have a template just to start correctly? Thanks!

          Comment


            #6
            Hello roblogic,

            Use NinjaTrader to generate a new strategy or indicator from the NinjaScript Editor window. Then click the VisualStudio icon on the NinjaScript Editor to load the NinjaTrader project in VisualStudio. Then open the file to begin editing it.

            NinjaTrader 8 uses .NET 4.5 and C# 5.0.

            See post #2 in this thread.
            Last edited by NinjaTrader_ChelseaB; 12-11-2018, 08:19 AM.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Add my vote for targeting newer C# language versions - at least C# 7 please.

              Comment


                #8
                Hi robotic, thank you for your post. Your vote has been added.
                Chris L.NinjaTrader Customer Service

                Comment


                  #9
                  It would be nice if it were at least C# 6 so we could just use string interpolation and the advanced async capabilities.

                  Comment


                    #10
                    Add my vote!

                    Comment


                      #11
                      pls add my vote!

                      Comment


                        #12
                        Please add my vote!

                        Comment


                          #13
                          Please add my vote

                          Comment


                            #14
                            Please add my vote. The new features of C# 7 would come very handy!

                            Comment


                              #15
                              Hello,

                              Matheusfx, timko, and roblogic we have added your votes.

                              caveat_lector and cls71 your votes have already been added.
                              Microsoft has a fantastic Machine Learning framework that I would like to use to build custom indicators and strategies in NinjaTrader. Unfortunately, ML.Net

                              Microsoft has a fantastic Machine Learning framework that I would like to use to build custom indicators and strategies in NinjaTrader. Unfortunately, ML.Net
                              Chelsea B.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Barry Milan, Today, 10:35 PM
                              1 response
                              6 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by WeyldFalcon, 12-10-2020, 06:48 PM
                              14 responses
                              1,427 views
                              0 likes
                              Last Post Handclap0241  
                              Started by DJ888, Yesterday, 06:09 PM
                              2 responses
                              9 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by jeronymite, 04-12-2024, 04:26 PM
                              3 responses
                              40 views
                              0 likes
                              Last Post jeronymite  
                              Started by bill2023, Today, 08:51 AM
                              2 responses
                              16 views
                              0 likes
                              Last Post bill2023  
                              Working...
                              X