Table of Contents

Class BasisPointTransactionCosts

Namespace
Balsam.TransactionCosts
Assembly
Balsam.Backtester.dll

Calculates slippage as a percent of fill price.

public class BasisPointTransactionCosts : TransactionCostModel, ICloneable
Inheritance
BasisPointTransactionCosts
Implements
Inherited Members
Extension Methods

Constructors

BasisPointTransactionCosts()

Initializes a new BasisPointTransactionCosts object.

public BasisPointTransactionCosts()

BasisPointTransactionCosts(double)

Initializes a new BasisPointsTransactionCost object using the specified amount.

public BasisPointTransactionCosts(double basisPoints)

Parameters

basisPoints double

Properties

BasisPoints

Gets/sets the number of basis points.

public double BasisPoints { get; set; }

Property Value

double

Commission

Gets/sets the commission per share/contract in local currency terms.

public double Commission { get; set; }

Property Value

double

Methods

OnCalculate(ITrade)

Sets slippage as a percent of trade price (unadjusted trade price for futures).

protected override void OnCalculate(ITrade trade)

Parameters

trade ITrade