|
|
@@ -811,7 +811,7 @@ type InternalUncorrelatedTradeDetail struct {
|
|
|
|
|
|
TRADETIME string `json:"tradetime" xorm:"TRADETIME"` // 成交时间
|
|
|
ACCOUNTNAME string `json:"accountname" xorm:"ACCOUNTNAME" form:"accountname"` // 套期主体
|
|
|
- ENABLEQTY float64 `json:"enableqty" xorm:"ENABLEQTY"` // 项目可关联手数 = 成交手数 - 关联数量
|
|
|
+ ENABLEQTY float64 `json:"enableqty" xorm:"ENABLEQTY"` // 项目可关联数量 = 套保品种数量 - 关联数量
|
|
|
EnumdicName string `json:"enumdicname" xorm:"ENUMDICNAME"` // 单位
|
|
|
|
|
|
USERID int64 `json:"-" form:"userid" binding:"required"` // 用户编号
|
|
|
@@ -1505,7 +1505,7 @@ func (r *Ermcp8RunningHedgeditem) ParseFromProto(p *pb.Ermcp2HedgedItemInfo) {
|
|
|
r.Orifuturepl = p.Hedgeditemext.Item.GetOriFuturePL()
|
|
|
r.Spotfloatpl = p.Hedgeditemext.Item.GetSpotFloatPL()
|
|
|
r.Futurefloatpl = p.Hedgeditemext.Item.GetFutureFloatPL()
|
|
|
-
|
|
|
+ r.Futurepl = p.Hedgeditemext.Item.GetFuturePL()
|
|
|
r.SpotHedgePLChange = r.Spothedgepl - r.Orispothedgepl
|
|
|
r.SpotPLChange = r.Spotpl - r.Orispotpl
|
|
|
r.FutureHedgePLChange = r.Futurehedgepl - r.Orifuturehedgepl
|