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 sidlercom80, 10-28-2023, 08:49 AM
        167 responses
        2,260 views
        0 likes
        Last Post jeronymite  
        Started by warreng86, 11-10-2020, 02:04 PM
        7 responses
        1,362 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Perr0Grande, Today, 08:16 PM
        0 responses
        5 views
        0 likes
        Last Post Perr0Grande  
        Started by elderan, Today, 08:03 PM
        0 responses
        9 views
        0 likes
        Last Post elderan
        by elderan
         
        Started by algospoke, Today, 06:40 PM
        0 responses
        10 views
        0 likes
        Last Post algospoke  
        Working...
        X