Class AccountingRecord
- Namespace
- Balsam.MoneyManagement
- Assembly
- Balsam.Backtester.dll
A class that encapsulates daily accounting values.
public class AccountingRecord
- Inheritance
-
AccountingRecord
- Inherited Members
- Extension Methods
Constructors
AccountingRecord(DateTime)
Initialize a new AccountInfo record for the specified trade date.
public AccountingRecord(DateTime date)
Parameters
date
DateTime
Properties
Cash
Gets cash in base currency.
public double Cash { get; }
Property Value
CashAdjustment
Gets the cash adjustment in base currency.
public double CashAdjustment { get; }
Property Value
Commissions
Gets the amount of commissions paid in base currency.
public double Commissions { get; }
Property Value
ContractsHeld
Gets the number of shares/contracts held.
public double ContractsHeld { get; }
Property Value
CreditInterest
Gets interest earned on credit balances.
public double CreditInterest { get; }
Property Value
Date
Gets the date.
public DateTime Date { get; }
Property Value
DebitInterest
Gets interest paid on debit balances in base currency.
public double DebitInterest { get; }
Property Value
Dividends
Gets net dividends in base currency.
public double Dividends { get; }
Property Value
Drawdown
Gets the current drawdown from the highest equity high.
public double Drawdown { get; }
Property Value
Equity
Gets the net equity value (Cash + LongValue).
public double Equity { get; }
Property Value
HasTrading
Returns true if there was trading activity on this day.
public bool HasTrading { get; }
Property Value
LongNotional
Gets the notional value of all long positions.
public double LongNotional { get; }
Property Value
LongPositions
Gets the number of open long positions.
public int LongPositions { get; }
Property Value
LongValue
Gets the value of long equity positions in base currency. This is a component of total account equity.
public double LongValue { get; }
Property Value
Margin
Gets the aggregate margin requirement in base currency.
public double Margin { get; }
Property Value
NetInterest
Gets net interest (debit + credit + short rebates).
public double NetInterest { get; }
Property Value
OpenPositionDetail
Gets open position detail.
public string OpenPositionDetail { get; }
Property Value
OpenPositionsCount
Gets the number of open positions.
public int OpenPositionsCount { get; }
Property Value
PnL
Gets the day's P&L
public double PnL { get; }
Property Value
Return
Gets the day's percentage return on equity.
public double Return { get; }
Property Value
Risk
Gets the aggregate risk in base currency if stops are defined.
public double Risk { get; }
Property Value
RoundTurnsPerMillion
Gets the number of contracts (including rolls) entered today per million in equity
public double RoundTurnsPerMillion { get; }
Property Value
ShortNotional
Gets the notional value of all short positions.
public double ShortNotional { get; }
Property Value
ShortPositions
Gets the number of open short positions.
public int ShortPositions { get; }
Property Value
ShortRebates
Gets short rebates in base currency.
public double ShortRebates { get; }
Property Value
SpreadPositions
Gets the number of open spread positions.
public int SpreadPositions { get; }
Property Value
UserRisk
Gets a user-defined risk value.
public double UserRisk { get; }
Property Value
WinLoss
Gets the P&L of any trades closed that day.
public double WinLoss { get; }