Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: general updates for 0.8.0 #231

Merged
merged 19 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/GemFile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ GEM
unf_ext (0.0.8.1)
unf_ext (0.0.8.1-x64-mingw32)
unicode-display_width (1.8.0)
wdm (0.1.1)
yell (2.2.2)
zeitwerk (2.5.4)

Expand All @@ -306,7 +305,6 @@ DEPENDENCIES
jekyll-remote-theme
jekyll-sitemap
jemoji
wdm (>= 0.1.1)

BUNDLED WITH
2.2.31
38 changes: 35 additions & 3 deletions docs/_data/aliases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
permalink: /indicators/StdDev/
type: price-characteristic

- title: Hurst Exponent
permalink: /indicators/Hurst/
type: price-trend

- title: KDJ Index
permalink: /indicators/Stoch/
type: oscillator
Expand All @@ -14,10 +18,34 @@
permalink: /indicators/Epma/
type: moving-average

- title: Linear Regression (best-fit line)
permalink: /indicators/Slope/
type: numerical-analysis

- title: Mean absolute deviation
permalink: /indicators/Sma/
type: numerical-analysis

- title: Mean square error
permalink: /indicators/Sma/
type: numerical-analysis

- title: Mean absolute percentage error
permalink: /indicators/Sma/
type: numerical-analysis

- title: Modified Moving Average (MMA)
permalink: /indicators/Smma/
type: moving-average

- title: Momentum Oscillator
permalink: /indicators/Roc/
type: price-characteristic

- title: Normalized Average True Range
permalink: /indicators/Atr/
type: price-characteristic

- title: Price Channels
permalink: /indicators/Donchian/
type: price-channel
Expand All @@ -34,10 +62,14 @@
permalink: /indicators/Roc/
type: oscillator

- title: Running Moving Average (RMA)
permalink: /indicators/Smma/
type: moving-average

- title: SuperTrend
permalink: /indicators/SuperTrend/
type: stop-and-reverse

# - title: Volume Simple Moving Average
# permalink: /indicators/VolSma/
# type: volume-based
- title: Z-Score
permalink: /indicators/StdDev/
type: numerical-analysis
14 changes: 14 additions & 0 deletions docs/_includes/candlepart-options.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### CandlePart options

| type | description
|-- |--
| `CandlePart.OPEN` | `open` price
| `CandlePart.HIGH` | `high` price
| `CandlePart.LOW` | `low` price
| `CandlePart.CLOSE` | `close` price
| `CandlePart.VOLUME` | `volume`
| `CandlePart.HL2` | `(high+low)/2`
| `CandlePart.HLC3` | `(high+low+close)/3`
| `CandlePart.OC2` | `(open+close)/2`
| `CandlePart.OHL3` | `(open+high+low)/3`
| `CandlePart.OHLC4` | `(open+high+low+close)/4`
21 changes: 21 additions & 0 deletions docs/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<footer class="footer">

<hr />

<strong>Help us make these docs better!</strong>
<div class="footer-body">
<div>
All docs are open source. See something that's<br />wrong or unclear? Submit a pull request.
</div>
<div>
<a class="btn" href="{{ site.github.repository_url }}/edit/main/docs/{{ page.relative_path }}" target="_blank" rel="noopener">
Edit this page
</a>
</div>
<div>Or,
<a href="{{ site.github.repository_url }}/tree/main/docs/contributing.md#readme" target="_blank" rel="noopener">
learn how to contribute
</a>
</div>
</div>
</footer>
4 changes: 2 additions & 2 deletions docs/_indicators/Adl.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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 Expand Up @@ -47,7 +47,7 @@ ADLResults[ADLResult]

### Utilities

- [.to_quotes()]({{site.baseurl}}/utilities#convert-to-quotes)
- ~~[.to_quotes()]({{site.baseurl}}/utilities#convert-to-quotes)~~ <code style='color: #d32f2f; important'>[deprecated]</code>
- [.find(lookup_date)]({{site.baseurl}}/utilities#find-indicator-result-by-date)
- [.remove_warmup_periods(qty)]({{site.baseurl}}/utilities#remove-warmup-periods)

Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Adx.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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </span>
| `lookback_periods` | int, *default 25* | Number of periods (`N`) for the lookback evaluation. Must be greater than 0.

<!--
Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Atr.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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -15,7 +15,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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -15,7 +15,7 @@ layout: indicator

| name | type | notes
| -- |-- |--
| `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.
| `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. <br><span class='qna-dataframe'> • [Got in trouble 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).
| `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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -15,7 +15,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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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
4 changes: 2 additions & 2 deletions docs/_indicators/Chop.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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </span>
| `lookback_periods` | int, *default 14* | Number of periods (`N`) for the lookback evaluation. Must be greater than 1.

### Historical quotes requirements
Expand All @@ -40,7 +40,7 @@ ChopResults[ChopResult]
| name | type | notes
| -- |-- |--
| `date` | datetime | Date
| `chop` | decimal, Optional | Choppiness Index
| `chop` | float, Optional | Choppiness Index

### Utilities

Expand Down
2 changes: 1 addition & 1 deletion docs/_indicators/Cmf.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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -15,7 +15,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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </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 @@ -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).
| `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'> • [Got in trouble with Pandas.dataframe?]({{site.baseurl}}/guide/#using-pandasdataframe) </span>
| `lookback_periods` | int | Number of periods (`N`) in the moving average. Must be greater than 0.

### Historical quotes requirements
Expand Down