Tools for Highfrequency Data Analysis


[Up] [Top]

Documentation for package ‘highfrequency’ version 0.8.0.1

Help Pages

highfrequency-package highfrequency: Tools for Highfrequency Data Analysis
aggregatePrice Aggregate a time series but keep first and last observation
aggregateQuotes Aggregate a 'data.table' or 'xts' object containing quote data
aggregateTrades Aggregate a 'data.table' or 'xts' object containing trades data´
aggregateTS Aggregate a time series
AJjumpTest Ait-Sahalia and Jacod (2009) tests for the presence of jumps in the price series.
autoSelectExchangeQuotes Retain only data from the stock exchange with the highest volume
autoSelectExchangeTrades Retain only data from the stock exchange with the highest trading volume
BNSjumpTest Barndorff-Nielsen and Shephard (2006) tests for the presence of jumps in the price series.
businessTimeAggregation Business time aggregation
driftBursts Inference on drift burst hypothesis
exchangeHoursOnly Extract data from an 'xts' object for the exchange hours only
getAlphaVantageData Get high frequency data from Alpha Vantage
getCriticalValues Get critical value for the drift burst hypothesis t-statistic
getCriticalValues.DBH Get critical value for the drift burst hypothesis t-statistic
getLiquidityMeasures Compute Liquidity Measure Function returns an 'xts' or 'data.table' object containing 23 liquidity measures. Please see details below. Note that this assumes a regular time grid.
getTradeDirection Get trade direction
HARmodel Heterogeneous autoregressive (HAR) model for realized volatility model estimation
HEAVYmodel HEAVY model estimation
highfrequency highfrequency: Tools for Highfrequency Data Analysis
intradayJumpTest Intraday jump tests
IVinference Function returns the value, the standard error and the confidence band of the integrated variance (IV) estimator.
JOjumpTest Jiang and Oomen (2008) tests for the presence of jumps in the price series.
knChooseReMeDI ReMeDI tuning parameter
leadLag Lead-Lag estimation
listAvailableKernels Available kernels
listCholCovEstimators Utility function listing the available estimators for the CholCov estimation
makeOHLCV Make Open-High-Low-Close-Volume bars
makePsd Returns the positive semidefinite projection of a symmetric matrix using the eigenvalue method
makeReturns Compute log returns
makeRMFormat Convert to format for realized measures
matchTradesQuotes Match trade and quote data
mergeQuotesSameTimestamp Merge multiple quote entries with the same time stamp
mergeTradesSameTimestamp Merge multiple transactions with the same time stamp
noZeroPrices Delete the observations where the price is zero
noZeroQuotes Delete the observations where the bid or ask is zero
plot.DBH Plotting method for 'DBH' objects
plot.HARmodel Plotting method for HARmodel objects
plot.HEAVYmodel Plotting method for HEAVYmodel objects
predict.HARmodel Predict method for objects of type 'HARmodel'
predict.HEAVYmodel Iterative multi-step-ahead forecasting for HEAVY models
print.DBH Printing method for 'DBH' objects
print.HARmodel Printing method for 'HARmodel' objects
quotesCleanup Cleans quote data
rankJumpTest Rank jump test
rAVGCov Realized covariances via subsample averaging
rBeta Realized beta
rBPCov Realized bipower covariance
rCholCov CholCov estimator
rCov Realized covariance
refreshTime Synchronize (multiple) irregular timeseries by refresh time
ReMeDI ReMeDI
ReMeDIAsymptoticVariance Asymptotic variance of ReMeDI estimator
rHYCov Hayashi-Yoshida covariance
rKernelCov Realized kernel estimator
rKurt Realized kurtosis of highfrequency return series.
rMedRQ An estimator of integrated quarticity from applying the median operator on blocks of three returns
rMedRV rMedRV
rMinRQ An estimator of integrated quarticity from applying the minimum operator on blocks of two returns
rMinRV rMinRV
rmLargeSpread Delete entries for which the spread is more than 'maxi' times the median spread
rmNegativeSpread Delete entries for which the spread is negative
rmOutliersQuotes Remove outliers in quotes
rMPV Realized multipower variation
rMRC Modulated realized covariance
rmTradeOutliersUsingQuotes Delete transactions with unlikely transaction prices
rOWCov Realized outlyingness weighted covariance
rQPVar Realized quad-power variation of intraday returns
rQuar Realized quarticity
rRTSCov Robust two time scale covariance estimation
rSemiCov Realized semicovariance
rSkew Realized skewness
rSV Realized semivariance of highfrequency return series
rThresholdCov Threshold Covariance
rTPQuar Realized tri-power quarticity
rTSCov Two time scale covariance estimation
RV An estimator of realized variance.
salesCondition salesCondition is deprecated. Use tradesCondition instead.
sampleOneMinuteData One minute data
sampleQData Sample of cleaned quotes for stock XXX for 2 days measured in microseconds
sampleQDataRaw Sample of raw quotes for stock XXX for 2 days measured in microseconds
sampleTData Sample of cleaned trades for stock XXX for 2 days
sampleTDataEurope European data
sampleTDataRaw Sample of raw trades for stock XXX for 2 days
selectExchange Retain only data from a single stock exchange
spotDrift Spot Drift Estimation
spotVol Spot volatility estimation
SPYRM SPY realized measures
summary.HARmodel Summary for 'HARmodel' objects
tradesCleanup Cleans trade data
tradesCleanupUsingQuotes Perform a final cleaning procedure on trade data
tradesCondition Delete entries with abnormal trades condition.