Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to test a strategy with averaging? #1151

Open
Freeongoo opened this issue May 9, 2024 · 3 comments
Open

how to test a strategy with averaging? #1151

Freeongoo opened this issue May 9, 2024 · 3 comments
Labels

Comments

@Freeongoo
Copy link

I would like to test the effectiveness of the strategy indicating another position that opens during a drawdown, but I did not find how to set this up in the library.

@TheCookieLab
Copy link
Member

TheCookieLab commented May 9, 2024 via email

@Freeongoo
Copy link
Author

I have a strategy when I need to open another position if there is a drawdown of more than 2 percent. Accordingly, another position opens. And it turns out that you need to average the price to determine the winning percentage. I don’t understand how to set this up when testing a strategy for ta4j. Please show example

@TheCookieLab
Copy link
Member

TheCookieLab commented May 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants