なぜ、1日の時間帯ごとにテストを行うと、実際には存在しない時間帯が生成されるのでしょうか?
1件の返信
Say I’m running an improvement strategy to find the best time of day.
I will get conditions saying Hour = 1 or Hour = 6 or Hour =23
Yet, there isn’t any data with hour = 1 or 6 or 23. The data runs only from 07 to 21. I’ve been through my files and checked.
And when I go into the list of trades for this strategy, there are, of course, no trades being opened at 1am or 11pm.
0
it is because these values are generated randomly. The algorithm doesn’t check if these hours really exist in your data file.
It’s the same with indicators, it could generate comparisons that will be always or never true.
The strategy backtest and its evaluation should take care of dismissing such strategies – if strategy doesn’t open any trades or is worse than the original strategy then it should be dismissed.
マーク
StrategyQuantアーキテクト
0
1件の返信を表示中 - 1 - 1件目 (全1件中)