|
|
@@ -4528,7 +4528,7 @@ var doc = `{
|
|
|
"description": "合约列表",
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
- "$ref": "#/definitions/models.GoodsInfo"
|
|
|
+ "$ref": "#/definitions/models.GoodsIDAndName"
|
|
|
}
|
|
|
},
|
|
|
"oppositeusers": {
|
|
|
@@ -4777,7 +4777,7 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "models.GoodsInfo": {
|
|
|
+ "models.GoodsIDAndName": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
"goodscode",
|
|
|
@@ -4786,86 +4786,10 @@ var doc = `{
|
|
|
"marketid"
|
|
|
],
|
|
|
"properties": {
|
|
|
- "agreeunit": {
|
|
|
- "description": "合约单位",
|
|
|
- "type": "number"
|
|
|
- },
|
|
|
- "auditaccountid": {
|
|
|
- "description": "审核操作员账号",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "audittime": {
|
|
|
- "description": "审核时间",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "cancelaccountid": {
|
|
|
- "description": "注销操作员账号",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "canceltime": {
|
|
|
- "description": "注销时间",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "closepricemode": {
|
|
|
- "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "closepriceparam": {
|
|
|
- "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
|
|
|
- "type": "number"
|
|
|
- },
|
|
|
- "createtime": {
|
|
|
- "description": "创建时间",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "creatorid": {
|
|
|
- "description": "创建人",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "currencyid": {
|
|
|
- "description": "报价货币ID",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "cutmode": {
|
|
|
- "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "decimalplace": {
|
|
|
- "description": "报价小数位",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "delistingdate": {
|
|
|
- "description": "商品退市时间(状态:退市) -- 已作废",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "delistingmode": {
|
|
|
- "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "deliveryflag": {
|
|
|
- "description": "交割标志 - 0:不可交割 1:可交割",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "forceclosemode": {
|
|
|
- "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "forceclosevalue": {
|
|
|
- "description": "定期强平参数 [收益权]",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
"goodscode": {
|
|
|
"description": "商品代码(内部)",
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "goodscurrencyid": {
|
|
|
- "description": "合约货币ID",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "goodsgroupid": {
|
|
|
- "description": "所属商品组ID",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
"goodsid": {
|
|
|
"description": "商品ID(自增ID SEQ_GOODS)",
|
|
|
"type": "integer"
|
|
|
@@ -4874,97 +4798,9 @@ var doc = `{
|
|
|
"description": "商品名称",
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "goodsquotetype": {
|
|
|
- "description": "合约报价类型: 1-直接报价 2-间接报价",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "goodsstatus": {
|
|
|
- "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "goodstradetype": {
|
|
|
- "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "goodsunit": {
|
|
|
- "description": "报价单位",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "goodunitid": {
|
|
|
- "description": "报价单位ID",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "hasquoter": {
|
|
|
- "description": "是否有报价商 - 0:无报价商 1:有报价商",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "hqprotecttime": {
|
|
|
- "description": "行情保护时间(秒)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "innerdealmode": {
|
|
|
- "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "isbuylimited": {
|
|
|
- "description": "是否限制建仓量 - 0:不限制 1:限制",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "lasttradedate": {
|
|
|
- "description": "最后交易日期(状态:待退市)",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "listingdate": {
|
|
|
- "description": "交易开始日期",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
"marketid": {
|
|
|
"description": "所属市场ID",
|
|
|
"type": "integer"
|
|
|
- },
|
|
|
- "modifierid": {
|
|
|
- "description": "修改人",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "modifystatus": {
|
|
|
- "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "modifytime": {
|
|
|
- "description": "修改时间",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "outerdealmode": {
|
|
|
- "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "outgoodscode": {
|
|
|
- "description": "商品代码(外部)",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "qtydecimalplace": {
|
|
|
- "description": "成交量小数位",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "quotegear": {
|
|
|
- "description": "行情档位(1-10)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "quoteminunit": {
|
|
|
- "description": "行情最小变动单位 [整数,报价小数位一起使用]",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "quoteshowtype": {
|
|
|
- "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "quoteshowtypeinterval": {
|
|
|
- "description": "行情报价间隔时间(秒)(成交价时为0)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "remark": {
|
|
|
- "description": "备注",
|
|
|
- "type": "string"
|
|
|
}
|
|
|
}
|
|
|
},
|