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
Name | Type | Description |
---|---|---|
chain* | String | Indicates the blockchain network to use (ETH or SOL) |
coin1* | String | Indicates the token address of the second asset, for which the beta is calculated. Example: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" |
coin2* | Integer | Indicates the token address of the benchmark asset. BTC recommended. Example: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599" |
timeperiod* | String | Indicates the number of days to perform the operation over |
granularity* | String | Indicates with what frequency the data is gathered. Available parameters: ""1h", "3h", "6h", "12h", "1D" |
Example
Request
Response
Last updated