Query editor
-- Vanta: TVL holding-- Counter → tvl_holding-- tvl = holding + unsettledWITH raw AS (SELECTjson_parse(http_get('https://api.orderly.org/v1/public/balance/stats?broker_id=vanta_exchange')) AS j)SELECTCAST(json_extract_scalar(j, '$.data.total_holding') AS DOUBLE) AS tvl_holding,CAST(json_extract_scalar(j, '$.data.total_unsettled_balance') AS DOUBLE) AS unsettled_pnl,CAST(json_extract_scalar(j, '$.data.total_holding') AS DOUBLE)+ CAST(json_extract_scalar(j, '$.data.total_unsettled_balance') AS DOUBLE) AS tvlFROM raw