PureBytes Links
Trading Reference Links
|
I do not know if this is a new problem, or if this problem just occurs after
year 2000 in TS100 (SP2).
What happens is that I run the workspace assistant against a workspace which
contains two symbols. One of the symbols is a stock symbol, and the second
one is an index. I use this to run backtesting, thus I want to be able to
run the workspace on symbols that are no longer updated (historical data).
I use a fileappend to output results under certain conditions (for exampel
"if momentum>triggerlevel and momentum>momentum[1]"). I do get the right
results (I hope) until the end of the data for the stock symbol. After the
last bar on the chart for the stock symbol, I get outputs for all days that
do not exist in the stock symbol but do exist in the index. All outputs are
marked in the correct way (the correct date), but there is a lot of extra
output coming out (and obviously a lot of extra calculations performed).
Does anyone have a good standard for how to detect this situation so I do
not get a printout for dates that does not exist?
Is this new or has Tradestation done like this all the time? Is it a desired
feature or is it a bug?
--- Mats ---
|