Giter Site home page Giter Site logo

justcodebase / riskperf.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rbeeli/riskperf.jl

0.0 0.0 0.0 190 KB

Quantitative risk and performance analysis package for financial time series powered by the Julia language.

License: MIT License

R 18.10% Julia 81.90%

riskperf.jl's Introduction

RiskPerf.jl

License Maintenance Documentation

Quantitative risk and performance analysis package for financial time series powered by the Julia language.

Documentation

Full documentation is available here.

Functions

simple_returns(prices::AbstractVector; drop_first=false, first_value=NaN)

simple_returns(prices::AbstractMatrix; drop_first=false, first_value=NaN)

log_returns(prices::AbstractVector; drop_first=false, first_value=NaN)

log_returns(prices::AbstractMatrix; drop_first=false, first_value=NaN)

volatility(returns; multiplier=1.0)

drawdowns(returns; geometric::Bool=false)

drawdowns_pnl(pnl)

expected_shortfall(returns, α, method::Symbol; multiplier=1.0)

information_ratio(asset_returns, benchmark_returns; multiplier=1.0)

jensen_alpha(asset_returns, benchmark_returns; risk_free=0.0)

modified_jensen(asset_returns, benchmark_returns; risk_free=0.0)

skewness(x; method::Symbol=:moment)

kurtosis(x; method::Symbol=:excess)

omega_ratio(returns, target_return)

relative_risk_contribution(weights, covariance_matrix)

sharpe_ratio(returns; multiplier=1.0, risk_free=0.0)

adjusted_sharpe_ratio(returns; multiplier=1.0, risk_free=0.0)

sortino_ratio(returns; multiplier=1.0, MAR=0.0)

tracking_error(asset_returns, benchmark_returns; multiplier=1.0)

treynor_ratio(asset_returns, benchmark_returns; multiplier=1.0, risk_free=0.0)

downside_deviation(returns, threshold; method::Symbol=:full)

upside_deviation(returns, threshold; method::Symbol=:full)

upside_potential_ratio(returns, threshold; method::Symbol=:partial)

value_at_risk(returns, α, method::Symbol; multiplier=1.0)

capm(asset_returns, benchmark_returns; risk_free=0.0)

lower_partial_moment(returns, threshold, n, method::Symbol)

higher_partial_moment(returns, threshold, n, method::Symbol)

Bug reports and feature requests

Please report any issues via the GitHub issue tracker.

Acknowledgements

This package was inspired by the R package PerformanceAnalytics of Peter Carl and Brian G. Peterson.

riskperf.jl's People

Contributors

rbeeli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.