cex_onchain_arbitrage

GET http://api.fibonacci.fi/cex_onchain_arbitrage/coin1/coin2/chain/days_before/granularity_input_in_minute

This endpoint returns the on-chain and CEX (Binance) price for the same token. This allows for spotting of significant historical deviations between on-chain and off-chain asset prices, allowing for arbitrage.

Path Parameters

NameTypeDescription

coin1*

String

The ticker of the first asset, e.g. "SOL"

coin2*

String

The trading pair asset, e.g. "USDT"

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".

chain

String

The chain of the the coin1 asset

Example

Request

http://api.fibonacci.fi/cex_onchain_arbitrage/SOL/USDT/SOL/30/15m

Response

{"status": 200, "msg": "Success cex-onchain arb SOL", "elapsed_time": 0, "last_data_ts": 0, "data": [
{"ts": 1694649600, "c_oc": 18.382350505017072, "c_cex": 18.44, "spd": -0.003126328361330202},
 {"ts": 1694650500, "c_oc": 18.663506799685706, "c_cex": 18.51, "spd": 0.008293182046769555}, 
{"ts": 1694651400, "c_oc": 18.608665106904475, "c_cex": 18.92, "spd": -0.016455332616042644}, 
{"ts": 1694652300, "c_oc": 18.965662524818885, "c_cex": 19.22, "spd": -0.013232959166551176}, 
{"ts": 1694653200, "c_oc": 19.23697698283075, "c_cex": 19.11, "spd": 0.006644530760374201},

Last updated