Man pages for braverock/blotter
Tools for Transaction-Oriented Trading Systems P&L

ABCPrices of random security ABC for a full trading day.
AcctReturnsCalculate account returns
acOptTxnsThe Almgren-Chriss Market Impact Model
addAcctTxnAdd capital account transactions, such as capital additions...
addDivAdd cash dividend transactions to a portfolio.
addPortfInstradd an instrument to a portfolio
addTxnAdd transactions to a portfolio.
amznHypothetical Intra-Day AMZN Trades
ArrivalCostArrival Cost
benchTradePerfTrade Execution Performance Benchmarks
benchTradeStatsTrade Execution Performance Benchmarks Statistical Testing
blotter-packageTools for Transaction-Oriented Trading Systems Development
calcPortfWgtCalculates the portfolio weights for positions within a given...
calcPosAvgCostCalculates the average cost of a resulting position from a...
calcTxnAvgCostCalculates a per share or per contract cost of the...
calcTxnValueCalculates the total value of a transaction or trade
chart.MEChart Maximum Adverse/Favorable Excursion
chart.PosnChart trades against market data, position through time, and...
chart.ReconcileChart trades against market data, position through time, and...
chart.SpreadCharts the transaction series, positions, and P&L of a spread...
dailyTxnPLgenerate daily Transaction Realized or Equity Curve P&L by...
extractTxnsExtract transactions from a portfolio
getAccountGet an account object from the .blotter environment
getByPortfget attributes from each portfolio in an account
getBySymbolRetrieves calculated attributes for each position in the...
getEndEqRetrieves the most recent value of the capital account
getPortfAcctget a protfolio in an account
getPortfolioget a portfolio object
getPosRetrieves all information about the position as of a date
getPosAvgCostRetrieves the most recent average cost of the position
getPosQtygets position at Date
getTxnsRetrieve transactions and their attributes.
hist.mcsimhist method for objects of type 'mcsim'
hist.txnsimhist method for objects of type 'txnsim'
IBMIBM stock price data for one month
impShortfallImplementation Shortfall (IS)
IndexAdjustedCostIndex Adjusted Cost
IndexCostIndex Cost
initAcctConstructs the data container used to store calculated...
initPortfInitializes a portfolio object.
initPosPLinitializes position P&L for a portfolio instrument
initSummaryinitialize the summary table used in portfolio and account...
initTxnConstructs the data container used to store transactions and...
is.accountgeneric is.function for account, will take either a string or...
is.portfoliogeneric is.function for portfolio, will take either a string...
iStarPostTradeThe Kissell-Malamut _I-Star_ Market Impact model
iStarSensitivityI-Star model sensitivity analysis
mcsimMonte Carlo simulate strategy results
pennyPerShareExample TxnFee cost function
perTradeStatscalculate trade statistics for round turn trades.
plot.iStarEstPlot method for object of type 'iStarEst'
plot.iStarSensPlot method for object of type 'iStarSens'
plot.mcsimplot method for objects of type 'mcsim'
plot.txnsimplot method for objects of type 'txnsim'
plot.txnsPerfPlot method for object of type 'txnsPerf'
PortfReturnsCalculate portfolio instrument returns
print.txnsStatsPrint method for object of class 'txnsStats'
put.accountput a account object in .blotter env
put.portfolioput a portfolio object in .blotter env
quantile.mcsimquantile method for objects of type 'mcsim'
quantile.txnsimquantile method for objects of type 'txnsim'
summary.mcsimsummary and print methods for objects of type 'mcsim'
summary.txnsimsummary and print methods for objects of type txnsim
summary.txnsPerfSummary method for object of type 'txnsPerf'
tradeQuantilesquantiles of per-trade stats
tradeStatscalculate statistics on transactions and P&L for a symbol or...
trdPrcPerfTrading Price Performance
txnsimMonte Carlo analysis of round turn trades
txnsim.portfsconvenience function to generate portfolios for txnsim...
txnsim.portnameshelper function for generating txnsim portfolio names
txnsim.txnsconvenience function to create transactions from txnsim...
updateAcctConstructs the equity account calculations from the portfolio...
updateEndEqupdate ending equity for an account
updatePortfupdate Portfilio P&L over a Dates range
updatePosPLCalculates position PL from the position data and...
braverock/blotter documentation built on Feb. 13, 2023, 1 p.m.