Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Console App

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

    Console App

    Hello to the forum,

    I am developing a ConsoleApp and would like to access values in Ninjatrader 8.
    Which reference do I need to include in my program.

    The program is not in the Ninjatrader folder. Is this an obstacle?

    Thanks for the support


    #2
    Hello user10,

    Thanks for your post.

    NinjaTrader does have an API available as a C# managed and unmanaged assembly. Support for the API is very limited.

    The Application Programming Interface (API) is available in the NTDirect.dll (unmanaged) and NinjaTrader.Client.dll (managed) files for you to use in an external application to interface with NinjaTrader. These two files provide the same functions, however, you may find the NinjaTrader.Client.dll is easier to reference in your custom application.

    Support for the API is limited from NinjaTrader Support. We are not able to assist with any code in an application external to NinjaTrader. We are able to detail the usage of any methods available from the API.

    Below I am providing a publicly available link to the help guide that lists the functions available to the API.
    Help Guide NT8 API functions - http://ninjatrader.com/support/helpG..._interface.htm
    Help Guide NT7 API functions - https://ninjatrader.com/support/help..._interface.htm

    Please also refer to this forum post link for more information about the NinjaTrader API — https://ninjatrader.com/support/foru...art#post793626

    On the forum, you can ask other developers in the community if anyone has tips for unsupported external application code.

    Please let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Hello Brandon_H,
      thank you very much for the hint.
      The client.dll is not the solution because it does not transfer all the data I want to use.
      Is there another solution to access the variables in a strategy from an external ConsoleApp?
      Many thanks

      Comment


        #4
        Hello user10,

        Thanks for your note.

        The NinjaTrader API would be the only way to access NinjaTrader values in an external program/script such as ConsoleApp. Note that support for the API is very limited.

        There would be no other means for accessing NinjaTrader values in an external ConsoleApp.

        Let us know if we may assist further.
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Rogers101, 05-05-2024, 11:30 AM
        3 responses
        21 views
        0 likes
        Last Post Rogers101  
        Started by nightstalker, 05-04-2024, 02:05 PM
        5 responses
        53 views
        1 like
        Last Post nightstalker  
        Started by MSerag, Yesterday, 11:52 PM
        0 responses
        10 views
        0 likes
        Last Post MSerag
        by MSerag
         
        Started by DynamicTest, Yesterday, 11:18 PM
        0 responses
        3 views
        0 likes
        Last Post DynamicTest  
        Started by dcriador, Yesterday, 01:43 AM
        3 responses
        22 views
        0 likes
        Last Post dcriador  
        Working...
        X