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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X