Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

account order status

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

    account order status

    Hi,

    I want to develop a indicator/strategy that returns an account order status to a text file. (not strategy status)

    For example,: "I'm trying going long, than the order is pending for 5 seconds, than the order gets filled."

    My text file should read:
    long es 750.00 pending
    long es 750.00 filled

    What functions / methods should I use for developing my indicator/strategy ?

    #2
    You can monitor the OnOrderStatus() and trigger writing to text file from these events.

    More information -

    RayNinjaTrader Customer Service

    Comment


      #3
      Suggestion?

      Hi,

      "The OnOrderUpdate() method is called everytime an ORDER MANAGED BY A STRATEGY changes state. An order will change state when a change in order quantity, price or state (working to filled) occurs."


      I want to monitor a position that I enter manually in the Sim101 account, any suggestions ?

      (So when I place a trade the indicator/strategy can write it in a text file for example: Long ES 5 contracts at 10:16 hour )

      Comment


        #4
        You cannot manage manually entered trades.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          not managing

          Josh,

          I just want to monitor the current position! I do not want to interact or change a position.

          If it's not possible by a strategy/indicator, can an advanced programmer do this?

          Greetings,

          Comment


            #6
            Let me rephrase. You cannot access any information about manually entered trades from a strategy let alone an indicator. Therefore you cannot monitor, manage, do anything in relation to manually entered trades.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              ok

              Ok, I'm just curious and don't want to bug you with my question(s), but I have one more question,

              Is it possible that a Certified Ninjatrader Programmer can code this for me in a way that hasn't to do with indicators/strategy's or the standard coding ?




              (I read things in the log like: Cbi.Connection.ProcessEventArgs.OrderStatusEventAr gs , Cbi.Order.Update1, Cbi.Connection.ProcessEventArgs.ExecutionUpdateEve ntArgs etc etc. )

              Thanks for your time!!!!!!!!!!

              Comment


                #8
                Creamers,

                The functionality you are looking for is completely not supported. If a NinjaScript Consultant has a method to do what you want we can neither support nor promote it. Unfortunately I just cannot answer your question.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Hwop38, 05-04-2026, 07:02 PM
                0 responses
                152 views
                0 likes
                Last Post Hwop38
                by Hwop38
                 
                Started by CaptainJack, 04-24-2026, 11:07 PM
                0 responses
                305 views
                0 likes
                Last Post CaptainJack  
                Started by Mindset, 04-21-2026, 06:46 AM
                0 responses
                244 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by M4ndoo, 04-20-2026, 05:21 PM
                0 responses
                345 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Started by M4ndoo, 04-19-2026, 05:54 PM
                0 responses
                176 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Working...
                X