stock_market_data library
Classes
- BaseStrategyResult
- Object that contains the result of a strategy
- BuyAndHoldStrategy
-
The
BuyAndHoldStrategy
class provides methods to simulate and analyze a buy and hold strategy using financial data, specifically Yahoo Finance candle data. This strategy involves buying a financial instrument at an initial time point and holding onto it for a certain period, typically until the end of the dataset. - BuyAndHoldStrategyResult
- Object that contains the result of a buy and hold strategy
- CalculateIndicators
- Class to calculate the technical indicators
- ListStats
- Class to calculate statistics of a list: mean, standard deviation
- StockMarketDataService
- Service to get stock market data
- StockTicker
- Represent an investment instrument
- TickerResolve
- TickersList
- Kind of stable static tickers list
- VariationCount
-
Auxiliary class to get intervals of variation stuff like:
if we got
-1% ... 0%
= 10 days0% ... 1%
= 5 days - Variations
- A class for analyzing variations in stock market data.
- YahooFinanceCandleData
- Representation of a single candle
- YahooFinanceDailyReader
- Class to read daily data from yahoo finance
- YahooFinanceDAO
- Class to manage interactions with local database
- YahooFinanceResponse
- YahooFinanceService
- This class abstracts for the state machine how the API vs cache works
- YearlyCalculations
- Calculate yearly statistics based on a list of daily candles
- YearlyStats
- Represents data about how was given year for a specific asset