옵션 시세

시세라이센스 정책에 따라 API v3으로 업데이트되었으니 참고해주시길 바랍니다.

상품/지수 옵션시장에 상장된 종목 리스트, 종목 마스터, 종목 체결, 호가 잔량등을 제공한다.

Syntax

HTTP methods | GET

Authentication | API Key

marketcodeissuecode코드표 > "시장코드표"를 참조하세요.

issuecode(옵션) ex) KR4201KC1756 → 201KC175

상품/지수옵션 종목 리스트

/v2/market/options/{marketcode}/lists

GET https://{APIGWAddr}/v2/market/options/{marketcode}/lists

Path Parameters

{
   "trdDd": "20180307",
   "mktEndTm": "1550",
   "isuLists": [ 
    {
       "isuSrtCd": "201N3240",
       "isuCd": "KR4201N32402",
       "isuKorNm": "KOSPI 200 콜옵션 1803 240.0",
       "isuKorAbbr": "K200 옵션 1803 C240.0",
       "map_to": "201N3240*006" 
    },
    {
       "isuSrtCd": "201N3242",
       "isuCd": "KR4201N32428",
       "isuKorNm": "KOSPI 200 콜옵션 1803 242.5",
       "isuKorAbbr": "K200 옵션 1803 C242.5",
       "map_to": "201N3242*006" 
    },
     ... 이하생략...
  ]
}     

Response Parameters

상품/지수옵션 종목 마스터

/v2/market/options/{marketcode}/{issuecode}/master

GET https://{APIGWAddr}/v2/market/options/{marketcode}/{issuecode}/master

Path Parameters

{
   "jsonrpc": "2.0",
   "result": 
  {
     "isuSrtCd": "201N6220",
     "midyyHgstprc": 100.5,
     "midyyHgstprcDd": 20180419,
     "midyyLwstprc": 100.5,
     "midyyLwstprcDd": 20180419,
     "inlistHgstprc": 100.5,
     "inlistHgstprcDd": 20180419,
     "inlistLwstprc": 100.5,
     "inlistLwstprcDd": 20180419,
     "prevddClsprc": 100.95,
     "prevddOpnprc": 100.95,
     "prevddHgprc": 100.95,
     "prevddLwprc": 100.95,
     "prevddAccTrdvol": 0,
     "prevddAccTrdval": 0,
     "prevddOpnintQty": 1,
     "setlPrcTheoPrcDivrgRt": 0,
     "impVolt": 0.1,
     "BzDd": 20180508,
     "basPrc": 97.15,
     "isuKorNm": "KOSPI 200 콜옵션 1806 220.0",
     "isuKorAbbrv": "K200 옵션 1806 C220.0",
     "isuCd": "KR4201N62201",
     "listDd": 20160610,
     "remainDys": 38,
     "cdInt": 1.65,
     "lsttrdDd": 20180614,
     "expDd": 201806,
     "exerPrc": 220,
     "ulyId": "KOSPI200",
     "prcLmtStep1Uplmtprc": 122.45,
     "prcLmtStep2Uplmtprc": 144.6,
     "prcLmtStep3Uplmtprc": 160.45,
     "prcLmtStep1Lwlmtprc": 71.8,
     "prcLmtStep2Lwlmtprc": 49.65,
     "prcLmtStep3Lwlmtprc": 33.8,
     "setlmult": 250000,
     "setlTheoPrc": 0,
     "basTheoPrc": 97.13 
  } 
}

Response Parameters

상품/지수옵션 종목 종가

/v2/market/options/{marketcode}/{issuecode}/closeprice

GET https://{APIGWAddr}/v2/market/options/{marketcode}/{issuecode}/closeprice

Path Parameters

{
   "jsonrpc": "2.0",
   "result": 
  {
     "isuSrtCd": "201N6220",
     "trdPrc": 96.35,
     "cmpprevddTpCd": "0",
     "opnprc": 96.35,
     "hgprc": 96.35,
     "lwprc": 96.35,
     "accTrdvol": 0,
     "accTrdval": 0,
     "cmpprevddPrc": 0 
  } 
}

Response Parameters

상품/지수옵션 종목 체결

/v2/market/options/{marketcode}/{issuecode}/price

GET https://{APIGWAddr}/v2/market/options/{marketcode}/{issuecode}/price

Path Parameters

{
   "jsonrpc": "2.0",
   "result": 
  {
     "isuSrtCd": "201N6220*006",
     "trdPrc": 96.35,
     "opnprc": 96.35,
     "hgprc": 96.35,
     "lwprc": 96.35,
     "accTrdvol": 0,
     "trdTm": 31000000,
     "trdvol": 0,
     "lstTrdTpCd": 0,
     "accTrdval": 0,
     "isuCd": "KR4201N62201",
     "negoBlkAccTrdvol": 0,
     "realtmUplmtprc": 121.65,
     "realtmLwlmtprc": 71.1 
  } 
}

Response Parameters

trdTm "HHMMSSmm" 형태로 시간전송 - 정규장 개시전 또는 정규장 체결 발생 이전 : 0 - 장운영시그널, 대량체결 포함 ※ 장운영시그널 정규장마감(15:00):31000000 /장종료시간외마감(15:30):41000000 /단일가마감(18:00):81000000 /일반Buy-in마감(18:00):91000007 /당일Buy-in마감(18:00):91000008 ※ 대량체결시 장전대량매매체결:51000000/장중대량매매체결:61000000/장후대량매매체결:71000000"

