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

set sl/tp to be triggered on exact values #703

Open
enoorii opened this issue Apr 22, 2024 · 0 comments
Open

set sl/tp to be triggered on exact values #703

enoorii opened this issue Apr 22, 2024 · 0 comments

Comments

@enoorii
Copy link

enoorii commented Apr 22, 2024

I am calling vbt.Portfolio.from_signals with different combinations of sl/tp to get the optimal value. My problem is they are not catched properly. How could I make them to be catched on exact levels. For example below I used a take profit of 0.01% (k=1) but many trades are closed way above this level.
image

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

No branches or pull requests

1 participant