strategies

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrossEMA

type CrossEMA struct{}

func (CrossEMA) Indicators

func (e CrossEMA) Indicators(df *ninjabot.Dataframe)

func (*CrossEMA) OnCandle

func (e *CrossEMA) OnCandle(df *ninjabot.Dataframe, broker service.Broker)

func (CrossEMA) Timeframe

func (e CrossEMA) Timeframe() string

func (CrossEMA) WarmupPeriod

func (e CrossEMA) WarmupPeriod() int

type OCOSell

type OCOSell struct{}

func (OCOSell) Indicators

func (e OCOSell) Indicators(df *model.Dataframe)

func (*OCOSell) OnCandle

func (e *OCOSell) OnCandle(df *model.Dataframe, broker service.Broker)

func (OCOSell) Timeframe

func (e OCOSell) Timeframe() string

func (OCOSell) WarmupPeriod

func (e OCOSell) WarmupPeriod() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL