Skip to content

Commit

Permalink
Update 10. Rotational Trading.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
edtechre committed Apr 26, 2023
1 parent 8f010c0 commit 112b1e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/notebooks/10. Rotational Trading.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Rotational Trading\n",
"\n",
"Rotational trading involves buying the best-performing assets and selling the underperforming ones. **PyBroker** can be utilized to backtest rotational trading strategies, as this notebook will demonstrate."
"Rotational trading involves purchasing the best-performing assets while selling underperforming ones. As you may have guessed, **PyBroker** is an excellent tool for backtesting such strategies. So, let's dive in and get started with testing our rotational trading strategy!"
]
},
{
Expand All @@ -26,7 +26,7 @@
"id": "6475b3fc",
"metadata": {},
"source": [
"Let's create a strategy that involves ranking and buying stocks with the highest [price rate-of-change (ROC)](https://www.investopedia.com/terms/p/pricerateofchange.asp). To start, we'll define a 20-day ROC indicator using [TA-Lib](https://github.com/TA-Lib/ta-lib-python):"
"Our strategy will involve ranking and buying stocks with the highest [price rate-of-change (ROC)](https://www.investopedia.com/terms/p/pricerateofchange.asp). To start, we'll define a 20-day ROC indicator using [TA-Lib](https://github.com/TA-Lib/ta-lib-python):"
]
},
{
Expand Down Expand Up @@ -82,7 +82,7 @@
"id": "7350345c",
"metadata": {},
"source": [
"Next, we implement a ``rank`` function that ranks each stock by highest to lowest 20-day ROC:"
"To proceed with our strategy, we will implement a ``rank`` function that ranks each stock by their 20-day ROC in descending order, from highest to lowest."
]
},
{
Expand Down

0 comments on commit 112b1e6

Please sign in to comment.