Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DLL documentation doesn't align with current client DLL

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

    DLL documentation doesn't align with current client DLL

    The official DLL docs at https://ninjatrader.com/support/help...?functions.htm

    do not align with v8.1.3.0 of the Ninjatrader.Client.dll. For example, in the docs, the function Command does not specify an argument called tpl, where the client DLL does. The commands and parameters docs for the Command class also doesn't reflect the tpl argument at all at: https://ninjatrader.com/support/help...parameters.htm

    #2
    Hello ms52390,

    Thank you for your post.

    Where exactly are you seeing that COMMAND has a tpl parameter? I'm not seeing this in the Client.dll or referenced anywhere.

    Command does not have a tpl parameter. What is listed in the Help Guide is the correct syntax.

    int Command(string command, string account, string instrument, string action, int quantity, string orderType, double limitPrice, double stopPrice,
    string timeInForce, string oco, string orderId, string strategy, string strategyId)​

    Comment


      #3
      Originally posted by NinjaTrader_Gaby View Post
      Hello ms52390,

      Thank you for your post.

      Where exactly are you seeing that COMMAND has a tpl parameter? I'm not seeing this in the Client.dll or referenced anywhere.

      Command does not have a tpl parameter. What is listed in the Help Guide is the correct syntax.

      int Command(string command, string account, string instrument, string action, int quantity, string orderType, double limitPrice, double stopPrice,
      string timeInForce, string oco, string orderId, string strategy, string strategyId)​
      Hello, right in Ninjatrader.Client.dll, this is a copy/paste of the COMMAND syntax:

      public int Command(string command, string account, string instrument, string action, int quantity, string orderType, double limitPrice, double stopPrice, string timeInForce, string oco, string orderId, string tpl, string strategy)

      Note "tpl" second to last argument

      Comment


        #4
        Hello,

        I am not seeing this referenced anywhere - I've also asked another member of the team to confirm that there is no tpl parameter in Command. The syntax you've posted doesn't seem to match the documented Help Guide version.

        Can you post a screenshot of what you are seeing and where?

        Comment


          #5
          Originally posted by NinjaTrader_Gaby View Post
          Hello,

          I am not seeing this referenced anywhere - I've also asked another member of the team to confirm that there is no tpl parameter in Command. The syntax you've posted doesn't seem to match the documented Help Guide version.

          Can you post a screenshot of what you are seeing and where?
          Hello, in version 8.1.3.0 of the Client DLL, you can see the following Command function featuring the tpl argument:
          Click image for larger version

Name:	image.png
Views:	104
Size:	83.2 KB
ID:	1308302

          Comment


            #6
            Hello,

            NinjaTrader.Client.dll is a closed-source assembly. Please note we do not provide the source code of this assembly.

            That being said, it looks like you have renamed the string strategy parameter to tpl and the string strategyId parameter renamed to strategy.

            Help Guide:

            int Command(string command, string account, string instrument, string action, int quantity, string orderType, double limitPrice, double stopPrice,
            string timeInForce, string oco, string orderId, string strategy, string strategyId)​

            Your image:

            public int Command(string command, string account, string instrument, string action, int quantity, string orderType, double limitPrice, double stopPrice,
            string timeInForce, string oco, string orderId, string tpl, string strategy)

            This is the same thing just named differently. ​

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            558 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            324 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            545 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            547 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X