support.tsresearchgroup.com Forum Index

TSResearch | Software Products | Online Help | Free Download | Publications | Research

Username:   Password:   
Log me on automatically each visit
 

FAQ |  Search |  Memberlist |  Usergroups |  Profile |  Log in to check your private messages  Register |  Log in 

Last Run Question

 
Post new topic   Reply to topic    support.tsresearchgroup.com Forum Index -> TS Genetic Optimizer for TradeStation
View previous topic :: View next topic  

Anyone getting a similar problem?
Y = Yes
0%
 0%  [ 0 ]
N = No
0%
 0%  [ 0 ]
Total Votes : 0

Author Message
TGWrenn
Guest


Joined: 27 Mar 2008
Posts: 22

PostPosted: Sat Mar 20, 2010 10:13 pm    Post subject: Last Run Question Reply with quote

What exactly is the condition of my Tradestation strategy when TS.G2.Next returns a 1 (last run)?

Is TS.G2 returning the best record?
Or, is the run finished?

What does Tradestation think?

Is there one more record to process?
Or, no more records to process?

I recently added GlobalVariable to my strategy and now I get a Dll error at the end of my optimizations.

Any help appreciated.

_________________
TbirdHawwaii
Back to top
View user's profile Send private message Send e-mail
TGWrenn
Guest


Joined: 27 Mar 2008
Posts: 22

PostPosted: Sun Mar 28, 2010 1:45 pm    Post subject: Extra Record Reply with quote

After a lot of testing, I've found that an extra record is returned after the optimization. If I optimize 1:100:1, record 101 is also returned. It also appears the TS.G2.Gen never returns a 1 (lastrun).

I have found that I can test for the last extra record by doing the following:
1. Have a condition that tells the strategy to optimize: TSGOUSE.
2. Check that the strategy is optimizing:
vOptimizing = GetAppInfo(AiOptimizing);
3. If TSGOUSE=true and vOptimizing <> 1 then the extra record is being processed

_________________
TbirdHawwaii
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    support.tsresearchgroup.com Forum Index -> TS Genetic Optimizer for TradeStation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright © TS Research Group

Powered by phpBB © 2001, 2002 phpBB Group

Developed by: webdesign.tria.lv