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