Class PositionPricing
- Namespace
- Balsam
- Assembly
- Balsam.Backtester.dll
A class used to maintain pricing information for a position.
public class PositionPricing
- Inheritance
-
PositionPricing
- Inherited Members
- Extension Methods
Properties
HighestClose
The highest close price over the life of the position.
public double HighestClose { get; }
Property Value
HighestHigh
The highest high price over the life of the position.
public double HighestHigh { get; }
Property Value
IsHoliday
Return trues if the current date of the money manager is a holiday. Note that the last pricing date will reflect the last trading day on which the instrument was trading even though the current date of the money manager may be greater. There is no concept of holidays in the strategy module which always operates on the primary series.
public bool IsHoliday { get; }
Property Value
Last
The most recent price, typically the close. Also the price on which daily P&L calculations are made.
public double Last { get; }
Property Value
LastUpdate
The most recent date that pricing was updated.
public DateTime LastUpdate { get; }
Property Value
LowestClose
The lowest close price over the life of the position.
public double LowestClose { get; }
Property Value
LowestLow
The lowest low price over the life of the position.
public double LowestLow { get; }
Property Value
PriceAdjustment
The adjustment factor used to convert a backadjusted price into an actual price.
public double PriceAdjustment { get; }
Property Value
UnadjustedPrice
The price that actually existed without the effects of backadjusting or stock splits.
public double UnadjustedPrice { get; }
Property Value
Methods
ToString()
Returns a string representation of this object.
public override string ToString()