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.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kevinenergy, 02-17-2023, 12:42 PM
    115 responses
    2,699 views
    1 like
    Last Post kevinenergy  
    Started by prdecast, Today, 06:07 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Christopher_R, Today, 12:29 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by chartchart, 05-19-2021, 04:14 PM
    3 responses
    577 views
    1 like
    Last Post NinjaTrader_Gaby  
    Started by bsbisme, Yesterday, 02:08 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X