Hello, I'm trying to set up a shorting strategy where:
- Sell (short) a stock at the end of the day if it has increased more than X% in the same day.
- Take profit (buy) at Y%.
- If Y is not met, sell in Z days.
I'm just starting out with coding and have found it confusing to set up these parameters. Thank you for your help!
Ben.