{"type":"rich","version":"1.0","title":"mikeiohash wrote","author_name":"mikeiohash (npub132…cuk2z)","author_url":"https://yabu.me/npub1329y38pumpl9kxy8qj200x5yz82as092g0jd8ave6pqhl9aea7gsucuk2z","provider_name":"njump","provider_url":"https://yabu.me","html":"The #bot gets a JSON with #bitcoin market data. The #endpoints are:\n- Price\n- Volume\n- Liquidity \n- Funding Fees \u0026 Open Interest\n- A full snapshot of all the above. \n\nThe #data sources are #binance global and #deribit. Here’s a JSON example of the full snapshot:\n{\"ok\":true,\"asset\":\"BTC\",\"quote\":\"USDT\",\"snapshot\":{\"price\":{\"price\":70739.27,\"staleness_ms\":495},\"volume_24h\":{\"volume_24h_base\":17351.68477,\"volume_24h_quote\":1220136800.793085,\"staleness_ms\":495},\"liquidity\":{\"data\":{\"mid_price\":70739.275,\"top_of_book\":{\"best_bid_price\":70739.27,\"best_bid_qty\":0.49585,\"best_ask_price\":70739.28,\"best_ask_qty\":2.55837,\"spread\":0.00999999999476131,\"spread_bps\":0.0014136418552156934},\"depth_window_bps\":10,\"bid_depth\":{\"qty_btc\":1.2062200000000005,\"notional_quote\":85323.1726517,\"levels\":50},\"ask_depth\":{\"qty_btc\":4.630330000000001,\"notional_quote\":327558.809105,\"levels\":50}},\"staleness_ms\":702},\"perps\":{\"venue\":\"deribit\",\"instrument\":\"BTC-PERPETUAL\",\"index_price\":70728.9,\"mark_price\":70753.43,\"current_funding\":9.682e-05,\"funding_8h\":1.072e-05,\"open_interest\":983270190.0,\"timestamp\":1774062611686,\"staleness_ms\":1326},\"deviation_bps_binance_vs_deribit_index\":1.466161639727169},\"verifications_spent\":2,\"verification_balance\":198,\"request_id\":null}\n"}
