楼主: wangfs111222
3970 2

[讨论交流] 常用的量化交易R包 [推广有奖]

  • 0关注
  • 1粉丝

已卖:45份资源

博士生

33%

还不是VIP/贵宾

-

威望
0
论坛币
1574 个
通用积分
277.4892
学术水平
11 点
热心指数
18 点
信用等级
8 点
经验
22577 点
帖子
177
精华
0
在线时间
363 小时
注册时间
2015-7-20
最后登录
2025-3-4

楼主
wangfs111222 发表于 2016-9-2 07:22:09 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
作者:王力
链接:https://zhuanlan.zhihu.com/p/22198528
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

Standard regression models
  • A detailed overview of the available regression methodologies is provided by the Econometrics task view. This is complemented by the Robust which focuses on more robust and resistant methods.
  • Linear models such as ordinary least squares (OLS) can be estimated by (from by the stats package contained in the basic R distribution). Maximum Likelihood (ML) estimation can be undertaken with the standard function. Many other suitable methods are listed in the Optimization view. Non-linear least squares can be estimated with the function, as well as with from the nlme package.
  • For the linear model, a variety of regression diagnostic tests are provided by the car, lmtest, strucchange, urca, and urca. The Rmetrics packages fGarch, timeSeries (formerly: fSeries), fTrading, fUnitRoots and contains a very large number of relevant functions for different aspect of empirical and computational finance.
  • The RQuantLib package provides several option-pricing functions as well as some fixed-income functionality from the QuantLib project to R.
  • The quantmod package offers a number of functions for quantitative modelling in finance as well as data acqusition, plotting and other utilities.
  • The portfolio package contains classes for equity portfolio management; the portfolioSim builds a related simulation framework. The backtest offers tools to explore portfolio-based hypotheses about financial instruments. The stockPortfolio package provides functions for single index, constant correlation and multigroup models. The pa package offers performance attribution functionality for equity portfolios.
  • The PerformanceAnalytics package contains a large number of functions for portfolio performance calculations and risk management.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:量化交易 econometrics distribution Quantitative fixed-income available overview detailed ordinary provided

沙发
wangfs111222 发表于 2016-9-2 07:22:53
接上

    The TTR contains functions to construct technical trading rules in R.
    The sde package provides simulation and inference functionality for stochastic differential equations.
    The termstrc and YieldCurve packages contain methods for the estimation of zero-coupon yield curves and spread curves based the parametric Nelson and Siegel (1987) method with the Svensson (1994) extension. The former package adds the McCulloch (1975) cubic splines approach, the latter package adds the Diebold and Li approach. TheSmithWilsonYieldCurve construct the yield curve using the Smith-Wilson approach based on LIBOR and SWAP rates.
    The vrtest package contains a number of variance ratio tests for the weak-form of the efficient markets hypothesis.
    The gmm package provides generalized method of moments (GMM) estimations function that are often used when estimating the parameters of the moment conditions implied by an asset pricing model.
    The tawny package contains estimator based on random matrix theory as well as shrinkage methods to remove sampling noise when estimating sample covariance matrices.
    The opefimor package by contains material to accompany the Iacus (2011) book entitled "Option Pricing and Estimation of Financial Models in R".
    The maRketSim package provides a market simulator, initially designed around the bond market.
    The BurStFin and BurStMisc package has a collection of function for Finance including the estimation of covariance matrices.
    The AmericanCallOpt package contains a pricer for different American call options.
    The VarSwapPrice package can price a variance swap via a portfolio of European options contracts.
    The FinAsym package implements the Lee and Ready (1991) and Easley and O'Hara (1987) tests for, respectively, trade direction, and probability of informed trading.
    The parma package provides support for portfolio allocation and risk management applications.
    The GUIDE package provides a GUI for DE rivatives and contains numerous pricer examples as well as interactive 2d and 3d plots to study these pricing functions.
    The SharpeR package contains a collection of tools for analyzing significance of trading strategies, based on the Sharpe ratio and overfit of the same.
    The RND package implements various functions to extract risk-neutral densities from option prices.
    LSMonteCarlo can price American Options via the Least Squares Monte Carlo method
    The BenfordTests package provides seven statistical tests and support functions for determining if numerical data could conform to Benford's law.
    The OptHedging package values call and put option portfolio and implements an optimal hedging strategy.
    The markovchain package provides functionality to easily handle and analyse discrete Markov chains.
    The ycinterextra package models yield curve interpolation and extrapolation using via the Nelson-Siegel, Svensson, or Smith-Wilson models, as well as Hermite cubic splines.
    The tvm package models provides functions for time value of money such as cashflows and yield curves.
    The MarkowitzR package provides functions to test the statistical signicance of Markowitz portfolios.
    The egcm package implements the Engle-Granger two-stage cointegration modeling procedure with a particular focus on pairs trading.
    The pbo package models the probability of backtest overfitting, performance degradation, probability of loss, and the stochastic dominance when analysing trading strategies.
    The OptionPricing package implements rfficient Monte Carlo algorithms for the price and the sensitivities of Asian and European Options under Geometric Brownian Motion.

