Documentation ¶
Index ¶
- type Strategy
- func (st *Strategy) BuyConditions(name string) bool
- func (st *Strategy) GetProperty() map[string]interface{}
- func (st *Strategy) Info() proto.Information
- func (st *Strategy) Init()
- func (st *Strategy) KillProcess()
- func (st *Strategy) RankFilter(name string) bool
- func (st *Strategy) SellConditions(name string) bool
- func (st *Strategy) SetProperty(property map[string]interface{})
- type StrategyManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func LoadStrategy ¶
func LoadStrategys ¶
func (*Strategy) BuyConditions ¶
func (*Strategy) GetProperty ¶
func (*Strategy) Info ¶
func (st *Strategy) Info() proto.Information
func (*Strategy) KillProcess ¶
func (st *Strategy) KillProcess()
func (*Strategy) RankFilter ¶
func (*Strategy) SellConditions ¶
func (*Strategy) SetProperty ¶
type StrategyManager ¶
func (*StrategyManager) GetList ¶
func (sm *StrategyManager) GetList()
func (*StrategyManager) LoadFromFile ¶
func (sm *StrategyManager) LoadFromFile(path string)
func (*StrategyManager) LoadFromGithub ¶
func (sm *StrategyManager) LoadFromGithub(url string)
func (*StrategyManager) LoadFromSource ¶
func (sm *StrategyManager) LoadFromSource(path string)
Click to show internal directories.
Click to hide internal directories.