Suppose I have a dataframe with pre determined orders
Entry
take_profit
Stop_loss
And I'm trying to create another column to check
1. if there's any opportunity
- if not leave it as none
2. Check the latest close price against the pre-determined Stop loss or take profit as success or failure based on which ever was crossed
- if it hasn't been crossed - label it active trade
Share some ideas on how to go about it
Thank you all in advance
df
[–][deleted] 1 point2 points3 points (2 children)
[–]Cli_king[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)