Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCustomSettingsUnsupported = errors.New("custom settings not supported") ErrSimultaneousProcessingNotSupported = errors.New("does not support simultaneous processing and could not be loaded") ErrStrategyNotFound = errors.New("not found. Please ensure the strategy-settings field 'name' is spelled properly in your .start config") ErrInvalidCustomSettings = errors.New("invalid custom settings in config") ErrTooMuchBadData = errors.New("backtesting cannot continue as there is too much invalid data. Please review your dataset") )
Error vars related to strategies and invalid config settings
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
Strategy is base implementation of the Handler interface
func (*Strategy) GetBaseData ¶
GetBaseData returns the non-interface version of the Handler
func (*Strategy) SetSimultaneousProcessing ¶
SetSimultaneousProcessing sets whether multiple currencies can be assessed in one go
func (*Strategy) UseSimultaneousProcessing ¶
UseSimultaneousProcessing returns whether multiple currencies can be assessed in one go
Click to show internal directories.
Click to hide internal directories.