|
@@ -457,7 +457,7 @@ var doc = `{
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
"type": "boolean",
|
|
"type": "boolean",
|
|
|
- "description": "是否未读信息",
|
|
|
|
|
|
|
+ "description": "是否只获取未读信息",
|
|
|
"name": "onlyUnRead",
|
|
"name": "onlyUnRead",
|
|
|
"in": "query"
|
|
"in": "query"
|
|
|
}
|
|
}
|
|
@@ -499,7 +499,7 @@ var doc = `{
|
|
|
"200": {
|
|
"200": {
|
|
|
"description": "OK",
|
|
"description": "OK",
|
|
|
"schema": {
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/models.Tablecolumnconfig"
|
|
|
|
|
|
|
+ "$ref": "#/definitions/common.QueryTableDefineRsp"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
"500": {
|
|
"500": {
|
|
@@ -724,6 +724,40 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ "/History/QueryTSData": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "produces": [
|
|
|
|
|
+ "application/json"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "tags": [
|
|
|
|
|
+ "通用服务"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "summary": "分时图数据查询",
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "description": "商品代码",
|
|
|
|
|
+ "name": "GoodsCode",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "required": true
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "OK",
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/definitions/quote.QueryTSDataRsp"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "500": {
|
|
|
|
|
+ "description": "Internal Server Error",
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
"/Order/QueryHisTradeDetail": {
|
|
"/Order/QueryHisTradeDetail": {
|
|
|
"get": {
|
|
"get": {
|
|
|
"security": [
|
|
"security": [
|
|
@@ -1262,6 +1296,45 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ "/SZDZ/QuerySZDZTradePosition": {
|
|
|
|
|
+ "get": {
|
|
|
|
|
+ "security": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "ApiKeyAuth": []
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "produces": [
|
|
|
|
|
+ "application/json"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "tags": [
|
|
|
|
|
+ "定制【尚志大宗】"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "summary": "持仓汇总查询(尚志大宗)",
|
|
|
|
|
+ "parameters": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "type": "integer",
|
|
|
|
|
+ "description": "资金账户",
|
|
|
|
|
+ "name": "accountID",
|
|
|
|
|
+ "in": "query",
|
|
|
|
|
+ "required": true
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "responses": {
|
|
|
|
|
+ "200": {
|
|
|
|
|
+ "description": "OK",
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "500": {
|
|
|
|
|
+ "description": "Internal Server Error",
|
|
|
|
|
+ "schema": {
|
|
|
|
|
+ "$ref": "#/definitions/app.Response"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
"/SZDZ/SearchWhite": {
|
|
"/SZDZ/SearchWhite": {
|
|
|
"get": {
|
|
"get": {
|
|
|
"security": [
|
|
"security": [
|
|
@@ -1517,7 +1590,7 @@ var doc = `{
|
|
|
"summary": "获取用户信息",
|
|
"summary": "获取用户信息",
|
|
|
"parameters": [
|
|
"parameters": [
|
|
|
{
|
|
{
|
|
|
- "type": "string",
|
|
|
|
|
|
|
+ "type": "integer",
|
|
|
"description": "用户ID",
|
|
"description": "用户ID",
|
|
|
"name": "userID",
|
|
"name": "userID",
|
|
|
"in": "query",
|
|
"in": "query",
|
|
@@ -1551,7 +1624,7 @@ var doc = `{
|
|
|
"summary": "获取用户邀请码",
|
|
"summary": "获取用户邀请码",
|
|
|
"parameters": [
|
|
"parameters": [
|
|
|
{
|
|
{
|
|
|
- "type": "string",
|
|
|
|
|
|
|
+ "type": "integer",
|
|
|
"description": "用户ID",
|
|
"description": "用户ID",
|
|
|
"name": "userID",
|
|
"name": "userID",
|
|
|
"in": "query",
|
|
"in": "query",
|
|
@@ -1632,59 +1705,6 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "common.OperationPrimaryMenu": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "Children": {
|
|
|
|
|
- "description": "二级功能菜单",
|
|
|
|
|
- "type": "array",
|
|
|
|
|
- "items": {
|
|
|
|
|
- "$ref": "#/definitions/common.OperationSecondaryMenu"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "Key": {
|
|
|
|
|
- "description": "菜单KEY",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "Label": {
|
|
|
|
|
- "description": "菜单标题",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "common.OperationSecondaryMenu": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "Key": {
|
|
|
|
|
- "description": "菜单KEY",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "Label": {
|
|
|
|
|
- "description": "菜单标题",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "TabList": {
|
|
|
|
|
- "description": "三级功能菜单",
|
|
|
|
|
- "type": "array",
|
|
|
|
|
- "items": {
|
|
|
|
|
- "$ref": "#/definitions/common.OperationTabMenu"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "common.OperationTabMenu": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "Key": {
|
|
|
|
|
- "description": "菜单KEY",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "Label": {
|
|
|
|
|
- "description": "菜单标题",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
"common.QueryNoticeRsp": {
|
|
"common.QueryNoticeRsp": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"required": [
|
|
"required": [
|
|
@@ -1761,90 +1781,57 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "common.QueryTraderMenuRsp": {
|
|
|
|
|
|
|
+ "common.QueryTableDefineRsp": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
|
|
+ "required": [
|
|
|
|
|
+ "tablekey"
|
|
|
|
|
+ ],
|
|
|
"properties": {
|
|
"properties": {
|
|
|
- "OperationMenu": {
|
|
|
|
|
- "description": "功能菜单",
|
|
|
|
|
|
|
+ "columns": {
|
|
|
|
|
+ "description": "列头信息数组",
|
|
|
"type": "array",
|
|
"type": "array",
|
|
|
"items": {
|
|
"items": {
|
|
|
- "$ref": "#/definitions/common.OperationPrimaryMenu"
|
|
|
|
|
|
|
+ "$ref": "#/definitions/models.Tablecolumnconfig"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "QuoteMenu": {
|
|
|
|
|
- "description": "报价牌分类菜单",
|
|
|
|
|
- "type": "array",
|
|
|
|
|
- "items": {
|
|
|
|
|
- "$ref": "#/definitions/common.QuotePrimaryMenu"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "common.QuotePrimaryMenu": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "Index": {
|
|
|
|
|
- "description": "序号",
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
|
|
+ "remark": {
|
|
|
|
|
+ "description": "Remark",
|
|
|
|
|
+ "type": "string"
|
|
|
},
|
|
},
|
|
|
- "Key": {
|
|
|
|
|
- "description": "键名",
|
|
|
|
|
|
|
+ "tabelmenu": {
|
|
|
|
|
+ "description": "列表菜单",
|
|
|
"type": "string"
|
|
"type": "string"
|
|
|
},
|
|
},
|
|
|
- "Name": {
|
|
|
|
|
- "description": "菜单名称",
|
|
|
|
|
|
|
+ "tablekey": {
|
|
|
|
|
+ "description": "列表Key",
|
|
|
"type": "string"
|
|
"type": "string"
|
|
|
},
|
|
},
|
|
|
- "SubMenus": {
|
|
|
|
|
- "description": "子菜单",
|
|
|
|
|
- "type": "array",
|
|
|
|
|
- "items": {
|
|
|
|
|
- "$ref": "#/definitions/common.QuoteSecondaryMenu"
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ "tablename": {
|
|
|
|
|
+ "description": "列表名称",
|
|
|
|
|
+ "type": "string"
|
|
|
},
|
|
},
|
|
|
- "SubTitleType": {
|
|
|
|
|
- "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
|
|
|
|
|
|
|
+ "tabletype": {
|
|
|
|
|
+ "description": "列表类型 - 1:管理端 2:终端",
|
|
|
"type": "integer"
|
|
"type": "integer"
|
|
|
- },
|
|
|
|
|
- "TradeModes": {
|
|
|
|
|
- "description": "包含市场交易类型",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "common.QuoteSecondaryMenu": {
|
|
|
|
|
|
|
+ "common.QueryTraderMenuRsp": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"properties": {
|
|
"properties": {
|
|
|
- "ExExchangeCode": {
|
|
|
|
|
- "description": "外部交易所代码",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "ExExchangeID": {
|
|
|
|
|
- "description": "外部交易所ID",
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "GoodsGroupIDs": {
|
|
|
|
|
- "description": "商品组ID列表",
|
|
|
|
|
|
|
+ "OperationMenu": {
|
|
|
|
|
+ "description": "功能菜单",
|
|
|
"type": "array",
|
|
"type": "array",
|
|
|
"items": {
|
|
"items": {
|
|
|
- "type": "integer"
|
|
|
|
|
|
|
+ "$ref": "#/definitions/models.OperationPrimaryMenu"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "Index": {
|
|
|
|
|
- "description": "序号",
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "MarketID": {
|
|
|
|
|
- "description": "市场ID",
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "MenuTitle": {
|
|
|
|
|
- "description": "菜单标题(市场名称或外部交易所名称)",
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "TradeMode": {
|
|
|
|
|
- "description": "交易模式",
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
|
|
+ "QuoteMenu": {
|
|
|
|
|
+ "description": "报价牌分类菜单",
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/definitions/models.QuotePrimaryMenu"
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -3279,6 +3266,127 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ "models.OperationPrimaryMenu": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "Children": {
|
|
|
|
|
+ "description": "二级功能菜单",
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/definitions/models.OperationSecondaryMenu"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "Key": {
|
|
|
|
|
+ "description": "菜单KEY",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "Label": {
|
|
|
|
|
+ "description": "菜单标题",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "models.OperationSecondaryMenu": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "Key": {
|
|
|
|
|
+ "description": "菜单KEY",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "Label": {
|
|
|
|
|
+ "description": "菜单标题",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "TabList": {
|
|
|
|
|
+ "description": "三级功能菜单",
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/definitions/models.OperationTabMenu"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "models.OperationTabMenu": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "Key": {
|
|
|
|
|
+ "description": "菜单KEY",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "Label": {
|
|
|
|
|
+ "description": "菜单标题",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "models.QuotePrimaryMenu": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "Index": {
|
|
|
|
|
+ "description": "序号",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "Key": {
|
|
|
|
|
+ "description": "键名",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "Name": {
|
|
|
|
|
+ "description": "菜单名称",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "SubMenus": {
|
|
|
|
|
+ "description": "子菜单",
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/definitions/models.QuoteSecondaryMenu"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "SubTitleType": {
|
|
|
|
|
+ "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "TradeModes": {
|
|
|
|
|
+ "description": "包含市场交易类型",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "models.QuoteSecondaryMenu": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "ExExchangeCode": {
|
|
|
|
|
+ "description": "外部交易所代码",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "ExExchangeID": {
|
|
|
|
|
+ "description": "外部交易所ID",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "GoodsGroupIDs": {
|
|
|
|
|
+ "description": "商品组ID列表",
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "Index": {
|
|
|
|
|
+ "description": "序号",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "MarketID": {
|
|
|
|
|
+ "description": "市场ID",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "MenuTitle": {
|
|
|
|
|
+ "description": "菜单标题(市场名称或外部交易所名称)",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "TradeMode": {
|
|
|
|
|
+ "description": "交易模式",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
"models.Szdz3convertconfig": {
|
|
"models.Szdz3convertconfig": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"required": [
|
|
"required": [
|
|
@@ -4687,6 +4795,83 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ "quote.HistoryData": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "Opened": {
|
|
|
|
|
+ "description": "开盘价",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "closed": {
|
|
|
|
|
+ "description": "收盘价",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "highest": {
|
|
|
|
|
+ "description": "收盘价",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "holdVolume": {
|
|
|
|
|
+ "description": "持仓量",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "lowest": {
|
|
|
|
|
+ "description": "最低价",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "settle": {
|
|
|
|
|
+ "description": "结算价",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "timeStamp": {
|
|
|
|
|
+ "description": "开盘时间",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "totleTurnover": {
|
|
|
|
|
+ "description": "总金额",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "totleVolume": {
|
|
|
|
|
+ "description": "总量",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "quote.QueryTSDataRsp": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "decimalPlace": {
|
|
|
|
|
+ "description": "小数位",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "endTime": {
|
|
|
|
|
+ "description": "结束时间",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "goodsCode": {
|
|
|
|
|
+ "description": "商品代码",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "historyDatas": {
|
|
|
|
|
+ "description": "历史数据",
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "$ref": "#/definitions/quote.HistoryData"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "preSettle": {
|
|
|
|
|
+ "description": "昨结",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "startTime": {
|
|
|
|
|
+ "description": "开始时间",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "tradeDate": {
|
|
|
|
|
+ "description": "交易日",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
"szdz.QueryConvertLogRsp": {
|
|
"szdz.QueryConvertLogRsp": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"required": [
|
|
"required": [
|
|
@@ -4944,6 +5129,127 @@ var doc = `{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ "szdz.QuerySZDZTradePositionRsp": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "accountid": {
|
|
|
|
|
+ "description": "账号Id",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "agreeunit": {
|
|
|
|
|
+ "description": "合约单位",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "averageprice": {
|
|
|
|
|
+ "description": "持仓均价",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "buyorsell": {
|
|
|
|
|
+ "description": "方向 - 0:买 1:卖",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "closetotalqty": {
|
|
|
|
|
+ "description": "平仓总数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "curholderamount": {
|
|
|
|
|
+ "description": "当前持仓总金额",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "curpositionqty": {
|
|
|
|
|
+ "description": "当前持仓总数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "currencyid": {
|
|
|
|
|
+ "description": "报价货币ID",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "curtdposition": {
|
|
|
|
|
+ "description": "期末今日头寸",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "decimalplace": {
|
|
|
|
|
+ "description": "报价小数位",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "enableqty": {
|
|
|
|
|
+ "description": "可用量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "fretdposition": {
|
|
|
|
|
+ "description": "冻结今日头寸",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "frozenqty": {
|
|
|
|
|
+ "description": "持仓冻结数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "goodscode": {
|
|
|
|
|
+ "description": "商品代码(内部)",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "goodsid": {
|
|
|
|
|
+ "description": "商品Id",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "goodsname": {
|
|
|
|
|
+ "description": "商品名称",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "goodunit": {
|
|
|
|
|
+ "description": "报价单位",
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "goodunitid": {
|
|
|
|
|
+ "description": "报价单位ID",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "holderamount": {
|
|
|
|
|
+ "description": "期初持仓总金额",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ },
|
|
|
|
|
+ "marketid": {
|
|
|
|
|
+ "description": "市场ID",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "openreqqty": {
|
|
|
|
|
+ "description": "开仓申请数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "opentotalqty": {
|
|
|
|
|
+ "description": "开仓总数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "otherfrozenqty": {
|
|
|
|
|
+ "description": "持仓其他冻结数量(交割冻结)",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "positionqty": {
|
|
|
|
|
+ "description": "期初持仓数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "szdz3freezqty": {
|
|
|
|
|
+ "description": "尚志大宗转换冻结总数量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "tnqty": {
|
|
|
|
|
+ "description": "T+N冻结总量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "tnusedqty": {
|
|
|
|
|
+ "description": "T+N使用量",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "trademode": {
|
|
|
|
|
+ "description": "交易模式",
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "usedmargin": {
|
|
|
|
|
+ "description": "占用保证金",
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
"taaccount.QueryAmountLogRsp": {
|
|
"taaccount.QueryAmountLogRsp": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"required": [
|
|
"required": [
|