Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "xnav"
Variables ¶
This section is empty.
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 { Notifiability *bbgo.Notifiability *bbgo.Graceful *bbgo.Persistence Interval types.Duration `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.