Core stock tools
core_stock_tools
Functions:
| Name | Description |
|---|---|
get_stock_data |
Retrieve stock price data (OHLCV) for a given ticker symbol. |
get_stock_data
Retrieve stock price data (OHLCV) for a given ticker symbol.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Stock ticker, company symbol, or Taiwan stock code. Examples: AAPL, TSM, 2330.TW, 2330, 8069. |
required |
|
str
|
Start date in YYYY-MM-DD format. |
required |
|
str
|
End date in YYYY-MM-DD format. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
CSV-formatted OHLCV data with a short metadata header, or a no-data message if no Yahoo Finance candidate has price history. |