strategy: fix the JSON tag of 'CurrentHighestPrice'

This commit is contained in:
Andy Cheng 2022-01-28 13:14:58 +08:00
parent 769da1e77c
commit 571c3834c5
No known key found for this signature in database
GPG Key ID: 936427CF651A9D28

View File

@ -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 {