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 kempotrader, Today, 08:56 AM
                              0 responses
                              6 views
                              0 likes
                              Last Post kempotrader  
                              Started by kempotrader, Today, 08:54 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post kempotrader  
                              Started by mmenigma, Today, 08:54 AM
                              0 responses
                              2 views
                              0 likes
                              Last Post mmenigma  
                              Started by halgo_boulder, Today, 08:44 AM
                              0 responses
                              1 view
                              0 likes
                              Last Post halgo_boulder  
                              Started by drewski1980, Today, 08:24 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post drewski1980  
                              Working...
                              X