kospi-kosdaq

by dragon1086
Verified
MIT License
10
  • Apple

get_stock_fundamental

Retrieves fundamental data (PER/PBR/Dividend Yield) for a specific stock.

Args: fromdate (str): Start date for retrieval (YYYYMMDD) todate (str): End date for retrieval (YYYYMMDD) ticker (str): Stock ticker symbol Returns: DataFrame: >> get_stock_fundamental("20210104", "20210108", "005930") BPS PER PBR EPS DIV DPS Date 2021-01-08 37528 28.046875 2.369141 3166 1.589844 1416 2021-01-07 37528 26.187500 2.210938 3166 1.709961 1416 2021-01-06 37528 25.953125 2.189453 3166 1.719727 1416 2021-01-05 37528 26.500000 2.240234 3166 1.690430 1416 2021-01-04 37528 26.218750 2.210938 3166 1.709961 1416

Input Schema

NameRequiredDescriptionDefault
fromdateYes
tickerYes
todateYes

Input Schema (JSON Schema)

{ "properties": { "fromdate": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Fromdate" }, "ticker": { "title": "Ticker", "type": "string" }, "todate": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Todate" } }, "required": [ "fromdate", "todate", "ticker" ], "title": "get_stock_fundamentalArguments", "type": "object" }