Technicals
The Technicals Module contains 30+ technical indicators divided into 4 categories: breadth, momentum, overlap and volatility.
Every function of the Technicals module has its own page with an example and its parameters. Pick one from the sidebar on the left.Every function of the Technicals module has its own page with an example and its parameters. Pick one from the .
To install the FinanceToolkit it simply requires the following:
pip install financetoolkit -U
Getting Started
Some examples of technical indicators are the Average Directional Index (ADX), the Accumulation/Distribution Line (ADL), the Average True Range (ATR), the Bollinger Bands (BBANDS), the Commodity Channel Index (CCI), the Chaikin Oscillator (CHO), the Chaikin Money Flow (CMF), the Double Exponential Moving Average (DEMA), the Exponential Moving Average (EMA) and the Moving Average Convergence Divergence (MACD).
The Technicals module is reached through a Toolkit instance, as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(["AAPL", "TSLA"], api_key="FINANCIAL_MODELING_PREP_KEY")
average_directional_index = toolkit.technicals.get_average_directional_index()
Which returns:
| Date | AAPL | MSFT |
|---|---|---|
| 2023-08-21 | 62.8842 | 36.7468 |
| 2023-08-22 | 65.7063 | 36.5525 |
| 2023-08-23 | 67.3596 | 35.5149 |
| 2023-08-24 | 66.4527 | 35.4399 |
| 2023-08-25 | 63.4837 | 32.3323 |
The sidebar gives access to every metric in the Technicals module, each on its own page with a description, an example and its parameters. Pick one there to open it.The sidebar gives access to every metric in the Technicals module, each on its own page with a description, an example and its parameters. On a phone, open the to pick one.