Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjatrader and python connection

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

    Ninjatrader and python connection

    Hello, I would like to know if it is possible to make a connection via API to NT from Python, I know that officially it cannot but I would like to investigate more about this and see what content I can access from the dll and which dll I should use.

    Thanks

    #2
    Hello 7robert,

    Thank you for your note.

    The DLL interface allows any external application that can import DLLs to communicate with NinjaTrader through the documented methods found here:



    As long as you can find a Python library that can import the DLL then it can be used in your program. The methods that belong to the Strategy class are separate from all of this. If you wanted an automated trading system implemented through the DLL interface your Python code must manage every aspect of the strategy. We have an example program here that might be helpful:
    https://ninjatrader.com/support/foru...442#post514442

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    182 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    335 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    259 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X