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 sjsj2732, Yesterday, 04:31 AM
              0 responses
              33 views
              0 likes
              Last Post sjsj2732  
              Started by NullPointStrategies, 03-13-2026, 05:17 AM
              0 responses
              286 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              284 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              133 views
              1 like
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              91 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Working...
              X