Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connected in DLL interface function

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

    Connected in DLL interface function

    Hello,

    I am developing an automated trading system with my own computer program with the DLL interface.
    Overall, the DLL interface functions work as described in https://ninjatrader.com/support/help...?functions.htm.
    However, "Connected" function seems to return 0 only if an app can communicate with the NinjaTrader desktop,
    and it seems not related to an account connection (i.e., connection status shown in "Connections" menu of NinjaTrader desktop).
    Is there any way to check the account connection status with the DLL interface?
    Please let me know.

    Thanks

    #2
    Hello minkyupark82,

    There is not a specific function to check if a configured connection is connected from the dll interface, when using the interface that assumes you have the platform in the state that you need it to be in for the actions being completed in the external application. The dll interface can only let you know that it successfully connected to NinjaTrader.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    47 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X