Skip to content

Commit e2df305

Browse files
committed
DOC: Quick Start / Data: Mention yFinance and investpy
1 parent 6fd85d1 commit e2df305

File tree

2 files changed

+25
-13
lines changed

2 files changed

+25
-13
lines changed

doc/examples/Quick Start User Guide.ipynb

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,19 @@
1818
"[OHLC](https://en.wikipedia.org/wiki/Open-high-low-close_chart)\n",
1919
"data_ (stocks, forex, futures, crypto, ...) as a\n",
2020
"[pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/10min.html)\n",
21-
"with columns `'Open'`, `'High'`, `'Low'`, `'Close'` and (optionally) `'Volume'`. Such data is widely obtainable (see: \n",
22-
"[pandas-datareader](https://pandas-datareader.readthedocs.io/en/latest/),\n",
23-
"[Quandl](https://www.quandl.com/tools/python),\n",
24-
"[findatapy](https://github.com/cuemacro/findatapy)).\n",
25-
"Besides these, your data frames can have _additional columns_ which are accessible in your strategies in a similar manner.\n",
21+
"with columns `'Open'`, `'High'`, `'Low'`, `'Close'` and (optionally) `'Volume'`.\n",
22+
"Such data is widely obtainable, e.g. with packages:\n",
23+
"* [pandas-datareader](https://pandas-datareader.readthedocs.io/en/latest/),\n",
24+
"* [Quandl](https://www.quandl.com/tools/python),\n",
25+
"* [findatapy](https://github.com/cuemacro/findatapy),\n",
26+
"* [yFinance](https://github.com/ranaroussi/yfinance),\n",
27+
"* [investpy](https://investpy.readthedocs.io/),\n",
28+
" etc.\n",
2629
"\n",
27-
"DataFrame should ideally be indexed with a _datetime index_ (convert it with [`pd.to_datetime()`](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.to_datetime.html)), otherwise a simple range index will do."
30+
"Besides these columns, **your data frames can have additional columns which are accessible in your strategies in a similar manner**.\n",
31+
"\n",
32+
"DataFrame should ideally be indexed with a _datetime index_ (convert it with [`pd.to_datetime()`](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.to_datetime.html));\n",
33+
"otherwise a simple range index will do."
2834
]
2935
},
3036
{

doc/examples/Quick Start User Guide.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,19 @@
2626
# [OHLC](https://en.wikipedia.org/wiki/Open-high-low-close_chart)
2727
# data_ (stocks, forex, futures, crypto, ...) as a
2828
# [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/10min.html)
29-
# with columns `'Open'`, `'High'`, `'Low'`, `'Close'` and (optionally) `'Volume'`. Such data is widely obtainable (see:
30-
# [pandas-datareader](https://pandas-datareader.readthedocs.io/en/latest/),
31-
# [Quandl](https://www.quandl.com/tools/python),
32-
# [findatapy](https://github.com/cuemacro/findatapy)).
33-
# Besides these, your data frames can have _additional columns_ which are accessible in your strategies in a similar manner.
34-
#
35-
# DataFrame should ideally be indexed with a _datetime index_ (convert it with [`pd.to_datetime()`](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.to_datetime.html)), otherwise a simple range index will do.
29+
# with columns `'Open'`, `'High'`, `'Low'`, `'Close'` and (optionally) `'Volume'`.
30+
# Such data is widely obtainable, e.g. with packages:
31+
# * [pandas-datareader](https://pandas-datareader.readthedocs.io/en/latest/),
32+
# * [Quandl](https://www.quandl.com/tools/python),
33+
# * [findatapy](https://github.com/cuemacro/findatapy),
34+
# * [yFinance](https://github.com/ranaroussi/yfinance),
35+
# * [investpy](https://investpy.readthedocs.io/),
36+
# etc.
37+
#
38+
# Besides these columns, **your data frames can have additional columns which are accessible in your strategies in a similar manner**.
39+
#
40+
# DataFrame should ideally be indexed with a _datetime index_ (convert it with [`pd.to_datetime()`](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.to_datetime.html));
41+
# otherwise a simple range index will do.
3642

3743
# +
3844
# Example OHLC daily data for Google Inc.

0 commit comments

Comments
 (0)