Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

launch .net form from NT7 strategy

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

    launch .net form from NT7 strategy

    Hello,
    Is it possible to launch a .net forms app through a Ninjatrader 7 strategy to submit orders and receive data?
    Or should I use the API and how so?
    Thanks!

    #2
    Hello smitty7,

    Thanks for your post.

    Launching a .NET forums app from a NinjaScript strategy in NT7 would go outside the scope of support we would be able to provide you with in the Support department at NinjaTrader.

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

    The Application Programming Interface (API) is available in NinjaTrader.Client.dll (managed) files to use in an external application to interface with NinjaTrader.

    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 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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Does the API support sending market depth to c#?
      Thanks

      Comment


        #4
        Hello smitty7,

        Thanks for your notes.

        It is only possible to set the best bid/ask with the API, not complete market depth.

        The function double MarketData(string instrument, int type) would be used to get the most recent price for the specified instrument and data type. 0 = last, 1 = bid, 2 = ask. You must first call the SubscribeMarketData() function prior to calling this function.

        The function int Ask(string instrument, double price, int size) sets the ask price and size for the specified instrument.

        The function ​int Bid(string instrument, double price, int size) sets the bid price and size for the specified instrument.

        Please let us know if we may assist further.​
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sonoekuhabara, Today, 06:56 AM
        0 responses
        3 views
        0 likes
        Last Post sonoekuhabara  
        Started by donto, Today, 06:41 AM
        0 responses
        2 views
        0 likes
        Last Post donto
        by donto
         
        Started by basitseo, Today, 06:40 AM
        0 responses
        2 views
        0 likes
        Last Post basitseo  
        Started by basitseo, Today, 06:34 AM
        0 responses
        3 views
        0 likes
        Last Post basitseo  
        Started by basitseo, Today, 06:32 AM
        0 responses
        4 views
        0 likes
        Last Post basitseo  
        Working...
        X