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:	131
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 DannyP96, 05-18-2026, 02:38 PM
            1 response
            85 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            143 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            83 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            256 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            334 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X