This project is a migration of the pandas functionality to read yahoo finance stock prices
https://github.com/pydata/pandas-datareader/blob/main/pandas_datareader/yahoo/daily.py
This lib have a strong advantage on backtesting strategies as it can give all the dataframe in yahoo finance, this means that can get daily data on futures like NQ=F and ES=F since 2000 and it goes as far as getting data from 1927 on the SP500 yahoo finance symbol ^GSPC
Features
Get daily data from yahoo finance for the entire dataframe available
Getting started
Add the dependency to your pubspec.yaml
:
yahoo_finance_data_reader: ^0.0.2
Usage
Additional information
To include in your app as a widget you can start with this future builder and debug your way until your desired result
Like us on pub.dev
Package url:
https://pub.dev/packages/yahoo_finance_data_reader
Instruction to publish the package to pub.dev
dart pub publish