Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access trades in Real Time?

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

    Access trades in Real Time?

    Hi

    I was wondaring if it is possible to access the trades which happen within NT in realtime as they happen.

    i.e.

    As I make trades, I want them to be published on my website in real-time, is this possible?

    Thanks

    Mark

    #2
    Hi Mark,

    You can access orders programatically, only if they are placed by a NinjaScript strategy. Unfortunately it's not possible to monitor for all orders placed in the platform using NinjaScript.

    You may want to look into collective 2 integration, which is a website service that offers similar capability to what you're looking for. .
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan.

      The Ninjascript orders may come in handy anyway.

      Can you point me to the documentation please?

      Thanks

      Mark

      Comment


        #4
        Sure, you need to structure orders as IOrders, in order to expose any details about them:


        You can work in the OnOrderUpdate() handler to expose order details about these objects.


        On that page is a helpful Print() statement, that shows the types of details you can expose:
        Print(order.ToString());
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Hi Ryan

          How can I identify a manual limit order that I have placed manually through a ninja strategy?

          Is this possible?

          Thanks

          Mark

          Comment


            #6
            Hi Mark, that's unfortunately not supported to access in the strategy - it would only 'know' about it's own orders / strategy positions.

            Comment


              #7
              Thanks Ryan!
              I had the same problem, and now I have the solution...

              Thanks again


              Xenical Online - Diazepam
              Last edited by Ronrris; 08-30-2011, 07:03 AM.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              152 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              89 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              131 views
              2 likes
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              127 views
              1 like
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              107 views
              0 likes
              Last Post CarlTrading  
              Working...
              X