instant_beta

GET http://api.fibonacci.fi/instant_beta/{chain}/{coin1}/{coin2}/{timeperiod}/{granularity}

This API can be used to calculate the beta of a given asset against a given benchmark. The benchmark is suggested to be BTC if looking to measure against the market.

Path Parameters

Example

Request

http://api.fibonacci.fi/instant_beta/ETH/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/0x2260fac5e5542a773aa44fbcfedf7c193bc2c599/7/15m

Response

{"status": 200, "msg": "Success", "elapsed_time": 10, "last_data_ts": 1686128622.9145458, "data": [{"first_datapoint_timestamp": 1685536809.0, "Number_of_datapoints_used": 19727.0, "beta_positive_ret": -7.399904303530689e-07, "beta_negative_ret": 1.34560309351109e-08, "beta_general": 9.257058220899994e-09}], "granularity": "15m"}

Last updated