交易时段接口

请求url:http://dict.openctp.cn/times

url参数:

应答:json数据

例:http://dict.openctp.cn/times?type=futures&markets=SHFE,CFFEX&products=au,rb,IF,IM

{
  "rsp_code": 0,
  "rsp_message": "succeed",
  "data": [
    {
      "ExchangeID": "CFFEX",
      "ProductID": "IF",
      "SegmentNo": 1,
      "TimeBegin": "09:30:00",
      "TimeEnd": "11:30:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "CFFEX",
      "ProductID": "IF",
      "SegmentNo": 2,
      "TimeBegin": "13:00:00",
      "TimeEnd": "15:00:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "CFFEX",
      "ProductID": "IM",
      "SegmentNo": 1,
      "TimeBegin": "09:30:00",
      "TimeEnd": "11:30:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "CFFEX",
      "ProductID": "IM",
      "SegmentNo": 2,
      "TimeBegin": "13:00:00",
      "TimeEnd": "15:00:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "SHFE",
      "ProductID": "ag",
      "SegmentNo": 1,
      "TimeBegin": "21:00:00",
      "TimeEnd": "02:30:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "SHFE",
      "ProductID": "ag",
      "SegmentNo": 2,
      "TimeBegin": "09:00:00",
      "TimeEnd": "10:15:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "SHFE",
      "ProductID": "ag",
      "SegmentNo": 3,
      "TimeBegin": "10:30:00",
      "TimeEnd": "11:30:00",
      "ProductClass": "1",
      "Area": "China"
    },
    {
      "ExchangeID": "SHFE",
      "ProductID": "ag",
      "SegmentNo": 4,
      "TimeBegin": "13:30:00",
      "TimeEnd": "15:00:00",
      "ProductClass": "1",
      "Area": "China"
    }
  ]
}