|
|
@@ -3795,10 +3795,16 @@ func (r *WrSpotGroupTradeSum) calc() {
|
|
|
|
|
|
if r.LASTAVGPRICE < 1e-8 {
|
|
|
r.LASTAVGPRICE2 = "-"
|
|
|
+ } else {
|
|
|
+ r.LASTAVGPRICE2 = r.LASTAVGPRICE.string()
|
|
|
}
|
|
|
+
|
|
|
if r.TODAYAVGPRICE < 1e-8 {
|
|
|
r.TODAYAVGPRICE2 = "-"
|
|
|
+ } else {
|
|
|
+ r.TODAYAVGPRICE2 = r.TODAYAVGPRICE.string()
|
|
|
}
|
|
|
+
|
|
|
if r.TODAYAVGPRICE > 1e-8 && r.LASTAVGPRICE > 1e-8 {
|
|
|
r.LASTAVGPRICE2 = r.LASTAVGPRICE.string()
|
|
|
r.TODAYAVGPRICE2 = r.TODAYAVGPRICE.string()
|