Risk management

    Several packages provide functionality for Extreme Value Theory models: evd, evdbayes, evir, extRemes, ismev.
    The packages CreditMetrics and crp.CSFP provide function for modelling credit risks.
    The mvtnorm package provides code for multivariate Normal and t-distributions.
    The Rmetrics package fExtremes also contain a number of relevant functions.
    The copula and fgac packages cover multivariate dependency structures using copula methods.
    The actuar package provides an actuarial perspective to risk management.
    The ghyp package provides generalized hyberbolic distribution functions as well as procedures for VaR, CVaR or target-return portfolio optimizations.
    The ChainLadder package provides functions for modeling insurance claim reserves; and the lifecontingencies package provides functions for financial and actuarial evaluations of life contingencies.
    The frmqa package aims to collect functions for Financial Risk Management and Quantitative Analysis.
    The ESG package can be used to model for asset projection, a scenario-based simulation approach.
    The riskSimul package provides efficient simulation procedures to estimate tail loss probabilities and conditional excess for a stock portfolios where log-returns are assumed to follow a t-copula model with generalized hyperbolic or t marginals.

Books

    The FinTS package provides an R companion to Tsay (2005), Analysis of Financial Time Series , 2nd ed. Wiley, and includes data sets, functions and script files to work some of the examples.
    The NMOF package provides functions, examples and data from Numerical Methods in Finance by Manfred Gilli, Dietmar Maringer and Enrico Schumann (2011), including the different optimization heuristics such as Differential Evolution, Genetic Algorithms, Particle Swarms, and Threshold Accepting.

Data and date management

    The its, zoo and timeDate (part of Rmetrics) packages provide support for irregularly-spaced time series. The xts package extends zoo specifically for financial time series. See theTimeSeries task view for more details.
    timeDate also addresses calendar issues such as recurring holidays for a large number of financial centers, and provides code for high-frequency data sets.
    The fame package can access Fame time series databases (but also requires a Fame backend). The tis package provides time indices and time-indexed series compatible with Fame frequencies.
    The TSdbi package provides a unifying interface for several time series data base backends, and its SQL implementations provide a database table design.
    The data.table package provides very efficient and fast access to in-memory data sets such as asset prices.
    The TFX package provides an interface to the TrueFX (TM) service for free streaming real-time and historical tick-by-tick market data for interbank foreign exchange rates at the millisecond resolution.
    The Rbitcoin package offers access to Bitcoin exchange APIs (mtgox, bitstamp, btce, kraken) via public and private API calls and integration of data structures for all markets.
    The TAQMNGR package manages tick-by-tick (equity) transaction data performing 'cleaning', 'aggregation' and 'import' where cleaning and aggregation are performed according to Brownlees and Gallo (2006).
    The bizdays package compute business days if provided a list of holidays.

藤椅
一缕阳光等你 学生认证  发表于 2016-9-2 09:57:50
感谢楼主分享

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jr
拉您进交流群
GMT+8, 2026-1-1 14:32