Weekly stock data #413
-
Hello, thanks for creating this package. Appreciate all your efforts!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @amitchouksey thanks for the kind words! 🤗 It can be done indeed, you just need to set the For example: import investpy
data = investpy.get_stock_historical_data(stock='AAPL', country='united states', from_date='01/01/2020', to_date='01/01/2021', interval='weekly') For more information check https://investpy.readthedocs.io/_api/stocks.html#investpy.stocks.get_stock_historical_data |
Beta Was this translation helpful? Give feedback.
Hi @amitchouksey thanks for the kind words! 🤗
It can be done indeed, you just need to set the
interval='weekly'
parameter, which can also bemonthly
anddaily
which is the default value.For example:
For more information check https://investpy.readthedocs.io/_api/stocks.html#investpy.stocks.get_stock_historical_data