YahooFinanceService class

This class abstracts for the state machine how the API vs cache works

Constructors

YahooFinanceService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllDataFromYahooFinance(String symbol, {bool useCache = true, DateTime? startDate, bool adjust = false}) Future<List<YahooFinanceCandleData>>
Gets all data from yahoo finance
getTickerData(String symbol, {bool useCache = true, DateTime? startDate, bool adjust = false}) Future<List<YahooFinanceCandleData>>
Gets the candles for a ticker
getTickerDataList(List<String> symbols, {bool useCache = true}) Future<List<YahooFinanceCandleData>>
getWeightedTickerData(String weightedSymbols, {bool useCache = true}) Future<List<YahooFinanceCandleData>>
Fetches and mixes ticker data based on the weighted symbols
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshData(List<YahooFinanceCandleData> pricesParam, String symbol, {DateTime? startDate, bool adjust = false}) Future<List<YahooFinanceCandleData>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited