Table of Contents

Class BuyAndHold

Namespace
Balsam.Benchmarks
Assembly
Balsam.Backtester.dll

Establishes a long position on the close of the first bar and exits on the close of the last bar.

public class BuyAndHold : Strategy, IStrategy
Inheritance
BuyAndHold
Implements
Inherited Members
Extension Methods

Methods

OnBarClose()

Trading logic

protected override void OnBarClose()

OnStrategyStart()

Strategy setup

protected override void OnStrategyStart()