financialdatapy.price module¶
This module retrieves the historical stock price of a company.
- class financialdatapy.price.Price(symbol: str, start: pandas._libs.tslibs.timestamps.Timestamp, end: pandas._libs.tslibs.timestamps.Timestamp)[source]¶
Bases:
abc.ABCA Class representing a company’s historical stock price data.
- Parameters
symbol (str) – Symbol of a company/stock.
start (pandas.Timestamp) – Starting date to search.
end (pandas.Timestamp) – Ending date to search.
- class financialdatapy.price.UsMarket(symbol: str, start: pandas._libs.tslibs.timestamps.Timestamp, end: pandas._libs.tslibs.timestamps.Timestamp)[source]¶
Bases:
financialdatapy.price.PriceA class representing stock price of a US company.
- class financialdatapy.price.KorMarket(symbol: str, start: pandas._libs.tslibs.timestamps.Timestamp, end: pandas._libs.tslibs.timestamps.Timestamp)[source]¶
Bases:
financialdatapy.price.PriceA class representing stock price of a South Korea company.