상품/지수옵션 종목 우선호가

/v2/market/options/{marketcode}/{issuecode}/orderbook

GET https://{APIGWAddr}/v2/market/options/{marketcode}/{issuecode}/orderbook

Path Parameters

{
   "jsonrpc": "2.0",
   "result": 
  {
     "isuSrtCd": "201N6220",
     "askStep1BstordPrc": 122.35,
     "askStep2BstordPrc": 0,
     "askStep3BstordPrc": 0,
     "askStep4BstordPrc": 0,
     "askStep5BstordPrc": 0,
     "askStep1BstordRqty": 10,
     "askStep2BstordRqty": 0,
     "askStep3BstordRqty": 0,
     "askStep4BstordRqty": 0,
     "askStep5BstordRqty": 0,
     "bidStep1BstordPrc": 71.9,
     "bidStep2BstordPrc": 0,
     "bidStep3BstordPrc": 0,
     "bidStep4BstordPrc": 0,
     "bidStep5BstordPrc": 0,
     "bidStep1BstordRqty": 10,
     "bidStep2BstordRqty": 0,
     "bidStep3BstordRqty": 0,
     "bidStep4BstordRqty": 0,
     "bidStep5BstordRqty": 0,
     "askTotOrdRqty": 10,
     "bidTotOrdRqty": 10,
     "askStep1BstordCnt": 1,
     "bidStep1BstordCnt": 1,
     "askStep2BstordCnt": 0,
     "bidStep2BstordCnt": 0,
     "askStep3BstordCnt": 0,
     "bidStep3BstordCnt": 0,
     "askStep4BstordCnt": 0,
     "bidStep4BstordCnt": 0,
     "askStep5BstordCnt": 0,
     "bidStep5BstordCnt": 0,
     "askValidOrdCnt": 1,
     "bidValidOrdCnt": 1,
     "ordAcptTm": 9012700,
     "deemTrdPrc": 0 
  } 
}

Response Parameters

시장별 투자자별 매매동향

/v2/market/options/{marketcode}/market/investors

GET https://{APIGWAddr}/v2/market/options/{marketcode}/market/investors

상품/지수선물 종

Path Parameters

{
   "jsonrpc": "2.0",
   "result": 
  {
     "Tm": "10415900",
     "invstLists": [ 
      {
         "invstCd": "01",
         "CallAccAskTrdvol": 152062,
         "CallAccAskTrdval": 6600222,
         "CallAccBidTrdvol": 146356,
         "CallAccBidTrdval": 9397987,
         "PutAccAskTrdvol": 14062,
         "PutAccAskTrdval": 5049965,
         "PutAccBidTrdvol": 13850,
         "PutAccBidTrdval": 3119705 
      },
      {
         "invstCd": "02",
         "CallAccAskTrdvol": 0,
         "CallAccAskTrdval": 0,
         "CallAccBidTrdvol": 190,
         "CallAccBidTrdval": 9500,
         "PutAccAskTrdvol": 0,
         "PutAccAskTrdval": 0,
         "PutAccBidTrdvol": 0,
         "PutAccBidTrdval": 0 
      },
       ...
      {
         "invstCd": "16",
         "CallAccAskTrdvol": 30748,
         "CallAccAskTrdval": 3782255,
         "CallAccBidTrdvol": 29008,
         "CallAccBidTrdval": 2070807,
         "PutAccAskTrdvol": 11255,
         "PutAccAskTrdval": 2857505,
         "PutAccBidTrdvol": 10955,
         "PutAccBidTrdval": 7402262 
      } 
    ] 
  } 
}

Response Parameters

상품/지수옵션 일중

/v2/market/options/{marketcode}/{issuecode}/intraday

GET https://{APIGWAddr}/v2/market/options/{marketcode}/{issuecode}/intraday

상품/지수선물 종목 10초/분별 데이터 제공 (최대 100건까지 조회가능)

Path Parameters

Query Parameters

ddddd

Response Parameters

상품/지수옵션 종목 히스토리

/v2/market/options/{marketcode}/{issuecode}/history

GET https://sandbox-apigw.koscom.co.kr/v2/market/options/{marketcode}/{issuecode}/history

Path Parameters

Query Parameters

{
   "jsonrpc": "2.0",
   "result": 
  {
     "isuSrtCd": "201N6220",
     "hisLists": [ 
      {
         "BzDd": 20180330,
         "trdPrc": 94.6,
         "cmpprevddTpCd": "0",
         "opnprc": 94.6,
         "hgprc": 94.6,
         "lwprc": 94.6,
         "accTrdvol": 0,
         "accTrdval": 0,
         "opnintQty": 0,
         "cmpprevddPrc": 0 
      },
       
      {
         "BzDd": 20180329,
         "trdPrc": 92.3,
         "cmpprevddTpCd": "0",
         "opnprc": 92.3,
         "hgprc": 92.3,
         "lwprc": 92.3,
         "accTrdvol": 0,
         "accTrdval": 0,
         "opnintQty": 0,
         "cmpprevddPrc": 0 
      } 
    ] 
  } 
}

Response Parameters

Last updated