Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AutoTrading Stock

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

    #16
    imported post

    Thanks Greg -

    I have spent a good 15 minutes testing this (you can use the Simulated Data Feed and control the trend up or down) with different ordertypesall has produced expected results. I am sure I am missing something....I suspecta reproducible scenario will surface soon.

    Ray
    RayNinjaTrader Customer Service

    Comment


      #17
      imported post

      Hi Ray

      I entered 2 positions using Stop Limit Buy at around 2 pm today

      Both were set with TimeToClose at 3:51, and neither of them closed out.
      I am pretty sure I am setting it up properly, it did work with my trials.

      Some thoughts:
      1.Maybe it works on a close 5to 10 minutes ahead but fails if close time is too far out
      2. These were both stock trades, and the Stock symbol is not in the symbol list, i just enter the symbol in the BEW and hit enter. Maybe the problem lies there

      Greg



      Comment


        #18
        imported post

        Just in case you wanted me to keep you updated here is what played out today

        24 Stop Limit orders were entered at the open of trading - all stocks
        10 orders triggered
        trade management worked great until 1 trade was stopped out on a trailing stop, and the Positions page went blank. I sent the error code to Vincent at support.
        I restarted Ninja, and all positions and working orders were there

        trade management worked perfectly for the rest of the day, profits were taken, stops were moved up etc...

        At 3:51 TimeToClose, there were 8 positions open, none of them got closed out.
        All of them had been selected to TimeToClose when they were entered.

        Another thought is this:
        because I enter so many orders, I don't keep a BEW or a DOM open for them. I enter them, see that they are on the Orders page correclty entered, then I close out the BEW.
        All of the trials I performed I kept the trade in a BEW while waiting for the TimeToClose. Maybe it loses track of the TimetoClose if there is no entry window maintained, but it is not reasonable to keep 24 windows open

        I hope this helps



        Greg

        Comment


          #19
          imported post

          I will check this out. Thanks for the update Greg.
          RayNinjaTrader Customer Service

          Comment


            #20
            imported post

            Greg,

            Here is the issue, you have to enable CloseAtTime after a position is established not before the strategy or while the entry order of the strategy is pending.

            Ray
            RayNinjaTrader Customer Service

            Comment


              #21
              imported post

              ok thanks,

              so once the position is live in the mkt, I will pull it up in a BEW or DOM, right click and select CloseAtTime.

              I will try this tomorrow or Monday, (probably wont trade tomorrow Friday of option exp can get a bit funky)

              I should mention to you that shortly before the CloseAtTime, about 10 min ahead, I loaded each trade that was in the market into a BEW, I checked to see if the CloseAtTime was selected, and fior each it was, but yet it still did not close out the position. Perhaps that is not the same as only selecting it once it's inthe mkt.
              In any case I test it out.

              Thanks

              Greg

              Comment


                #22
                imported post

                Worked perfectly.
                I waited until the position was in the market to initiate the CloseAtTime.

                All positions were closed out at 3:51 pm,

                I am still moving ahead with building this add-on application so that I can enter all my stock trade setups ahead of time, on a single page, and have them sent over to Ninja for trade management.
                Do you think using NinjaScript, I will be able to automate that step, i.e engaging the CloseAtTime once the position is filled?
                Any idea when the new v. is due out?

                Thanks

                Greg

                Comment


                  #23
                  imported post

                  Greg, using NinjaScript you can automate the process within our application, not using external application.
                  RayNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Waxavi, Today, 02:10 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post Waxavi
                  by Waxavi
                   
                  Started by TradeForge, Today, 02:09 AM
                  0 responses
                  8 views
                  0 likes
                  Last Post TradeForge  
                  Started by Waxavi, Today, 02:00 AM
                  0 responses
                  2 views
                  0 likes
                  Last Post Waxavi
                  by Waxavi
                   
                  Started by elirion, Today, 01:36 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post elirion
                  by elirion
                   
                  Started by gentlebenthebear, Today, 01:30 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post gentlebenthebear  
                  Working...
                  X