mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy: fix the JSON tag of 'CurrentHighestPrice'
This commit is contained in:
parent
769da1e77c
commit
571c3834c5
|
@ -29,7 +29,7 @@ func init() {
|
|||
|
||||
type State struct {
|
||||
Position *types.Position `json:"position,omitempty"`
|
||||
CurrentHighestPrice *fixedpoint.Value `json:"position,omitempty"`
|
||||
CurrentHighestPrice *fixedpoint.Value `json:"currentHighestPrice,omitempty"`
|
||||
}
|
||||
|
||||
type Target struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user