Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Send tcp trade command at NJ8

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

    Send tcp trade command at NJ8

    hi guys is possible to send command open close trade by tcp with external app ?
    example i build my app with 3 button long short close when i push long in my app must execute long in ninja all over TCP IP , exist some example ?
    thankz

    #2
    Hello faustf, thanks for your post.

    We provide the DLL interface that will let you interface NinjaTrader with an external .NET application. The .NET application would handle the HTTP Request through the WebClient Class (publicly available link):

    Provides common methods for sending data to and receiving data from a resource identified by a URI.


    For an example use case, please see this thread:



    Please let me know if I can assist any further.

    Chris L.NinjaTrader Customer Service

    Comment


      #3
      sorry but this only if NJ is in my pc is not possible by TCP ip ? suppose i have NJ in VPS and i want run a command not exist NJ 8 Ecosystem somthing for run directly by tcp ip a command buy sell or close?
      thankz

      Comment


        #4
        Hello faustf, thanks for your reply.

        There is no web API we provide. Anything involving external server code would need to be created externally from NinjaTrader and it would need to utilize the DLL interface we provide.

        Please let me know if I can assist any further.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Hi is possible bind NinjaTrader.Client.dll , i try to look inside of dll with dll export viewer , but inside not see nothing , but if i look inside of NTDirect.dll i saw all class but if i try to bind return dll call failed
          (i not use C# for call $aResult = DllCall($hDll, "double ", "MarketData", "str", "6E 03-21","int","0") )
          thnaks

          Comment


            #6
            Hello faustf, thanks for your reply.

            I apologize but support for the DLL interface will be limited. I have never used any of the tools you mention so I will not be able to help with any setup of the DLL interface as it goes beyond the scope of support I am able to give. The examples I sent earlier are the best resource for a working example on how to use the DLL interface.

            Please let me know if I can assist any further.
            Last edited by NinjaTrader_ChrisL; 01-13-2021, 12:25 PM.
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              thanks for support ChrisL i appreciate the help thankz

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by michi08, 10-05-2018, 09:31 AM
              3 responses
              740 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by sightcareclickhere, Today, 01:55 PM
              0 responses
              1 view
              0 likes
              Last Post sightcareclickhere  
              Started by Mindset, 05-06-2023, 09:03 PM
              9 responses
              258 views
              0 likes
              Last Post ender_wiggum  
              Started by Mizzouman1, Today, 07:35 AM
              4 responses
              18 views
              0 likes
              Last Post Mizzouman1  
              Started by philmg, Today, 01:17 PM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_ChristopherJ  
              Working...
              X