Skip to content

Commit

Permalink
do not omit empty for field feeInUSD
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 6, 2021
1 parent 5d6bd5a commit af837ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/accounting/pnl/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit af837ea

Please sign in to comment.