detect_ytd_high_low_range
Scan year-to-date high and low records across a date range for Japanese stocks. Query multiple days in a single call to avoid repeated requests.
Instructions
Scan year-to-date high/low records (年初来高値/安値) across a date range. All plans.
Use this instead of repeated detect_ytd_high_low calls for multi-day queries. Issue one range call — splitting into parallel range calls defeats the purpose. date_from must be within the past 52 weeks. Data available ~17:15 JST on trading days.
[Supported plans] Free / Light / Standard / Premium (cache-only, no API call)
Args: date_from: Range start inclusive (YYYYMMDD or YYYY-MM-DD). Within past 52 weeks. date_to: Range end inclusive (YYYYMMDD or YYYY-MM-DD). code: Optional stock code (bypasses pre-computed cache when set). min_prior_sessions: See detect_ytd_high_low (default 60). detail: Include full per-stock data array (default False).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_from | Yes | ||
| date_to | Yes | ||
| code | No | ||
| min_prior_sessions | No | ||
| detail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||