- ago
The date filter in the powerpack did not work, I think.
0
265
Solved
9 Replies

Reply

Bookmark

Sort
- ago
#1
Please take your time to read one of these insightful articles, then follow author's suggestions:

How To Ask Questions The Smart Way
http://catb.org/~esr/faqs/smart-questions.html

"It doesn't work"
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
1
Glitch8
 ( 10.62% )
- ago
#2
Hi Werner, the Block ignores the year portion of the datetime inputs unless you uncheck the last parameter. But it is working. What are you trying to accomplish here?
0
- ago
#3
Sorry, but I tried much to verify Halloween-Trading, starting at 31.10. and end at the 30.4., but at the monthly returns I can see, that in some years, it did not end at the 30.4.. Maybe the quality of data is not the best. I can post screenshots, e.g.. What should I do?
0
- ago
#4
That's expected with date filters when the date was a holiday.
0
- ago
#5
Thank you, please check my screeenshot, best regards.
0
- ago
#6
You should use >= in both conditions and not ==. Otherwise the end date is simply ignored when you choose "equal to". That's expected.
0
- ago
#7
Unfortunately I am still getting wrong results. would you be so kind as to send me a screenshot with the correct parameters.
I would like to buy the SP on 31.10. and sell it on 30.4. Best REgards.
0
Glitch8
 ( 10.62% )
- ago
#8
Here's how I did it. The trick is to add another rule to prevent the Strategy from just immediately selling and buying again because the date is greater than 4/30. So I added another Condition so the position has to be open 90 days before we start checking the exit date.

1
Best Answer
- ago
#9
Thank you very much, it work fine, thank you, regards to Florida.
0

Reply

Bookmark

Sort