Stock Prices (OHLC)(/prices/daily_quotes)
Historical stock prices including both adjusted and unadjusted prices, taking into account stock splits, etc.
Overview
You can get information about stock price.
Stock price consists before and after adjustment of stock splits and reverse stock splits (Rounded to first decimal places)
Attention
Open, High, low, close, the volume of trade and the amount of purchase for the issue on the day when there is no trade volume (no sale) are recorded as Null.
Stocks that are not listed on the TSE (including issue listed only on the other exchanges) are not included in the data.
The data for Oct. 1st, 2020 are the OHLC, trading volume, and trading value in Null because trading was halted all day due to the failure of the equity trading system, arrowhead.
Daily prices can be obtained for all plans, but morning/afternoon session prices are available only for premium plan.
Stock price adjustments are supported only for stock splits and reverse stock splits. Please note that some corporate actions are not supported.
Parameter and Response
In your request message, either "code" or "date" must be specified. Combination of parameter in the request and results are as below.
Code | Date | From /To | Results |
---|---|---|---|
All historical stock prices of a specific issue. | |||
Stock prices of a specific issue for the specified period | |||
All listed issue prices for the specific date. |
Get daily stock prices
GET
https://api.jquants.com/v1/prices/daily_quotes
Either "code" or "date" must be specified.
"*" Required.
Query Parameters
Name | Type | Description |
---|---|---|
code | String | issue code (e.g. 27800 or 2780) If a 4-character issue code is specified, only the data of common stock will be obtained for the issue on which both common and preferred stocks are listed. |
from | String | starting point of data period (e.g. 20210901 or 2021-09-01) |
to | String | end point of data period (e.g. 20210907 or 2021-09-07) |
date | String | date of data *when "from" and "to" are not specified (e.g. 20210907 or 2021-09-07) |
pagination_key | String | The primary key of the first item that this operation will evaluate. Use the value that was returned for |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Access Key |
Data Item
Variables | Description | Data type | Remark |
---|---|---|---|
Date | Date | String | YYYY-MM-DD |
Code | Issue code | String | |
Open | Open Price (before adjustment) | Number | |
High | High price (before adjustment) | Number | |
Low | Low price (before adjustment) | Number | |
Close | Close price (before adjustment) | Number | |
UpperLimit | Flag of hitting the upper price limit of the day | String | 0: Other than hitting the upper price limit 1: Hitting the upper price limit |
LowerLimit | Flag of hitting the lower price limit of the day | String | 0: Other than hitting the lower price limit 1: Hitting the lower price limit |
Volume | Trading volume (before Adjustment) | Number | |
TurnoverValue | Trading value | Number | |
AdjustmentFactor | Adjustment factor | Number | In the case of a two-for-one stock split, "0.5" will be set in the record on the ex-rights date. |
AdjustmentOpen | Adjusted open price | Number | ※1 |
AdjustmentHigh | Adjusted high price | Number | ※1 |
AdjustmentLow | Adjusted low price | Number | ※1 |
AdjustmentClose | Adjusted close price | Number | ※1 |
AdjustmentVolume | Adjusted volume | Number | ※1 |
MorningOpen | Open price of the morning session (before Adjustment) | Number | ※2 |
MorningHigh | High price of the morning session (before Adjustment) | Number | ※2 |
MorningLow | Low price of the morning session (before Adjustment) | Number | ※2 |
MorningClose | Close price of the morning session (before Adjustment) | Number | ※2 |
MorningUpperLimit | Flag of hitting the upper price limit of the day in morning session | String | 0: Other than hitting the upper price limit 1: Hitting the upper price limit ※2 |
MorningLowerLimit | Flag of hitting the lower price limit of the day in morning session | String | 0: Other than hitting the lower price limit 1: Hitting the lower price limit ※2 |
MorningVolume | Trading volume of the morning session (before Adjustment) | Number | ※2 |
MorningTurnoverValue | Trading value of the morning session | Number | ※2 |
MorningAdjustmentOpen | Adjusted open price of the morning session | Number | ※1, ※2 |
MorningAdjustmentHigh | Adjusted high price of the morning session | Number | ※1, ※2 |
MorningAdjustmentLow | Adjusted low price of the morning session | Number | ※1, ※2 |
MorningAdjustmentClose | Adjusted close price of the morning session | Number | ※1, ※2 |
MorningAdjustmentVolume | Adjusted trading volume of the morning session | Number | ※1, ※2 |
AfternoonOpen | Open price of the afternoon session (before Adjustment) | Number | ※2 |
AfternoonHigh | High price of the afternoon session (before Adjustment) | Number | ※2 |
AfternoonLow | Low price of the afternoon session (before Adjustment) | Number | ※2 |
AfternoonClose | Close price of the afternoon session (before Adjustment) | Number | ※2 |
AfternoonUpperLimit | Flag of hitting the upper price limit of the day in afternoon session | String | 0: Other than hitting the upper price limit 1: Hitting the upper price limit ※2 |
AfternoonLowerLimit | Flag of hitting the lower price limit of the day in afternoon session | String | 0: Other than hitting the lower price limit 1: Hitting the lower price limit ※2 |
AfternoonVolume | Trading volume of the afternoon session (before Adjustment) | Number | ※2 |
AfternoonTurnoverValue | Trading value of the afternoon session | Number | ※2 |
AfternoonAdjustmentOpen | Adjusted open price of the afternoon session | Number | ※1, ※2 |
AfternoonAdjustmentHigh | Adjusted high price of the afternoon session | Number | ※1, ※2 |
AfternoonAdjustmentLow | Adjusted low price of the afternoon session | Number | ※1, ※2 |
AfternoonAdjustmentClose | Adjusted close price of the afternoon session | Number | ※1, ※2 |
AfternoonAdjustmentVolume | Adjusted trading volume of the afternoon session | Number | ※1, ※2 |
※1 The item has been adjusted to take into account past divisions, etc. ※2 The item is available only for Premium plan users.
Sample Code
最終更新