Skip to content
Dune Analytics

@slash125 / -- cumsum of options volumne

-- cumsum of options volumne

Loading
 

About queries and results

Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.

We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.

Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.

SQL query

1WITH DATA AS
2  (SELECT date(call_block_time) AS DAY,
3          sum(amount / 1e18) AS amount_sum
4   FROM hegic."HedgeContract_call_createHedge"
5   WHERE call_success = 'true'
6   GROUP BY DAY
7   ORDER BY DAY)
8SELECT DAY,
9       sum(amount_sum) OVER (
10                             ORDER BY DAY ASC ROWS BETWEEN unbounded preceding AND CURRENT ROW) AS options_vol_cumsum
11FROM DATA

SQL query results

Loading