GithubHelp home page GithubHelp logo

isosphere / voladjgipdashboard Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 938 KB

A website guiding the use of a volatility-adjusted US growth, inflation guided portfolio. Also contextualizes the CFTC COT releases and foreign exchange returns.

Python 18.01% HTML 10.07% Jupyter Notebook 71.92%
macro-trading gdp cpi inflation trading-system beta-adjusted volatility-adjusted portfolio growth

voladjgipdashboard's Introduction

VolAdjGIPDashboard

Volatility-adjusted positioning based on US growth and inflation. A website dashboard for macro-economics based investment decisions similar to ideas expoused by Ray Dalio.

The essential axiom underlying it is that the rate of change of inflation and growth determines the optimal portfolio basket. High growth and low inflation is very bullish growth indexes, like the NASDAQ. Low growth and high inflation is bullish gold.

Volatility-adjusted means that if the desired portfolio contains 3 securities, the size of each position will be such that a standard deviation move results in the same dollar amount change in profit and loss as in any of the other positions. The idea is to have equal dollar risk across the portfolio.

This approach has worked well since 2008 (based on backtesting), though it seems to have been doing very poorly this year (2020).

I Don't Think This Strategy Works

Upon further statistical testing in early 2021 I have concluded that there is no statistical relationship between the growth-inflation rate of change regime and the performance of the securities I have chosen for them. The performance is indistinquishable from noise based on a 94% HDI interval in my Bayesian hypothesis tests. My only remaining hope for this project was that a sort of trend-following of the performance score (return/stdev) quarter to date would yield positive results, but they are equivalent to buying and holding a broad US market index. That's cheaper and easier, so I'm going to do that.

I think this model is being fooled by a historic bull run, and has also fallen prey to to problem of multiple comparisons when it comes to security basket selection for particular regimes.

Performance History

Performance history charts show the quarter-to-date return divided by the quarter-to-date standard deviation of a security by how late in the quarter we are, compared against the same for the prior quarter.

Performance History Charts

Commitment of Traders

The latest CFTC Commitment of Traders data is summarized statistically to put the net long positions of the non-commercials into context historically.

Commitment of Traders Summary

Status Dashboard

An at-a-glance look at the current quarter-to-date performance of particular baskets of securities, and the week-to-date performance as well for a higher resolution picture. As this is ultimately a low-frequency framework, I wanted to avoid daily data being displayed directly to keep emotions cool.

Status Dashboard

Security Summary

A more comprehensive list of various ETFs and currencies, putting their current week-to-date return in context statistically.

Summary

voladjgipdashboard's People

Contributors

dependabot[bot] avatar isosphere avatar

Watchers

 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.