Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there any way to communicate with Ninjatrader application from another C# app?

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

    #16
    While I appreciate your dedication to exotic animals I would like to point that it is off the topic.

    I found the answer on that question myself anyway.

    If you are interested why - is because I wanted to use VS2005 as code I did quite bulky and involve creating load of UI elements which is real PITA to do in Ninja editor.

    Thats pretty much it folks.

    Comment


      #17
      Originally posted by mgbloomfield View Post
      When you code your external application in C++/python, you can include the NinjaTrader.Client.Dll.

      As your external application makes a decision to trade something, you call the NinjaTrader.Client.Dll's API to submit an order.

      Very simple.

      If your external application requires a data feed then that's another story.

      Which brings up another question... why not code your strategy in NinjaScript? If you've already master C++ and python, then C# is easy enough.

      Think about it... You would be coding your strategy that is 100% .NET Framework.
      Here's the issue I'm facing. My place already has a trading platform written in c# that's linked to broker X. But it's just an execution platform (something like Turbo Trader 2). Thus it lacks the powerful custom indicators/decision making tools of NJ.. so I wanna do it the another way round..

      When NJ gives me a signal from OnBarUpdate(), it passes the signal into my external c# program which executes it with my existing broker.

      anyone tried that before?

      Comment


        #18
        mechcow, that is definitely possible. Unfortunately it would be unsupported.
        AustinNinjaTrader Customer Service

        Comment


          #19
          no worries, I've got my solution. Thanks for the reply!

          Comment


            #20
            Originally posted by mechcow View Post
            no worries, I've got my solution. Thanks for the reply!
            Mechcow,
            How did you do it? I am also facing a same issue.

            Comment


              #21
              Originally posted by mechcow View Post
              no worries, I've got my solution. Thanks for the reply!
              I`m have try connect Ninja to russian brokers, but I have so many questions about is. Could we exchange our experience. Mail me please to slayk(at)mail.ru

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              601 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              347 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              559 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              558 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X