bbgo_origin/pkg/strategy/grid2/profit.go
2022-12-06 10:05:43 +08:00

16 lines
305 B
Go

package grid2
import (
"time"
"github.com/c9s/bbgo/pkg/fixedpoint"
"github.com/c9s/bbgo/pkg/types"
)
type GridProfit struct {
Currency string `json:"currency"`
Profit fixedpoint.Value `json:"profit"`
Time time.Time `json:"time"`
Order types.Order `json:"order"`
}