Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using ValueTuple C#7 with NinjaTrader 8

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

    Using ValueTuple C#7 with NinjaTrader 8

    Hello,

    As of today NT8 targets C#5, so ValueTuple can not be used out of the box. There is a Nuget Package to provide this functionality but NT8 support can not confirm it will work reliably.

    Is there any fellow trader that has managed to use ValueTuple in NT8 working successfully?
    Last edited by roblogic; 09-30-2021, 12:26 PM.

    #2
    Hello roblogic,

    Thank you for your post.

    As we've discussed that this would be outside the realm of what our support can assist with, I will leave this thread open for others to post any experiences they may have had.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Good reading here.

      Comment


        #4
        I have imported the System.ValueTuple.dll ./ found in the folder net47 of the Nuget Package found here:



        /. into the Custom directory and added the reference in the editor as per the instructions in post 3 here:

        Hi How can I import a DLL and use it on my strategy? Is there a .net framework limitation? Thanks


        These steps work fine but when I add using System.ValueTuple; it does not compile saying System.ValueTuple is a type not a namespace. Also not including using System.ValueTuple, ValueTuple won't work either in the Editor.

        Any idea to get this working?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X