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 SnailHorn, 05-02-2024, 10:49 PM
    3 responses
    23 views
    0 likes
    Last Post SnailHorn  
    Started by giulyko00, Today, 11:49 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by marksingh87, 02-13-2024, 04:55 PM
    6 responses
    209 views
    1 like
    Last Post mshrstv
    by mshrstv
     
    Started by SnailHorn, Today, 08:38 AM
    2 responses
    4 views
    0 likes
    Last Post SnailHorn  
    Started by Skifree, Yesterday, 11:38 PM
    1 response
    16 views
    1 like
    Last Post NinjaTrader_LuisH  
    Working...
    X