How to find if a trade has hit sl/tp? #915
Unanswered
bhavithran1
asked this question in
Q&A
Replies: 1 comment
-
I think you can use trade.exit_price is not None (https://kernc.github.io/backtesting.py/doc/backtesting/backtesting.html#backtesting.backtesting.Trade.exit_price) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This library has been easy to use so far, but I need to know if my order hit sl or tp?
Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions