Serverless Cryptocurrency Event Risk Hedging Analyzer

This application calculates the event risk diversification from a user provided data source versus Bitcoin, Ethereum, Litecoin, Ripple, Monero, Bitcoin Cash, and Ethereum Classic returns. The Cryptocurrency data set includes cryptocurrency returns between 2013-2018 for Bitcoin, Litcoin, and Ripple, returns between 2014-2018 for Ethereum and Monero, returns between 2016-2018 for Ethereum Classic, and returns between 2017-2018 for Bitcoin Cash. so your data should be within this time frame. For more information on the event risk hedging analysis using cryptocurrencies, see here.

User Data

In this input, place a JSON string with date and value data that will be used to measure diversification of event risk of your data versus Bitcoin, Ethereum, and Litecoin. The data must be in a JSON string in the following format:

	[
		["date1", "value1"],
		["date2", "value2"],
		...
		["dateN", "valueN"]
	]

As an example of data in this format:

	[
		["2015-01-01", "100.50"],
		["2015-01-02", "200.50"],
		["2015-01-03", "300.50"]
	]

Also note that indentation is not requires, so data in this format is also acceptable:

	[["2015-01-01", "100.50"], ["2015-01-02", "200.50"], ["2015-01-03", "300.50"]]
User Data

Date Format

This input allows you to change your date format. The serverless function is implemented in Python3, and uses the date formatting tools in the datetime library. By default the date format is %Y-%m-%d, but if your date data is not in this format, you can specify the formatter in this input:

Date Format:

BTC Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on BTC. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return BTC_30_Day_Return
USER_DATA_30_Day_Return 1.000000 0.148736
BTC_30_Day_Return 0.148736 1.000000

BTC Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and BTC.

USER_DATA_30_Day_Return BTC_30_Day_Return
2016-06-27 -0.024660 0.245235
2014-12-15 -0.013966 -0.109647
2014-10-13 -0.056265 -0.183055
2014-02-06 -0.032667 -0.072586
2014-02-12 -0.015744 -0.217877

ETH Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on ETH. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return ETH_30_Day_Return
USER_DATA_30_Day_Return 1.000000 -0.461814
ETH_30_Day_Return -0.461814 1.000000

ETH Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and ETH.

USER_DATA_30_Day_Return ETH_30_Day_Return
2016-06-27 -0.024660 0.123887
2016-01-21 -0.094302 0.806365
2016-01-20 -0.104830 0.770419
2016-01-26 -0.054036 1.698209
2015-12-22 -0.020536 -0.087402

LTC Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on LTC. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return LTC_30_Day_Return
USER_DATA_30_Day_Return 1.000000 0.142258
LTC_30_Day_Return 0.142258 1.000000

LTC Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and LTC.

USER_DATA_30_Day_Return LTC_30_Day_Return
2016-06-27 -0.024660 -0.106291
2014-12-15 -0.013966 -0.110825
2014-10-13 -0.056265 -0.285185
2014-02-06 -0.032667 -0.183682
2014-02-12 -0.015744 -0.296680

XRP Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on XRP. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return XRP_30_Day_Return
USER_DATA_30_Day_Return 1.000000 0.170263
XRP_30_Day_Return 0.170263 1.000000

XRP Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and XRP.

USER_DATA_30_Day_Return XRP_30_Day_Return
2016-06-27 -0.024660 0.129989
2014-12-15 -0.013966 2.520942
2014-10-13 -0.056265 -0.068536
2014-02-06 -0.032667 -0.149567
2014-02-12 -0.015744 -0.189370

XMR Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on XMR. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return XMR_30_Day_Return
USER_DATA_30_Day_Return 1.000000 0.095766
XMR_30_Day_Return 0.095766 1.000000

XMR Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and XMR.

USER_DATA_30_Day_Return XMR_30_Day_Return
2016-06-27 -0.024660 0.678539
2014-12-15 -0.013966 -0.415006
2014-10-13 -0.056265 -0.395604
2015-08-20 -0.020068 0.042512
2016-01-21 -0.094302 0.139179

BCH Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on BCH. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return BCH_30_Day_Return
USER_DATA_30_Day_Return 1.000000 -0.084946
BCH_30_Day_Return -0.084946 1.000000

BCH Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and BCH.

USER_DATA_30_Day_Return BCH_30_Day_Return
2018-03-05 -0.039545 0.088083
2018-04-02 -0.055025 -0.485858
2018-04-11 -0.037201 -0.373533
2018-04-26 -0.041710 0.650641
2018-03-12 -0.024710 -0.136625

ETC Event Risk Correlation Table

This table shows correlation between outliers for your data versus returns on ETC. Higher negative values are indicative of strong event risk diversification, while higher positive values indicate poor event risk diversification.

USER_DATA_30_Day_Return ETC_30_Day_Return
USER_DATA_30_Day_Return 1.000000 -0.153506
ETC_30_Day_Return -0.153506 1.000000

ETC Partial Table Listing

This table shows a partial listing of 30-day returns for outliers from your data and ETC.

USER_DATA_30_Day_Return ETC_30_Day_Return
2018-03-05 -0.039545 0.275665
2018-04-02 -0.055025 -0.524082
2018-04-11 -0.037201 -0.267570
2018-04-26 -0.041710 0.308075
2017-04-13 -0.027968 0.455556