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 Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    12 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    14 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X