Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

the NinjaTrader.Client.dll file doesn't seem to have the correct set of functions

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

    the NinjaTrader.Client.dll file doesn't seem to have the correct set of functions

    I'm trying to connect the API to my python script. When I'm trying to call the functions in the "NinjaTrader.Client.dll'" file it lists the following that doesn't seem to match the documentation here (https://ninjatrader.com/support/help...?functions.htm)
    --
    ['_FuncPtr', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattr__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_func_flags_', '_func_restype_', '_handle', '_name']
    ​--
    Does anyone have any idea where/how to get the correct functions?

    #2
    Did you try NinjaTrader.Custom.dll?

    Comment


      #3
      yes, that didn't work either

      Comment


        #4
        Hello Ray11,

        Our NinjaScript Engineering Support team would not be able to assist with an external application. Python would not be supported altogether.

        Below I am providing a link to a google search which had some recommendations about importing a c# assembly on stack overflow.
        https://www.google.com/search?q=python+import+c%23+dll​

        Below is a link to general information on the API.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        41 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        28 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        45 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        37 views
        0 likes
        Last Post CarlTrading  
        Working...
        X