Backtestable Properties

Every property available for backtesting, organized by data source with units of measurement.


Price Data

Works for stocks, crypto, forex, commodities, indexes (AAPL, BTCUSD, EURUSD, GCUSD, ^GSPC).

PropertyUnit
dateYYYY-MM-DD
open$
high$
low$
close$
adjClose$
volumeshares
change$
changePercent%
vwap$

Income Statement

income-statement/{symbol} — period: annual | quarter

PropertyUnit
revenue$
costOfRevenue$
grossProfit$
grossProfitRatioratio (0-1)
researchAndDevelopmentExpenses$
generalAndAdministrativeExpenses$
sellingAndMarketingExpenses$
sellingGeneralAndAdministrativeExpenses$
otherExpenses$
operatingExpenses$
costAndExpenses$
interestIncome$
interestExpense$
depreciationAndAmortization$
ebitda$
ebitdaRatioratio (0-1)
operatingIncome$
operatingIncomeRatioratio (0-1)
totalOtherIncomeExpensesNet$
incomeBeforeTax$
incomeBeforeTaxRatioratio (0-1)
incomeTaxExpense$
netIncome$
netIncomeRatioratio (0-1)
eps$/share
epsDiluted$/share
weightedAverageShsOutshares
weightedAverageShsOutDilshares

Balance Sheet

balance-sheet/{symbol} — period: annual | quarter

PropertyUnit
cashAndCashEquivalents$
shortTermInvestments$
cashAndShortTermInvestments$
netReceivables$
inventory$
otherCurrentAssets$
totalCurrentAssets$
propertyPlantEquipmentNet$
goodwill$
intangibleAssets$
goodwillAndIntangibleAssets$
longTermInvestments$
taxAssets$
otherNonCurrentAssets$
totalNonCurrentAssets$
otherAssets$
totalAssets$
accountPayables$
shortTermDebt$
taxPayables$
deferredRevenue$
otherCurrentLiabilities$
totalCurrentLiabilities$
longTermDebt$
deferredRevenueNonCurrent$
deferredTaxLiabilitiesNonCurrent$
otherNonCurrentLiabilities$
totalNonCurrentLiabilities$
otherLiabilities$
capitalLeaseObligations$
totalLiabilities$
preferredStock$
commonStock$
retainedEarnings$
accumulatedOtherComprehensiveIncomeLoss$
othertotalStockholdersEquity$
totalStockholdersEquity$
totalEquity$
totalLiabilitiesAndStockholdersEquity$
minorityInterest$
totalLiabilitiesAndTotalEquity$
totalInvestments$
totalDebt$
netDebt$

Cash Flow

cash-flow/{symbol} — period: annual | quarter

PropertyUnit
netIncome$
depreciationAndAmortization$
deferredIncomeTax$
stockBasedCompensation$
changeInWorkingCapital$
accountsReceivables$
inventory$
accountsPayables$
otherWorkingCapital$
otherNonCashItems$
netCashProvidedByOperatingActivities$
investmentsInPropertyPlantAndEquipment$
acquisitionsNet$
purchasesOfInvestments$
salesMaturitiesOfInvestments$
otherInvestingActivities$
netCashUsedForInvestingActivities$
debtRepayment$
commonStockIssued$
commonStockRepurchased$
dividendsPaid$
otherFinancingActivities$
netCashUsedProvidedByFinancingActivities$
effectOfForexChangesOnCash$
netChangeInCash$
cashAtEndOfPeriod$
cashAtBeginningOfPeriod$
operatingCashFlow$
capitalExpenditure$
freeCashFlow$

Key Metrics

key-metrics/{symbol} — period: annual | quarter

