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 pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        149 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,283 views
        0 likes
        Last Post Leafcutter  
        Working...
        X