Class TradeStatFields
- Namespace
- Balsam
- Assembly
- Balsam.Backtester.dll
Provides string constants mapping to TradeStats, EquityCurveStats, and PerformanceStats properties.
public static class TradeStatFields
- Inheritance
-
TradeStatFields
- Inherited Members
Fields
AnnualTurnover
Annual turnover.
public static readonly string AnnualTurnover
Field Value
ArithmeticSharpeRatio
Arithmetic Sharpe Ratio
public static readonly string ArithmeticSharpeRatio
Field Value
AvgAccountValue
Avg account value.
public static readonly string AvgAccountValue
Field Value
AvgBarsInLosers
Average bars in losers.
public static readonly string AvgBarsInLosers
Field Value
AvgBarsInUnchanged
Average bars in unchanged.
public static readonly string AvgBarsInUnchanged
Field Value
AvgBarsInWinners
Average bars in winners.
public static readonly string AvgBarsInWinners
Field Value
AvgBarsPerTrade
Average bars per trade.
public static readonly string AvgBarsPerTrade
Field Value
AvgDrawdown
Avg drawdown.
public static readonly string AvgDrawdown
Field Value
AvgExposure
Average exposure.
public static readonly string AvgExposure
Field Value
AvgGrossExposure
Average gross exposure.
public static readonly string AvgGrossExposure
Field Value
AvgLosingTrade
Average losing trade.
public static readonly string AvgLosingTrade
Field Value
AvgLosingTradePercent
Average losing trade %.
public static readonly string AvgLosingTradePercent
Field Value
AvgMarginToEquity
Average margin to equity.
public static readonly string AvgMarginToEquity
Field Value
AvgMaxRetracement
Avg maximum retracement.
public static readonly string AvgMaxRetracement
Field Value
AvgNetExposure
Average net exposure.
public static readonly string AvgNetExposure
Field Value
AvgOfTop5Drawdowns
Avg of top five drawdowns.
public static readonly string AvgOfTop5Drawdowns
Field Value
AvgReturn
Avg return.
public static readonly string AvgReturn
Field Value
AvgRiskToEquity
Average risk to equity.
public static readonly string AvgRiskToEquity
Field Value
AvgTrade
Average trade.
public static readonly string AvgTrade
Field Value
AvgTradePerContract
Average trade per contract.
public static readonly string AvgTradePerContract
Field Value
AvgTradePercent
Average trade %.
public static readonly string AvgTradePercent
Field Value
AvgWinToAvgLoss
Average win to average loss.
public static readonly string AvgWinToAvgLoss
Field Value
AvgWinToAvgLossPercent
Average percent win to average percent loss.
public static readonly string AvgWinToAvgLossPercent
Field Value
AvgWinningTrade
Average winning trade.
public static readonly string AvgWinningTrade
Field Value
AvgWinningTradePercent
Average winning trade %.
public static readonly string AvgWinningTradePercent
Field Value
AvgYearlyDrawdown
Avg yearly drawdown.
public static readonly string AvgYearlyDrawdown
Field Value
BuyAndHoldCAGR
Buy & hold compound rate of return.
public static readonly string BuyAndHoldCAGR
Field Value
CAGR
Compound annual growth rate.
public static readonly string CAGR
Field Value
CapitalRequirement
Capital requirement.
public static readonly string CapitalRequirement
Field Value
CapitalRequirementDate
Date of capital requirement.
public static readonly string CapitalRequirementDate
Field Value
CashAdjustments
Cash adjustments.
public static readonly string CashAdjustments
Field Value
ClosedPnL
Closed P&L.
public static readonly string ClosedPnL
Field Value
Commissions
Commissions.
public static readonly string Commissions
Field Value
ConditionalSharpe
Conditional Sharpe (conditional VaR in denominator).
public static readonly string ConditionalSharpe
Field Value
ConditionalVaR
Conditional VaR (expected tail loss).
public static readonly string ConditionalVaR
Field Value
ConfidenceLevel
Confidence level.
public static readonly string ConfidenceLevel
Field Value
CreditInterest
Credit interest.
public static readonly string CreditInterest
Field Value
DebitInterest
Debit interest.
public static readonly string DebitInterest
Field Value
Dividends
Dividends.
public static readonly string Dividends
Field Value
DownsideDeviation
Downside deviation.
public static readonly string DownsideDeviation
Field Value
EndDate
End date.
public static readonly string EndDate
Field Value
EndingAccountValue
Ending account value.
public static readonly string EndingAccountValue
Field Value
Expectation
Expectation
public static readonly string Expectation
Field Value
ExpectationPercent
Expectation calculated using Avg Percent Win to Avg Percent Loss.
public static readonly string ExpectationPercent
Field Value
ForeignCurrencyTranslationAdjustment
Foreign currency translation adjustment.
public static readonly string ForeignCurrencyTranslationAdjustment
Field Value
GainToPainRatio
Gain to pain ratio.
public static readonly string GainToPainRatio
Field Value
GeometricAvgTrade
Geometric average trade.
public static readonly string GeometricAvgTrade
Field Value
GrossPnL
Gross P&L (adds back in commissions and slippage).
public static readonly string GrossPnL
Field Value
HistoricalVaR
Historical VaR.
public static readonly string HistoricalVaR
Field Value
KRatio
K-Ratio.
public static readonly string KRatio
Field Value
Kelly
Kelly criterion.
public static readonly string Kelly
Field Value
LargestLosingTrade
Largest losing trade.
public static readonly string LargestLosingTrade
Field Value
LargestLosingTradePercent
Largest losing trade %.
public static readonly string LargestLosingTradePercent
Field Value
LargestWinningTrade
Largest winning trade.
public static readonly string LargestWinningTrade
Field Value
LargestWinningTradePercent
Largest winning trade %.
public static readonly string LargestWinningTradePercent
Field Value
LongLosses
The number of losing trades on the long side.
public static readonly string LongLosses
Field Value
LongLossesPnL
Total P&L from long losing trades.
public static readonly string LongLossesPnL
Field Value
LongPercentProfitable
Long percent profitable trades.
public static readonly string LongPercentProfitable
Field Value
LongPnL
Long P&L.
public static readonly string LongPnL
Field Value
LongTrades
The number of long trades.
public static readonly string LongTrades
Field Value
LongWins
The number of winning trades on the long side.
public static readonly string LongWins
Field Value
LongWinsPnL
The P&L from winning trades on the long side.
public static readonly string LongWinsPnL
Field Value
LongestDrawdownEndDate
Longest drawdown end date.
public static readonly string LongestDrawdownEndDate
Field Value
LongestDrawdownPeriods
Longest drawdown periods.
public static readonly string LongestDrawdownPeriods
Field Value
LongestDrawdownStartDate
Longest drawdown start date.
public static readonly string LongestDrawdownStartDate
Field Value
LongestFlatEndDate
Longest flat date.
public static readonly string LongestFlatEndDate
Field Value
LongestFlatPeriods
Longest flat periods.
public static readonly string LongestFlatPeriods
Field Value
LongestFlatStartDate
Longest flat start date.
public static readonly string LongestFlatStartDate
Field Value
LosingPnL
The P&L from losing trades.
public static readonly string LosingPnL
Field Value
LosingTrades
The number of losing trades.
public static readonly string LosingTrades
Field Value
MARRatio
MAR Ratio.
public static readonly string MARRatio
Field Value
MarginCalls
The number of margin calls.
public static readonly string MarginCalls
Field Value
MaxAccountValue
Max account value.
public static readonly string MaxAccountValue
Field Value
MaxConsecutiveLosses
The maximum number of consecutive losing trades.
public static readonly string MaxConsecutiveLosses
Field Value
MaxConsecutiveLossesPnL
The P&L from the largest run of consecutive losing trades.
public static readonly string MaxConsecutiveLossesPnL
Field Value
MaxConsecutiveWins
The maximum number of consecutive winning trades.
public static readonly string MaxConsecutiveWins
Field Value
MaxConsecutiveWinsPnL
The P&L from the largest run of consecutive winning trades.
public static readonly string MaxConsecutiveWinsPnL
Field Value
MaxContractsHeld
The maximum number of contracts held.
public static readonly string MaxContractsHeld
Field Value
MaxContractsHeldDate
The date of the maximum number of contracts held.
public static readonly string MaxContractsHeldDate
Field Value
MaxDrawdown
Max drawdown.
public static readonly string MaxDrawdown
Field Value
MaxDrawdownPercent
Max drawdown percent.
public static readonly string MaxDrawdownPercent
Field Value
MaxDrawdownPercentDate
Max dradown percent date.
public static readonly string MaxDrawdownPercentDate
Field Value
MaxExposure
Maximum exposure.
public static readonly string MaxExposure
Field Value
MaxExposureDate
The date of the maximum exposure.
public static readonly string MaxExposureDate
Field Value
MaxMarginCall
Maximum margin call.
public static readonly string MaxMarginCall
Field Value
MaxMarginCallDate
Date of maximum margin call.
public static readonly string MaxMarginCallDate
Field Value
MaxOpenPositions
The maximum number of open positions.
public static readonly string MaxOpenPositions
Field Value
MaxOpenPositionsDate
The date of the maximum number of open positions.
public static readonly string MaxOpenPositionsDate
Field Value
MedianTradePercent
Median trade %.
public static readonly string MedianTradePercent
Field Value
MinAccountValue
Min account value.
public static readonly string MinAccountValue
Field Value
MinExposure
Minimum exposure.
public static readonly string MinExposure
Field Value
MinExposureDate
The date of the minimum exposure.
public static readonly string MinExposureDate
Field Value
MoneyManagerCommissions
Comissions paid by the money manager.
public static readonly string MoneyManagerCommissions
Field Value
MoneyManagerContractsTraded
The number of contracts/shares traded by the money manager.
public static readonly string MoneyManagerContractsTraded
Field Value
MoneyManagerName
The name of the money manager.
public static readonly string MoneyManagerName
Field Value
MoneyManagerRolls
The number of rolls for positions opened by the money manager.
public static readonly string MoneyManagerRolls
Field Value
MoneyManagerSlippage
The amount of slippage incurred by money manager trades.
public static readonly string MoneyManagerSlippage
Field Value
MoneyManagerTrades
The number of trades generated by the money manager.
public static readonly string MoneyManagerTrades
Field Value
MonthlySharpe
Monthly Sharpe.
public static readonly string MonthlySharpe
Field Value
MultiplierTrades
The number of multiplier trades.
public static readonly string MultiplierTrades
Field Value
NetInterest
Net interest.
public static readonly string NetInterest
Field Value
NetPnL
P&L net of transaction costs.
public static readonly string NetPnL
Field Value
NewHighs
New highs.
public static readonly string NewHighs
Field Value
NewHighsPercent
New highs %.
public static readonly string NewHighsPercent
Field Value
OmegaRatio
Omega Ratio.
public static readonly string OmegaRatio
Field Value
OpenPnL
Open P&L.
public static readonly string OpenPnL
Field Value
OpenTrades
The number of open trades.
public static readonly string OpenTrades
Field Value
Optimalf
Optimal f.
public static readonly string Optimalf
Field Value
OptimizationProperties
Optimization properties as set by the optimizer.
public static readonly string OptimizationProperties
Field Value
PeakRatio
Peak Ratio.
public static readonly string PeakRatio
Field Value
PercentInMarket
The percent of time in the market.
public static readonly string PercentInMarket
Field Value
PercentProfitable
Percent profitable trades.
public static readonly string PercentProfitable
Field Value
Periodicity
Periodicity.
public static readonly string Periodicity
Field Value
PeriodsInDrawdown
Periods in drawdown.
public static readonly string PeriodsInDrawdown
Field Value
PeriodsInDrawdownPercent
Periods in drawdown percent.
public static readonly string PeriodsInDrawdownPercent
Field Value
PeriodsLosing
Periods losing.
public static readonly string PeriodsLosing
Field Value
PeriodsLosingPercent
Periods losing %.
public static readonly string PeriodsLosingPercent
Field Value
PeriodsPerYear
Periods per year.
public static readonly string PeriodsPerYear
Field Value
PeriodsWinning
Periods winning.
public static readonly string PeriodsWinning
Field Value
PeriodsWinningPercent
Periods winning %.
public static readonly string PeriodsWinningPercent
Field Value
ProfitFactor
Profit factor (winning P&L / losing P&L).
public static readonly string ProfitFactor
Field Value
ROI
Return on investment.
public static readonly string ROI
Field Value
RSquared
R-squared.
public static readonly string RSquared
Field Value
ReturnRetracementRatio
Return retracement ratio.
public static readonly string ReturnRetracementRatio
Field Value
RiskFreeRate
Risk free rate.
public static readonly string RiskFreeRate
Field Value
RollCommissions
Roll commissions.
public static readonly string RollCommissions
Field Value
RollContractsTraded
Roll contracts traded.
public static readonly string RollContractsTraded
Field Value
RollSlippage
Roll slippage.
public static readonly string RollSlippage
Field Value
Rolls
Number of rolls.
public static readonly string Rolls
Field Value
RoundTurnsPerMillion
The number of round turns per million.
public static readonly string RoundTurnsPerMillion
Field Value
Runtime
Timestamp of when the simulation was run.
public static readonly string Runtime
Field Value
SharpeRatio
Sharpe Ratio.
public static readonly string SharpeRatio
Field Value
ShortLosses
The number of losing trades on the short side.
public static readonly string ShortLosses
Field Value
ShortLossesPnL
The P&L from losing trades on the short side.
public static readonly string ShortLossesPnL
Field Value
ShortPercentProfitable
Short percent profitable trades.
public static readonly string ShortPercentProfitable
Field Value
ShortPnL
The P&L from short trades.
public static readonly string ShortPnL
Field Value
ShortRebate
Short rebate.
public static readonly string ShortRebate
Field Value
ShortTrades
The number of trades on the short side.
public static readonly string ShortTrades
Field Value
ShortWins
The number of winning trades on the short side.
public static readonly string ShortWins
Field Value
ShortWinsPnL
The number of winning trades on the short side.
public static readonly string ShortWinsPnL
Field Value
Skew
Skew.
public static readonly string Skew
Field Value
Slippage
Slippage.
public static readonly string Slippage
Field Value
SortinoRatio
Sortino Ratio.
public static readonly string SortinoRatio
Field Value
StandardDeviation
Standard deviation.
public static readonly string StandardDeviation
Field Value
StartDate
Start date.
public static readonly string StartDate
Field Value
StartupCash
Startup cash.
public static readonly string StartupCash
Field Value
StdDevTradePercent
The standard deviation of trade percentage wins/losses.
public static readonly string StdDevTradePercent
Field Value
StopsHit
The number of trades exited on a stop.
public static readonly string StopsHit
Field Value
StopsHitPct
The number of trade exited on a stop as a percent of total trades.
public static readonly string StopsHitPct
Field Value
StrategyNames
The name of the strategy or strategies.
public static readonly string StrategyNames
Field Value
Symbols
The symbol or symbols tested.
public static readonly string Symbols
Field Value
TStat
The t-stat of percent wins/losses.
public static readonly string TStat
Field Value
TWR
Terminal wealth relative or geometric linking of all trade's percentage returns.
public static readonly string TWR
Field Value
Tag
An arbitrary object assigned to the TradeStat results.
public static readonly string Tag
Field Value
TargetReturn
Target return.
public static readonly string TargetReturn
Field Value
TargetsHit
The number of trades exited on a limit.
public static readonly string TargetsHit
Field Value
TargetsHitPct
The number of trades exited on a limit as a percent of total trades.
public static readonly string TargetsHitPct
Field Value
TotalContractsTraded
The total number of contracts/shares traded.
public static readonly string TotalContractsTraded
Field Value
TotalPeriods
Total periods.
public static readonly string TotalPeriods
Field Value
Trades
The number of trades.
public static readonly string Trades
Field Value
TradesCanceled
The number of trades canceled.
public static readonly string TradesCanceled
Field Value
TradesRejected
The number of trades rejected.
public static readonly string TradesRejected
Field Value
TradingSharpe
The arithmetic Sharpe Ratio calculated over periods for which there was trading activity or open positions.
public static readonly string TradingSharpe
Field Value
Turnover
The turnover in currency terms.
public static readonly string Turnover
Field Value
UlcerIndex
Ulcer Index.
public static readonly string UlcerIndex
Field Value
UlcerPerformanceIndex
Ulcer Performance Index.
public static readonly string UlcerPerformanceIndex
Field Value
UnchangedTrades
The number of unchanged trades.
public static readonly string UnchangedTrades
Field Value
VaR
Value-at-risk.
public static readonly string VaR
Field Value
Volatility
Volatility
public static readonly string Volatility
Field Value
WinningPnL
The P&L of winning trades.
public static readonly string WinningPnL
Field Value
WinningTrades
The number of winning trades.
public static readonly string WinningTrades
Field Value
Properties
KeyEquityCurveFields
Gets an array of key equity curve statistics.
public static string[] KeyEquityCurveFields { get; }
Property Value
- string[]
KeyStrategyFields
Gets an array of key strategy statistics.
public static string[] KeyStrategyFields { get; }
Property Value
- string[]