mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
add strategy id and instance id to position
This commit is contained in:
parent
ac675d0099
commit
cc4ef327d6
|
@ -52,6 +52,9 @@ type Position struct {
|
|||
|
||||
ChangedAt time.Time `json:"changedAt,omitempty"`
|
||||
|
||||
Strategy string `json:"strategy,omitempty" db:"strategy"`
|
||||
StrategyInstanceID string `json:"strategyInstanceID,omitempty" db:"strategy_instance_id"`
|
||||
|
||||
sync.Mutex
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user