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 NullPointStrategies, Today, 05:17 AM
        0 responses
        44 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        65 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X