Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOpenSignal ¶
type GetOpenSignal func(ctx context.Context, series *timeseries.TimeSeries) (trengin.PositionType, error)
type Option ¶
type Option func(*Strategy)
func WithAppName ¶
func WithFlatMaxDiff ¶
func WithLogger ¶
func WithSmoothInterval ¶
func WithStopLoss ¶
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func NewStrategy ¶
Click to show internal directories.
Click to hide internal directories.