Wednesday, January 10, 2018

Optimizing Digital Currencies

So if anyone else saw [John Geenty's article], you may be interested in this! I gave it a shot and had some nifty results.

The views contained in this post are my own and do not represent investment advise, the views of my employer or anyone else. This content is intended to be used and must be used for informational purposes only. It is very important to do your own analysis before making any investment based on your own personal circumstances. You should take independent financial advice from a professional in connection with, or independently research and verify, any information that you find in this post and wish to rely upon, whether for the purpose of making an investment decision or otherwise.

The following Jupyter Notebook describes a script which determines a low volatility, high returns portfolio between BTC, ETH, ETC, LTC, DASH, NEO, ZEC, and XMR. It uses sharpe ratios and data from the last three months, saves files to a timestamped folder, and creates png figure for reference. It will also print out the percent returns for the day for each digital currency and the average percent daily returns.


The information was then used to backtest the recommended model, as well as an aggressive model from the results. Given an initial investment of $1000.00 on 19 September 2017, the recommended portfolio would have grown to over $2100.00 during the three-month period, while the aggressive grows to over $3000.00 in value. Because of digital currencies being inherently volatile, the Sharpe ratios are less reliable than one would desire, but is a good metric for portfolio analysis in this case.

A safe conclusion to draw, regardless of discrete investment is that LTC and NEO are two low volatility, yet moderate-to-high returns currencies which should be monitored, while BTC and DASH are two highly variable currencies that have grown quickly in value over the last three months. Coupled with any other insights that can be drawn from the market, I think this was a very exciting exercise.


Recommended Portfolio Distribution (scatterPoints.csv [34607]):
  • BTC: 0.0180410176875
  • ETH: 0.00377590859407
  • ETC: 0.00315474140452
  • LTC: 0.366286372076
  • DASH: 0.00114576353705
  • NEO: 0.463456037585
  • ZEC: 0.000253851426288
  • XMR: 0.14388630769

Aggressive Portfolio Distribution(scatterPoints.csv [27989]):
  • BTC: 0.51007444775
  • ETH: 0.0123708535254
  • ETC: 0.0872447919173
  • LTC: 0.0907395166206
  • DASH: 0.138406313313
  • NEO: 0.08129648342
  • ZEC: 0.0520898783671
  • XMR: 0.0277777150871

Here's a link to the github:

No comments:

Post a Comment