PropertyUnit
revenuePerShare$/share
netIncomePerShare$/share
operatingCashFlowPerShare$/share
freeCashFlowPerShare$/share
cashPerShare$/share
bookValuePerShare$/share
tangibleBookValuePerShare$/share
shareholdersEquityPerShare$/share
interestDebtPerShare$/share
marketCap$
enterpriseValue$
peRatiomultiple (x)
priceToSalesRatiomultiple (x)
pocfRatiomultiple (x)
pfcfRatiomultiple (x)
pbRatiomultiple (x)
ptbRatiomultiple (x)
evToSalesmultiple (x)
enterpriseValueOverEBITDAmultiple (x)
evToOperatingCashFlowmultiple (x)
evToFreeCashFlowmultiple (x)
earningsYield%
freeCashFlowYield%
debtToEquityratio
debtToAssetsratio
netDebtToEBITDAmultiple (x)
currentRatioratio
interestCoveragemultiple (x)
incomeQualityratio
dividendYield%
payoutRatioratio (0-1)
salesGeneralAndAdministrativeToRevenueratio (0-1)
researchAndDevelopmentToRevenueratio (0-1)
intangiblesToTotalAssetsratio (0-1)
capexToOperatingCashFlowratio (0-1)
capexToRevenueratio (0-1)
capexToDepreciationratio
stockBasedCompensationToRevenueratio (0-1)
grahamNumber$/share
roic%
returnOnTangibleAssets%
grahamNetNet$/share
workingCapital$
tangibleAssetValue$
netCurrentAssetValue$
investedCapital$
averageReceivables$
averagePayables$
averageInventory$
daysSalesOutstandingdays
daysPayablesOutstandingdays
daysOfInventoryOnHanddays
receivablesTurnovermultiple (x)
payablesTurnovermultiple (x)
inventoryTurnovermultiple (x)
roe%
capexPerShare$/share

Ratios

ratios/{symbol} — period: annual | quarter

PropertyUnit
currentRatioratio
quickRatioratio
cashRatioratio
daysOfSalesOutstandingdays
daysOfInventoryOutstandingdays
operatingCycledays
daysOfPayablesOutstandingdays
cashConversionCycledays
grossProfitMarginratio (0-1)
operatingProfitMarginratio (0-1)
pretaxProfitMarginratio (0-1)
netProfitMarginratio (0-1)
effectiveTaxRateratio (0-1)
returnOnAssetsratio (0-1)
returnOnEquityratio (0-1)
returnOnCapitalEmployedratio (0-1)
debtRatioratio (0-1)
debtEquityRatioratio
interestCoveragemultiple (x)
receivablesTurnovermultiple (x)
payablesTurnovermultiple (x)
inventoryTurnovermultiple (x)
fixedAssetTurnovermultiple (x)
assetTurnovermultiple (x)
operatingCashFlowPerShare$/share
freeCashFlowPerShare$/share
cashPerShare$/share
dividendPayoutRatioratio (0-1)
priceBookValueRatiomultiple (x)
priceToSalesRatiomultiple (x)
priceEarningsRatiomultiple (x)
priceToFreeCashFlowsRatiomultiple (x)
dividendYieldratio (0-1)
enterpriseValueMultiplemultiple (x)
priceFairValueratio

Economic Indicators

economic-indicators/{name}[{date, value}]

NameUnit
GDP$ (billions)
realGDP$ (billions)
nominalPotentialGDP$ (billions)
realGDPPerCapita$/person
federalFundsRate%
CPIindex
inflationRate%
retailSales$ (millions)
consumerSentimentindex
durableGoods$ (millions)
unemploymentRate%
totalNonfarmPayrollthousands of persons
initialClaimsclaims
industrialProductionTotalIndexindex (2017=100)
smoothedUSRecessionProbabilities% (0-100)
30YearFixedRateMortgageAverage%
15YearFixedRateMortgageAverage%

Treasury Rates

treasury-rates[{date, month1, month2, ...}]

PropertyUnit
month1, month2, month3, month6% (yield)
year1, year2, year3, year5, year7, year10, year20, year30% (yield)

Earnings

earnings-company/{symbol}

PropertyUnit
dateYYYY-MM-DD
epsActual$/share
epsEstimated$/share
revenueActual$
revenueEstimated$

Dividends

dividends-company/{symbol}

PropertyUnit
dateYYYY-MM-DD
dividend$/share
adjDividend$/share
yield%
paymentDateYYYY-MM-DD

