get_stock_fundamental
Retrieve key financial metrics (PER, PBR, Dividend Yield) for a specific stock on the KOSPI/KOSDAQ market within a defined date range, aiding informed investment decisions.
Instructions
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
Name | Required | Description | Default |
---|---|---|---|
fromdate | Yes | ||
ticker | Yes | ||
todate | Yes |
Input Schema (JSON Schema)
{
"properties": {
"fromdate": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Fromdate"
},
"ticker": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Ticker"
},
"todate": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Todate"
}
},
"required": [
"fromdate",
"todate",
"ticker"
],
"title": "get_stock_fundamentalArguments",
"type": "object"
}