pool_composition
AMMs supported : Raydium v2, Raydium v3, Orca Whirlpools, Curve, Uniswap v2, Balancer
For Orca Whirlpools and Raydium v3 pools (concentrated liquidity), a full distribution of the liquidity over the time period is returned
GET
http://api.fibonacci.fi/pool_composition/{chain}/{poolid}/{timeperiod}/{granularity}
This API retrieves the historical composition of a particular pool, on SOL or ETH. It also returns the historical liquidity distribution if the pool requested is a CL pool
Path Parameters
Name | Type | Description |
---|---|---|
chain* | String | indicates the blockchain network to use ("ETH", "SOL") |
poolid* | String | indicates the pool id to use for the backtesting (e.g. "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", corresponds to ethusdc) |
timeperiod* | Integer | Indicates the number of days to perform the backtesting over |
granularity* | String | Indicates with what frequency the data is gathered. Available parameters: "5m", "15m", "30m", "1h", "3h", "6h", "12h", "1D" |
Example
Request
Response
Last updated