Splits

splits-company/{symbol}

PropertyUnit
dateYYYY-MM-DD
numeratorinteger
denominatorinteger

Technical Indicators

Computed via the backtesting engine.

IndicatorUnit
RSI0-100
SMA / EMA$ (same as price)
MACD line, signal$
MACD histogram$
Bollinger upper/middle/lower$
Bollinger proximity%
ATR$
Stochastic %K, %D0-100
Volume vs averageratio or %

Derived Metrics

Calculated by combining properties from the endpoints above. Organized by category below.

Profitability

MetricFormulaUnit
Gross MargingrossProfit / revenue%
Operating MarginoperatingIncome / revenue%
Net MarginnetIncome / revenue%
EBITDA Marginebitda / revenue%
Free Cash Flow MarginfreeCashFlow / revenue%
ROEnetIncome / totalStockholdersEquity%
ROAnetIncome / totalAssets%
ROIC(netIncome - dividendsPaid) / (totalDebt + totalStockholdersEquity)%
ROCEoperatingIncome / (totalAssets - totalCurrentLiabilities)%

Valuation

MetricFormulaUnit
P/E Ratioprice / epsDilutedmultiple (x)
Forward P/Eprice / estimatedEpsAvgmultiple (x)
PEG RatiopeRatio / (growthEPS × 100)multiple (x)
P/S RatiomarketCap / revenuemultiple (x)
P/B Ratioprice / bookValuePerSharemultiple (x)
P/FCF RatiomarketCap / freeCashFlowmultiple (x)
EV/RevenueenterpriseValue / revenuemultiple (x)
EV/EBITDAenterpriseValue / ebitdamultiple (x)
EV/FCFenterpriseValue / freeCashFlowmultiple (x)
Earnings YieldepsDiluted / price%
FCF YieldfreeCashFlowPerShare / price%
Dividend Yielddividend / price%

Leverage & Solvency

MetricFormulaUnit
Debt-to-EquitytotalDebt / totalStockholdersEquityratio
Debt-to-AssetstotalDebt / totalAssetsratio
Debt-to-EBITDAtotalDebt / ebitdamultiple (x)
Net Debt-to-EBITDAnetDebt / ebitdamultiple (x)
Interest CoverageoperatingIncome / interestExpensemultiple (x)
Equity MultipliertotalAssets / totalStockholdersEquitymultiple (x)

Liquidity

MetricFormulaUnit
Current RatiototalCurrentAssets / totalCurrentLiabilitiesratio
Quick Ratio(cash + shortTermInvestments + netReceivables) / totalCurrentLiabilitiesratio
Cash RatiocashAndCashEquivalents / totalCurrentLiabilitiesratio
Working CapitaltotalCurrentAssets - totalCurrentLiabilities$

Efficiency

MetricFormulaUnit
Asset Turnoverrevenue / totalAssetsmultiple (x)
Inventory TurnovercostOfRevenue / inventorymultiple (x)
Receivables Turnoverrevenue / netReceivablesmultiple (x)
Days Sales Outstanding365 / receivablesTurnoverdays
Days Inventory Outstanding365 / inventoryTurnoverdays
Cash Conversion CycleDSO + DIO - DPOdays

Growth (YoY)

MetricFormulaUnit
Revenue Growth(revenue_current - revenue_prior) / revenue_prior%
Earnings Growth(netIncome_current - netIncome_prior) / netIncome_prior%
EPS Growth(eps_current - eps_prior) / eps_prior%
EBITDA Growth(ebitda_current - ebitda_prior) / ebitda_prior%
FCF Growth(freeCashFlow_current - freeCashFlow_prior) / freeCashFlow_prior%

Cash Flow Quality

MetricFormulaUnit
Cash Flow to Net IncomeoperatingCashFlow / netIncomeratio
FCF to Net IncomefreeCashFlow / netIncomeratio
Capex to RevenuecapitalExpenditure / revenueratio (0-1)
FCF ConversionfreeCashFlow / ebitdaratio (0-1)