Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error loading NtDirect.dll in Python

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

    Error loading NtDirect.dll in Python

    I tried to load NtDirect.dll in Python (with pythonnet) but got an error. See below. I tried both x86 and x64 version of the dlls, using corresponding versions of Python intepreters (2.7, 3.7, of x86 and x64).

    Did anyone have success on this?

    Code:
     
     pip install pythonnet  import clr clr.AddReference('NtDirect') 
    [B]Error: System.IO.FileNotFoundException: Unable to find assembly 'NtDirect.dll'.
    at Python.Runtime.CLRModule.AddReference(String name)[/B]

    #2
    Hello yubo27,

    As this is outside of what our NinjaTrader Support is able to assist with, this thread will remain open for any community members that would like to assist.

    As heads up, the NTDirect.dll is an unmanaged c# compiled assembly. There is also available in a managed version in the NinjaTrader.Client.dll file.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    88 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    57 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    119 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    195 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    176 views
    0 likes
    Last Post CarlTrading  
    Working...
    X