|
|
@@ -2,51 +2,51 @@
|
|
|
* 实时敞口信息返回
|
|
|
*/
|
|
|
export interface ErmcpRealExposureModel {
|
|
|
- AreaUserID :number;//所属机构
|
|
|
- BuyFutureQty :number;//买入期货数量
|
|
|
- BuyPlanQty :number;//采购计划数量
|
|
|
- BuyPricedQty :number;//采购合同已定价数量
|
|
|
- MiddleGoodsCode :string;//套保品种代码
|
|
|
- MiddleGoodsHedgeRatio :number;//套保比例
|
|
|
- MiddleGoodsID :number;//套保品种
|
|
|
- MiddleGoodsName :string;//套保品种名称
|
|
|
- NeedHedgeExposoure :number;//应套保敞口(套保敞口)
|
|
|
- NeedHedgeRatio :number;//应套保敞口比例
|
|
|
- OriBuyFutureQty :number;//期初买入期货数量
|
|
|
- OriBuyPlanQty :number;//期初采购计划数量
|
|
|
- OriBuyPricedQty :number;//期初采购合同已定价数量
|
|
|
- OriSellFutureQty :number;//期初卖出期货数量
|
|
|
- OriSellPlanQty :number;//期初销售计划数量
|
|
|
- OriSellPricedQty :number;//期初销售合同已定价数量
|
|
|
- SellFutureQty :number;//卖出期货数量
|
|
|
- SellPlanQty :number;//销售计划数量
|
|
|
- SellPricedQty :number;//销售合同已定价数量
|
|
|
- TotalExposure :number;//总敞口
|
|
|
- TotalFutureQty :number;//期货总量
|
|
|
- TotalHedgeRatio :number;//敞口比例
|
|
|
- TotalNeedHedgeQty :number;//应套保总量(现货应套保总量)
|
|
|
- TotalSpotQty :number;//现货总量
|
|
|
- arbitrageqty :number;//套利量
|
|
|
- diffArbitrageQty :number;//套利变动量
|
|
|
- diffExposoureQty :number;//变动量(套保敞口)
|
|
|
- diffFutuQty :number;//变动量(期货总量)
|
|
|
- diffHedgeQty :number;//套保变动量
|
|
|
- diffQty :number;//变动量(总敞口)
|
|
|
- diffSpotHedgeQty :number;//变动量(现货应套保总量)
|
|
|
- DiffSpotQty :number;//变动量(现货总量) = 现货数量 - 期初现货数量
|
|
|
- ENUMDICNAME :string;//单位名称
|
|
|
- hedgeqty :number;//套保量
|
|
|
- needarbitrageqty :number;//应套利量
|
|
|
- needarbitrageratio :number;//套利比例
|
|
|
- needhedgeqty :number;//应套保量
|
|
|
- oriTotalFutuQty :number;//期初期货数量=期初买入期货数量-期初卖出期货数量
|
|
|
- oriTotalSpotQty :number;//期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
|
|
|
- oriarbitrageqty :number;//期初套利量
|
|
|
- orihedgeqty :number;//期初套保量
|
|
|
- orineedhedgeexposoure :number;//期初套保敞口
|
|
|
- oritotalexposure :number;//期初总敞口
|
|
|
- oritotalfutureqty :number;//期初期货总量
|
|
|
- oritotalneedhedgeqty :number;//期初现货应套保量
|
|
|
+ AreaUserID: number;//所属机构
|
|
|
+ BuyFutureQty: number;//买入期货数量
|
|
|
+ BuyPlanQty: number;//采购计划数量
|
|
|
+ BuyPricedQty: number;//采购合同已定价数量
|
|
|
+ MiddleGoodsCode: string;//套保品种代码
|
|
|
+ MiddleGoodsHedgeRatio: number;//套保比例
|
|
|
+ MiddleGoodsID: number;//套保品种
|
|
|
+ MiddleGoodsName: string;//套保品种名称
|
|
|
+ NeedHedgeExposoure: number;//应套保敞口(套保敞口)
|
|
|
+ NeedHedgeRatio: number;//应套保敞口比例
|
|
|
+ OriBuyFutureQty: number;//期初买入期货数量
|
|
|
+ OriBuyPlanQty: number;//期初采购计划数量
|
|
|
+ OriBuyPricedQty: number;//期初采购合同已定价数量
|
|
|
+ OriSellFutureQty: number;//期初卖出期货数量
|
|
|
+ OriSellPlanQty: number;//期初销售计划数量
|
|
|
+ OriSellPricedQty: number;//期初销售合同已定价数量
|
|
|
+ SellFutureQty: number;//卖出期货数量
|
|
|
+ SellPlanQty: number;//销售计划数量
|
|
|
+ SellPricedQty: number;//销售合同已定价数量
|
|
|
+ TotalExposure: number;//总敞口
|
|
|
+ TotalFutureQty: number;//期货总量
|
|
|
+ TotalHedgeRatio: number;//敞口比例
|
|
|
+ TotalNeedHedgeQty: number;//应套保总量(现货应套保总量)
|
|
|
+ TotalSpotQty: number;//现货总量
|
|
|
+ arbitrageqty: number;//套利量
|
|
|
+ diffArbitrageQty: number;//套利变动量
|
|
|
+ diffExposoureQty: number;//变动量(套保敞口)
|
|
|
+ diffFutuQty: number;//变动量(期货总量)
|
|
|
+ diffHedgeQty: number;//套保变动量
|
|
|
+ diffQty: number;//变动量(总敞口)
|
|
|
+ diffSpotHedgeQty: number;//变动量(现货应套保总量)
|
|
|
+ DiffSpotQty: number;//变动量(现货总量) = 现货数量 - 期初现货数量
|
|
|
+ ENUMDICNAME: string;//单位名称
|
|
|
+ hedgeqty: number;//套保量
|
|
|
+ needarbitrageqty: number;//应套利量
|
|
|
+ needarbitrageratio: number;//套利比例
|
|
|
+ needhedgeqty: number;//应套保量
|
|
|
+ oriTotalFutuQty: number;//期初期货数量=期初买入期货数量-期初卖出期货数量
|
|
|
+ oriTotalSpotQty: number;//期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
|
|
|
+ oriarbitrageqty: number;//期初套利量
|
|
|
+ orihedgeqty: number;//期初套保量
|
|
|
+ orineedhedgeexposoure: number;//期初套保敞口
|
|
|
+ oritotalexposure: number;//期初总敞口
|
|
|
+ oritotalfutureqty: number;//期初期货总量
|
|
|
+ oritotalneedhedgeqty: number;//期初现货应套保量
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -109,16 +109,17 @@ export interface ErmcpExposurePostion {
|
|
|
*/
|
|
|
export interface Ermcp3AreaSpot {
|
|
|
areauserid: number;//所属机构
|
|
|
+ convertratio: number;//套保系数
|
|
|
decreaseqty: number;//减少数量=-(销售已定价数量+采购计划数量)
|
|
|
- deliverygoodscode: string;//现货品种代码
|
|
|
- deliverygoodsid: number;//现货品种id
|
|
|
- deliverygoodsname: string;//现货品种名称
|
|
|
enumdicname: string;//单位名称
|
|
|
- goodsunitid: number;//现货品种单位id
|
|
|
increaseqty: number;//增加数量=销售计划数量+采购已定价数量
|
|
|
oritoalspotqty: number;//昨日数量
|
|
|
totalspotqty: number;//当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
|
|
|
+ unitid: number;//现货商品单位id
|
|
|
updatetime: string;//更新时间
|
|
|
+ wrstandardcode: string;//现货商品代码
|
|
|
+ wrstandardid: number;//现货商品ID(SEQ_WRSTANDARD)
|
|
|
+ wrstandardname: string;//现货商品名称
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -134,9 +135,6 @@ export interface Ermcp3AreaSpotDetailReq {
|
|
|
export interface Ermcp3AreaSpotDetail {
|
|
|
contracttype: number;//合同类型 1-采购 -1-销售
|
|
|
createtime: string;//创建时间
|
|
|
- deliverygoodscode: string;//现货品种代码
|
|
|
- deliverygoodsid: number;//现货品种id
|
|
|
- deliverygoodsname: string;//现货品种名称
|
|
|
enumdicname: string;//现货商品单位名称
|
|
|
logtype: number;//记录类型 1-套保 2-现货合同
|
|
|
qty: number;//数量
|
|
|
@@ -144,6 +142,9 @@ export interface Ermcp3AreaSpotDetail {
|
|
|
relatedid: string;//套保计划ID/现货合同ID
|
|
|
relatedno: string;//编号
|
|
|
strtime: string;//时间
|
|
|
+ wrstandardcode: string;//现货商品代码
|
|
|
+ wrstandardid: number;//现货商品ID(SEQ_WRSTANDARD)
|
|
|
+ wrstandardname: string;//现货商品名称
|
|
|
}
|
|
|
|
|
|
/**
|