do not omit empty for field feeInUSD

This commit is contained in:
c9s 2021-12-06 13:36:38 +08:00
parent 5d6bd5a964
commit af837ea237

View File

@ -26,7 +26,7 @@ type AverageCostPnlReport struct {
AverageCost float64 `json:"averageCost"`
BuyVolume float64 `json:"buyVolume,omitempty"`
SellVolume float64 `json:"sellVolume,omitempty"`
FeeInUSD float64 `json:"feeInUSD,omitempty"`
FeeInUSD float64 `json:"feeInUSD"`
Stock float64 `json:"stock"`
CurrencyFees map[string]float64 `json:"currencyFees"`
}