NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 12-08-2009, 02:35 PM   #1
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default strat persists

I note that strategies persist when changing feeds from live to replay and back....and between cash and live acct....and are there on start up

I would prefer if the NEVER persisted.....can lead to problems in cash trading if you forget to remove the persistent strat (which can not be enabled anyway so is totally useless) and start with a new instance

I would be happy to give up the persistent feature on rewind of MR ..i.e. the disable/re-enable feature new to 7....if need be....find it inconsistent and therefore confusing anyway
ATI user is offline  
Old 12-09-2009, 08:17 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

What exactly is inconsistent? Any strategy that you do not explicitly remove is persisted.
NinjaTrader_Josh is offline  
Old 12-09-2009, 03:59 PM   #3
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

in MR if you change days they are auto removed...fine...but why then and not between feeds?

if you rewind MR they not only persist but re-enable....meaning to change a strategy parameter you must disable and then re-enable...annoying...it assumes all users want to rewind MR and rerun without making any changes...other than to atm templates....maybe this is for users testing over multiple days...I only test one day at a time due to the huge lag from having to play off-hours data through MR

sometimes, I believe, will confirm...that on rewind they will be removed...poss if in a position..

bottom line for me is I would be much happier if they never persisted

I do not know why you would want to persist between data feeds...especially when you can not enable...must remove first and add fresh

I am getting great use out of the enable/disable feature...however could really do without the persisting....this from a lot of testing 2 strats on same chart on many days with many rewinds...

...............edit

one other thought...since you can set defaults for each parameter (a great feature), it is very easy to add the strategy to the chart, make any changes, enable and play....
Last edited by ATI user; 12-09-2009 at 04:03 PM.
ATI user is offline  
Old 12-10-2009, 08:35 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Thanks for the suggestion.
NinjaTrader_Josh is offline  
Old 12-10-2009, 09:00 AM   #5
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

update...

if you disable before rewind, MT removes strats.....that was another inconsistency I noticed

if you leave enabled and rewind, MR disables, rewinds, enables...ready to play...however...if you want to change anything but an atm template, you have to disable anyway

so....knowing you want to test a parameter settings before the next test, you have 2 choices

1. rewind, disable, change, enable

2. disable...rewind...reload strats with change...enable


......edit

this time I left them enabled, rewound, they were removed....so as I said...inconsistent
Last edited by ATI user; 12-10-2009 at 09:07 AM.
ATI user is offline  
Old 12-10-2009, 11:08 AM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

ATI user,

When you rewind you are resetting the Replay101 account. This will remove the old instance of the strategy. It adds some automation in that it will readd and re-enable the strategy if it was running before. Otherwise it will just remove it as you have experienced. If your purpose for the rewind is to do a different test you will have to change your strategy manually. The rewind behavior is geared towards people who want to rewind and see something they missed.

For your edit. I rewound 10 times. Strategy came back all 10 times.
NinjaTrader_Josh is offline  
Old 12-10-2009, 11:41 AM   #7
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

The rewind behavior is geared towards people who want to rewind and see something they missed./////////////

re your comment above, I expect it to be geared towards testing different parameters...not just replaying the same settings to see the same thing again because something was missed

just my opinion

....re your 10 replays....I have run hundreds and usually enabled strats will rewind without removal....however, many times (say 10%) remove enabled strats....as I originally said, it is not consistent.....removed twice in a row this morning....however maybe another 20 times that it did not
ATI user is offline  
Old 12-10-2009, 11:45 AM   #8
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

edits from wrong thread moved here....


...........edit

apparently if enabled and you change an atm template prior to rewind, then strats are removed

........edit

another inconsistency is when you reset the Sim101 acct with 2 strats in chart.....Strategy tab shows they persist....Strategies dialog shows both have been removed
.
.
re edit 2....many times I have reset sim101 and the strat tab shows persisting, while they are actually removed....will upload pic
ATI user is offline  
Old 12-10-2009, 12:15 PM   #9
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

ATI user,

Tried another 10 times in rewinding. SampleMACrossOver came back all 10 times. If you are able to get a reproducible steps we can follow I can try again. Thank you.
NinjaTrader_Josh is offline  
Old 12-11-2009, 07:00 AM   #10
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

the disable/enable on rewind is handy for code changes....for parameter changes, not so much
ATI user is offline  
Old 12-11-2009, 08:34 AM   #11
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

If you want to change your parameters you have to manually go in and change the strategy. This has always been how strategies work.
NinjaTrader_Josh is offline  
Old 12-11-2009, 02:30 PM   #12
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

yes of course...diff being 7 requires disable first then enable after change

re your 20 rewinds, did you try any with a position on?....this seems to be most often when the strats are removed on rewind
ATI user is offline  
Old 12-11-2009, 03:13 PM   #13
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

ATI user,

There is no difference from 6.5 to 7 in this regard. If you want to change a strategy's parameters you have to stop it and do it over again. Rewinding in 6.5 stops and restarts a strategy just like it does in 7. In 6.5 you couldn't edit a strategy either. You had to add yourself a brand new one to the grid. In 7, you can stop it to edit it and then start it up again.

I rewinded with a position open and the strategy was still there when it started up again. I do see a separate issue, but as far as the strategy disappearing on rewind, I do not see that.
NinjaTrader_Josh is offline  
Old 12-11-2009, 08:07 PM   #14
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

strategies are removed on rewind with or without open positions....happened all day to me ...with chat room watching....maybe 30% of the time

have not tried with sampleatmstrategy...will do this weekend
ATI user is offline  
Old 12-12-2009, 07:21 AM   #15
ATI user
Senior Member
 
Join Date: Apr 2006
Location: , ,
Posts: 1,316
Thanks: 1
Thanked 7 times in 7 posts
Default

SampleAtmStrategy is removed on rewind if:

1. you have an open position and click Close on DOM...first disables, then rewinds and removes ...consistently... (same with my cs consistently....and mine often if you have open positions and do not Close on DOM)

2. you have 2 instances of SampleAtmStrategy in same chart, one enabled (with or without an order placed or a position on), one disabled....on rewind the disabled one is removed (same with mine)

3. any disabled strategy is removed on rewind

in addition with mine, MR will remove both strats on rewind OFTEN (50%) with or without orders or positions and while both are enabled
Last edited by ATI user; 12-12-2009 at 12:05 PM.
ATI user is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Offset in Strat Wizard doesn't appear in code crmcwi General Programming 9 08-20-2009 10:53 AM
Walking forward a strat Dobbes Automated Trading 10 04-03-2009 01:42 PM
Strat Analyzer defaults ashish Strategy Analyzer 8 11-01-2007 01:20 AM
Placing new strat into Superdom Lincoln ATM Strategies (Discretionary Trading) 6 12-05-2006 07:45 AM
Placing new strat into Superdom Lincoln ATM Strategies (Discretionary Trading) 0 11-30-2006 02:48 PM


All times are GMT -6. The time now is 03:46 PM.