tushare_get_weekly_price
Retrieve weekly OHLCV price data for a stock over a specified date range using the Tushare API, enabling historical price review and trend analysis.
Instructions
Get weekly price data for a stock (Tushare API: weekly).
Args:
ts_code: Tushare stock code (e.g., "600519.SH")
start_date: Start date in YYYYMMDD format
end_date: End date in YYYYMMDD format
Returns:
dict: Weekly OHLCV data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | Yes | ||
| end_date | No | ||
| start_date | No |