Announcement

Collapse
No announcement yet.

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):

    https://docs.microsoft.com/en-us/dot...t?view=net-5.0

    For an example use case, please see this thread:

    https://ninjatrader.com/support/foru...442#post514442

    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, 11:25 AM.
            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 fdalgoi, Today, 12:44 AM
              0 responses
              1 view
              0 likes
              Last Post fdalgoi
              by fdalgoi
               
              Started by thomaswilleford, Today, 12:07 AM
              0 responses
              3 views
              0 likes
              Last Post thomaswilleford  
              Started by dlygorivw, Yesterday, 10:55 PM
              0 responses
              2 views
              0 likes
              Last Post dlygorivw  
              Started by dlygorivw, Yesterday, 10:53 PM
              0 responses
              4 views
              0 likes
              Last Post dlygorivw  
              Started by janiyaconnelly, Yesterday, 10:41 PM
              0 responses
              3 views
              0 likes
              Last Post janiyaconnelly  
              Working...
              X