stock_data
Retrieve historical stock market data such as open, high, low, close, and volume for specified tickers and date ranges. Input stock code, start and end dates, and desired fields to access accurate financial insights.
Instructions
获取指定股票的历史行情数据
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | 股票代码,如'000001.SZ'表示平安银行 | |
end_date | No | 结束日期,格式为YYYYMMDD,如'20230131' | |
fields | No | 需要的字段,可选值包括:open,high,low,close,vol等,多个字段用逗号分隔 | |
start_date | No | 起始日期,格式为YYYYMMDD,如'20230101' |