|
|
@@ -1955,6 +1955,7 @@ type Ermcp3TaFutuReDataReport struct {
|
|
|
OPENAVGPRICE float64 `json:"openavgprice"` // 开仓均价
|
|
|
CLOSEAVGPRICE float64 `json:"closeavgprice"` // 平仓均价
|
|
|
ENUMDICNAME string `json:"enumdicname"` // 单位名称
|
|
|
+ CURRENCYNAME string `json:"currencyname"` // 币种名称
|
|
|
QueryType int32 `json:"-"` // 查询类型 1-报表 2-报表明细
|
|
|
BeginDate string `json:"begindate"` // 开始交易日
|
|
|
EndDate string `json:"enddate"` // 结束交易日
|
|
|
@@ -1969,7 +1970,9 @@ func (r *Ermcp3TaFutuReDataReport) calc() {
|
|
|
r.CLOSEAVGPRICE = r.TODAYCLOSEAMOUNT / r.TODAYCLOSEQTY
|
|
|
}
|
|
|
r.ENUMDICNAME = mtpcache.GetEnumDicitemName(r.GOODUNITID)
|
|
|
+ r.CURRENCYNAME = mtpcache.GetCurrencyName(r.CURRENCYID)
|
|
|
}
|
|
|
+
|
|
|
func (r *Ermcp3TaFutuReDataReport) userType() int32 {
|
|
|
var userType int32 = 2
|
|
|
areaUserId := mtpcache.GetAreaUserId(r.USERID, 0)
|