Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 BarzTrading, Today, 07:25 AM
                2 responses
                13 views
                1 like
                Last Post BarzTrading  
                Started by devatechnologies, 04-14-2024, 02:58 PM
                3 responses
                19 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by tkaboris, Today, 08:01 AM
                0 responses
                3 views
                0 likes
                Last Post tkaboris  
                Started by EB Worx, 04-04-2023, 02:34 AM
                7 responses
                162 views
                0 likes
                Last Post VFI26
                by VFI26
                 
                Started by Mizzouman1, Today, 07:35 AM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Working...
                X