mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
types: extend PeriodProfitStats fields
This commit is contained in:
parent
df2daf33a7
commit
e67fa19323
|
@ -155,6 +155,11 @@ type PeriodProfitStats struct {
|
|||
GrossProfit fixedpoint.Value `json:"grossProfit,omitempty"`
|
||||
GrossLoss fixedpoint.Value `json:"grossLoss,omitempty"`
|
||||
Volume fixedpoint.Value `json:"volume,omitempty"`
|
||||
VolumeInQuote fixedpoint.Value `json:"volumeInQuote,omitempty"`
|
||||
MakerVolume fixedpoint.Value `json:"makerVolume,omitempty"`
|
||||
TakerVolume fixedpoint.Value `json:"takerVolume,omitempty"`
|
||||
|
||||
// time fields
|
||||
LastTradeTime time.Time `json:"lastTradeTime,omitempty"`
|
||||
StartTime time.Time `json:"startTime,omitempty"`
|
||||
EndTime time.Time `json:"endTime,omitempty"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user