- Quant Wikipedia
- Posts
- $TSLA trading strategy
$TSLA trading strategy
Simple Strategy to trade Tesla
Sharpe Ratio of Strategy: 2.79
A simple strategy. The main components of the project are as follows:
Obtain daily stock price data for Tesla. Compute Stochastic RSI and Bollinger Bands indicators. Generate Long/Short signals with a holding period of 3 days based on the calculated indicators. Create visualizations to display the cumulative returns of the trading strategy.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bbbf816c-bc0d-49c1-99d3-70d0cb8fe142/List_of_Tesla_Trades.png)
List of Trades
The strategy formulation and the backtesting process involve the following criteria:
A LONG signal is generated if the Close Price exceeds the Upper Bollinger Band AND the Stoch RSI K line is higher than the Stoch RSI D line. A SHORT signal is generated if the Close Price falls below the Upper Bollinger Band AND the Stoch RSI K line is lower than the Stoch RSI D line. The holding period for each signal is 3 days.
If the (Close Price > Upper Bollinger Band) AND (Stoch RSI K line > Stoch RSI D line) we get a LONG signal.
If the (Close Price < Upper Bollinger Band) AND (Stoch RSI K line < Stoch RSI D line) we get a SHORT signal.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5014608e-9efe-4996-b712-c093e112b8eb/Performance_of_Tesla_Strategy.png)