Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuyAndHold ¶
BuyAndHold is a basic strategy, which creates a buy signal on every year change
func MovingAverageCross ¶
MovingAverageCross is a test strategy, which interprets the SMA on a series of data events specified by ShortWindow (SW) and LongWindow (LW). If SW bigger tha LW and there is not already an invested BOT position, the strategy creates a buy signal. If SW falls below LW and there is an invested BOT position, the strategy creates an exit signal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.