Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 WHICKED, Today, 12:56 PM
        2 responses
        15 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by Felix Reichert, Today, 02:12 PM
        0 responses
        1 view
        0 likes
        Last Post Felix Reichert  
        Started by Tim-c, Today, 02:10 PM
        0 responses
        1 view
        0 likes
        Last Post Tim-c
        by Tim-c
         
        Started by cre8able, Today, 01:16 PM
        2 responses
        9 views
        0 likes
        Last Post cre8able  
        Started by chbruno, 04-24-2024, 04:10 PM
        3 responses
        49 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X