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 DanielTynera, Today, 01:14 AM
        0 responses
        2 views
        0 likes
        Last Post DanielTynera  
        Started by yertle, 04-18-2024, 08:38 AM
        9 responses
        40 views
        0 likes
        Last Post yertle
        by yertle
         
        Started by techgetgame, Yesterday, 11:42 PM
        0 responses
        12 views
        0 likes
        Last Post techgetgame  
        Started by sephichapdson, Yesterday, 11:36 PM
        0 responses
        2 views
        0 likes
        Last Post sephichapdson  
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,615 views
        0 likes
        Last Post aligator  
        Working...
        X