-
Hello, i would appreciate if you could provide me a source to check an example of OCO sell orders, i cannot find any tutorial explaining this, also every example i see keeps track of the prices to close the position, do you have any example of how to or what is triggered when a tp or sl is hit? Thank you very much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Alright, i will auto respond, fortunately i found this blog https://greyhoundanalytics.com/blog/stop-losses-in-backtestingpy/ where it explains how stop-loss works on backtesting.py and from there i could figure out how to make the OCO sell order. |
Beta Was this translation helpful? Give feedback.
Alright, i will auto respond, fortunately i found this blog https://greyhoundanalytics.com/blog/stop-losses-in-backtestingpy/ where it explains how stop-loss works on backtesting.py and from there i could figure out how to make the OCO sell order.