合约信息接口

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

url参数:

应答:json数据

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

{
  "rsp_code": 0,
  "rsp_message": "succeed",
  "data": [
    {
      "ExchangeID": "CFFEX",
      "InstrumentID": "IF2505",
      "InstrumentName": "股指2505",
      "ProductClass": "1",
      "ProductID": "IF",
      "VolumeMultiple": 300,
      "PriceTick": 0.2,
      "LongMarginRatioByMoney": 0.12,
      "ShortMarginRatioByMoney": 0.12,
      "LongMarginRatioByVolume": 0,
      "ShortMarginRatioByVolume": 0,
      "OpenRatioByMoney": 0.0000238,
      "OpenRatioByVolume": 0.01,
      "CloseRatioByMoney": 0.0000238,
      "CloseRatioByVolume": 0.01,
      "CloseTodayRatioByMoney": 0.0002308,
      "CloseTodayRatioByVolume": 0.01,
      "DeliveryYear": 2025,
      "DeliveryMonth": 5,
      "OpenDate": "2025-03-24",
      "ExpireDate": "2025-05-16",
      "DeliveryDate": "2025-05-16",
      "UnderlyingInstrID": "IF",
      "UnderlyingMultiple": 1,
      "OptionsType": "",
      "StrikePrice": null,
      "InstLifePhase": "1"
    },
    {
      "ExchangeID": "CFFEX",
      "InstrumentID": "IM2505",
      "InstrumentName": "中证1000股指期货2505",
      "ProductClass": "1",
      "ProductID": "IM",
      "VolumeMultiple": 200,
      "PriceTick": 0.2,
      "LongMarginRatioByMoney": 0.12,
      "ShortMarginRatioByMoney": 0.12,
      "LongMarginRatioByVolume": 0,
      "ShortMarginRatioByVolume": 0,
      "OpenRatioByMoney": 0.0000238,
      "OpenRatioByVolume": 0.01,
      "CloseRatioByMoney": 0.0000238,
      "CloseRatioByVolume": 0.01,
      "CloseTodayRatioByMoney": 0.0002308,
      "CloseTodayRatioByVolume": 0.01,
      "DeliveryYear": 2025,
      "DeliveryMonth": 5,
      "OpenDate": "2025-03-24",
      "ExpireDate": "2025-05-16",
      "DeliveryDate": "2025-05-16",
      "UnderlyingInstrID": "IM",
      "UnderlyingMultiple": 1,
      "OptionsType": "",
      "StrikePrice": null,
      "InstLifePhase": "1"
    },
    {
      "ExchangeID": "SHFE",
      "InstrumentID": "au2505",
      "InstrumentName": "au2505",
      "ProductClass": "1",
      "ProductID": "au",
      "VolumeMultiple": 1000,
      "PriceTick": 0.02,
      "LongMarginRatioByMoney": 0.2,
      "ShortMarginRatioByMoney": 0.2,
      "LongMarginRatioByVolume": 0,
      "ShortMarginRatioByVolume": 0,
      "OpenRatioByMoney": 8e-7,
      "OpenRatioByVolume": 10.01,
      "CloseRatioByMoney": 8e-7,
      "CloseRatioByVolume": 10.01,
      "CloseTodayRatioByMoney": 8e-7,
      "CloseTodayRatioByVolume": 0,
      "DeliveryYear": 2025,
      "DeliveryMonth": 5,
      "OpenDate": "2025-02-18",
      "ExpireDate": "2025-05-15",
      "DeliveryDate": "2025-05-16",
      "UnderlyingInstrID": "au",
      "UnderlyingMultiple": 1,
      "OptionsType": "",
      "StrikePrice": null,
      "InstLifePhase": "1"
    },
    {
      "ExchangeID": "SHFE",
      "InstrumentID": "rb2505",
      "InstrumentName": "rb2505",
      "ProductClass": "1",
      "ProductID": "rb",
      "VolumeMultiple": 10,
      "PriceTick": 1,
      "LongMarginRatioByMoney": 0.2,
      "ShortMarginRatioByMoney": 0.2,
      "LongMarginRatioByVolume": 0,
      "ShortMarginRatioByVolume": 0,
      "OpenRatioByMoney": 0.0001008,
      "OpenRatioByVolume": 0.01,
      "CloseRatioByMoney": 0.0001008,
      "CloseRatioByVolume": 0.01,
      "CloseTodayRatioByMoney": 0.0001008,
      "CloseTodayRatioByVolume": 0.01,
      "DeliveryYear": 2025,
      "DeliveryMonth": 5,
      "OpenDate": "2024-05-16",
      "ExpireDate": "2025-05-15",
      "DeliveryDate": "2025-05-16",
      "UnderlyingInstrID": "rb",
      "UnderlyingMultiple": 1,
      "OptionsType": "",
      "StrikePrice": null,
      "InstLifePhase": "1"
    }
  ]
}