Skip to content

Commit

Permalink
docs: Update docs for v1.2.0 (#337)
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Skender <[email protected]>
  • Loading branch information
LeeDongGeon1996 and DaveSkender authored Jan 23, 2024
1 parent f251e84 commit 9119a69
Show file tree
Hide file tree
Showing 83 changed files with 124 additions and 103 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![PyPI](https://img.shields.io/pypi/v/stock-indicators?color=blue&label=PyPI)](https://badge.fury.io/py/stock-indicators)
[![code coverage](https://img.shields.io/azure-devops/coverage/skender/stock.indicators/26/main?logo=AzureDevOps&label=Test%20Coverage)](https://dev.azure.com/skender/Stock.Indicators/_build/latest?definitionId=26&branchName=main&view=codecoverage-tab)
![PyPI - Downloads](https://img.shields.io/pypi/dm/stock-indicators?style=flat&logo=Python&logoColor=white&label=Downloads&color=indigo&link=https%3A%2F%2Fpypistats.org%2Fpackages%2Fstock-indicators)

# Stock Indicators for Python

Expand Down
8 changes: 4 additions & 4 deletions docs/GemFile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GIT
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.2)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -21,14 +21,14 @@ GEM
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
bigdecimal (3.1.5)
bigdecimal (3.1.6)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.23.10)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
cssminify2 (2.0.1)
dnsruby (1.70.0)
Expand Down Expand Up @@ -242,7 +242,7 @@ GEM
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.21.1)
minitest (5.21.2)
mutex_m (0.2.0)
net-http (0.4.1)
uri
Expand Down
16 changes: 12 additions & 4 deletions docs/_data/aliases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
permalink: /indicators/ElderRay/
type: price-characteristic

- title: Dominant Cycle Periods
permalink: /indicators/HtTrendline/
type: price-characteristic

- title: Directional Movement Index (DMI)
permalink: /indicators/Adx/
type: price-trend

- title: Historical Volatility (HV)
permalink: /indicators/StdDev/
type: price-characteristic
Expand Down Expand Up @@ -58,10 +66,6 @@
permalink: /indicators/Hurst/
type: price-characteristic

- title: ROC with Bands
permalink: /indicators/Roc/
type: oscillator

- title: Running Moving Average (RMA)
permalink: /indicators/Smma/
type: moving-average
Expand All @@ -70,6 +74,10 @@
permalink: /indicators/SuperTrend/
type: stop-and-reverse

- title: True Range (TR)
permalink: /indicators/Atr/
type: price-characteristic

- title: Z-Score
permalink: /indicators/StdDev/
type: numerical-analysis
2 changes: 1 addition & 1 deletion docs/_indicators/Adl.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `sma_periods` | int, Optional | Number of periods (`N`) in the moving average of ADL. Must be greater than 0, if specified.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Adx.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 14* | Number of periods (`N`) for the lookback evaluation. Must be greater than 0.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Alligator.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- | -- | --
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `jaw_periods` | int, *default 13* | Number of periods (`JP`) for the Jaw moving average. Must be greater than `teeth_periods`.
| `jaw_offset` | int, *default 8* | Number of periods (`JO`) for the Jaw offset. Must be greater than 0.
| `teeth_periods` | int, *default 8* | Number of periods (`TP`) for the Teeth moving average. Must be greater than `lips_periods`.
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Alma.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 9* | Number of periods (`N`) in the moving average. Must be greater than 1, but is typically in the 5-20 range.
| `offset` | float, *default 0.85* | Adjusts smoothness versus responsiveness on a scale from 0 to 1; where 1 is max responsiveness.
| `sigma` | float, *default 6* | Defines the width of the Gaussian [normal distribution](https://en.wikipedia.org/wiki/Normal_distribution). Must be greater than 0.
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Aroon.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- | -- | --
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 25* | Number of periods (`N`) for the lookback evaluation. Must be greater than 0.

### Historical quotes requirements
Expand Down
7 changes: 6 additions & 1 deletion docs/_indicators/Atr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ layout: indicator

><span class="indicator-syntax">**get_atr**(*quotes, lookback_periods=14*)</span>
### Related interfaces

For raw True Range (TR) only, use:
>**get_tr**(quotes) -> TrResults[TrResult]
## Parameters

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 14* | Number of periods (`N`) to consider. Must be greater than 1.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Awesome.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `fast_periods` | int, *default 5* | Number of periods (`F`) for the faster moving average. Must be greater than 0.
| `slow_periods` | int, *default 34* | Number of periods (`S`) for the slower moving average. Must be greater than `fast_periods`.

Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `eval_history` | Iterable[Quote] | Historical [evaluation stock] Quotes data should be at any consistent frequency (day, hour, minute, etc). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `eval_history` | Iterable[Quote] | Historical [evaluation stock] Quotes data should be at any consistent frequency (day, hour, minute, etc). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `market_history` | Iterable[Quote] | Historical [market] Quotes data should be at any consistent frequency (day, hour, minute, etc). This `market` quotes will be used to establish the baseline.
| `lookback_periods` | int | Number of periods (`N`) in the lookback period. Must be greater than 0 to calculate; however we suggest a larger period for statistically appropriate sample size and especially when using Beta +/-.
| `beta_type` | BetaType, *default BetaType.STANDARD* | Type of Beta to calculate. See [BetaType options](#betatype-options) below.
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/BollingerBands.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 20* | Number of periods (`N`) for the center line moving average. Must be greater than 1 to calculate; however we suggest a larger period for statistically appropriate sample size.
| `standard_deviations` | int, *default 2* | Width of bands. Standard deviations (`D`) from the moving average. Must be greater than 0.

Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Bop.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `smooth_periods` | int, *default 14* | Number of periods (`N`) for smoothing. Must be greater than 0.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Cci.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 20* | Number of periods (`N`) in the moving average. Must be greater than 0.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/ChaikinOsc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `fast_periods` | int, *default 3* | Number of periods (`F`) in the ADL fast EMA. Must be greater than 0 and smaller than `S`.
| `slow_periods` | int, *default 10* | Number of periods (`S`) in the ADL slow EMA. Must be greater `F`.

Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Chandelier.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 22* | Number of periods (`N`) for the lookback evaluation.
| `multiplier` | float, *default 3.0* | Multiplier number must be a positive value.
| `chandelier_type` | ChandelierType, *default ChandelierType.LONG* | Direction of exit. See [ChandelierType options](#chandeliertype-options) below.
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Chop.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 14* | Number of periods (`N`) for the lookback evaluation. Must be greater than 1.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Cmf.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int, *default 20* | Number of periods (`N`) in the moving average. Must be greater than 0.

### Historical quotes requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/ConnorsRsi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `rsi_periods` | int, *default 3* | Lookback period (`R`) for the close price RSI. Must be greater than 1.
| `streak_periods` | int, *default 2* | Lookback period (`S`) for the streak RSI. Must be greater than 1.
| `rank_periods` | int, *default 100* | Lookback period (`P`) for the Percentile Rank. Must be greater than 1.
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Correlation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes_a` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes_a` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `quotes_b` | Iterable[Quote] | Historical quotes (B) must have at least the same matching date elements of `quotes_a`.
| `lookback_periods` | int | Number of periods (`N`) in the lookback period. Must be greater than 0 to calculate; however we suggest a larger period for statistically appropriate sample size.

Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Dema.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `quotes` | Iterable[Quote] | Iterable(such as list or an object having `__iter__()`) of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [Need help with pandas.DataFrame?]({{site.baseurl}}/guide/#using-pandasdataframe)</span>
| `quotes` | Iterable[Quote] | Iterable of the [Quote class]({{site.baseurl}}/guide/#historical-quotes) or [its sub-class]({{site.baseurl}}/guide/#using-custom-quote-classes). <br><span class='qna-dataframe'> • [See here]({{site.baseurl}}/guide/#using-pandasdataframe) for usage with pandas.DataFrame</span>
| `lookback_periods` | int | Number of periods (`N`) in the moving average. Must be greater than 0.

### Historical quotes requirements
Expand Down
Loading

0 comments on commit 9119a69

Please sign in to comment.