Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "xnav"
Variables ¶
View Source
var Ten = fixedpoint.NewFromInt(10)
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
Since int64 `json:"since"`
}
func (*State) IsOver24Hours ¶
func (*State) SlackAttachment ¶
func (s *State) SlackAttachment() slack.Attachment
type Strategy ¶
type Strategy struct { *bbgo.Persistence *bbgo.Environment Interval types.Interval `json:"interval"` ReportOnStart bool `json:"reportOnStart"` IgnoreDusts bool `json:"ignoreDusts"` // contains filtered or unexported fields }
func (*Strategy) CrossRun ¶
func (s *Strategy) CrossRun(ctx context.Context, _ bbgo.OrderExecutionRouter, sessions map[string]*bbgo.ExchangeSession) error
func (*Strategy) CrossSubscribe ¶
func (s *Strategy) CrossSubscribe(sessions map[string]*bbgo.ExchangeSession)
Click to show internal directories.
Click to hide internal directories.