Versions in this module Expand all Collapse all v0 v0.0.1 May 4, 2024 Changes in this version + const ID + type Address struct + Address string + AddressTag string + ForeignFee fixedpoint.Value + Network string + func (a *Address) UnmarshalJSON(body []byte) error + type State struct + Asset string + DailyAmountOfTransfers fixedpoint.Value + DailyNumberOfTransfers int + Since int64 + func (s *State) IsOver24Hours() bool + func (s *State) PlainText() string + func (s *State) Reset() + func (s *State) SlackAttachment() slack.Attachment + type Strategy struct + Addresses map[string]Address + Asset string + CheckOnStart bool + Interval types.Duration + Low fixedpoint.Value + MaxDailyAmountOfTransfer fixedpoint.Value + MaxDailyNumberOfTransfer int + Middle fixedpoint.Value + State *State + Verbose bool + func (s *Strategy) CrossRun(ctx context.Context, _ bbgo.OrderExecutionRouter, ...) error + func (s *Strategy) CrossSubscribe(sessions map[string]*bbgo.ExchangeSession) + func (s *Strategy) ID() string + type WithdrawalRequest struct + Amount fixedpoint.Value + Asset string + FromSession string + ToSession string + func (r *WithdrawalRequest) PlainText() string + func (r *WithdrawalRequest) SlackAttachment() slack.Attachment + func (r *WithdrawalRequest) String() string