Skip to content
Dune Analytics

@slash125 / Nb of bought put-options per day

Nb of bought put-options per day

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

1SELECT eth.day,
2       nb_bought_puts_eth,
3       nb_bought_puts_wbtc
4FROM
5  (SELECT date(call_block_time) AS DAY,
6          count(amount) AS nb_bought_puts_eth
7   FROM hegic."HegicETHOptions_call_create"
8   WHERE "optionType" = 1
9     AND call_success = 'true'
10   GROUP BY DAY) eth
11left JOIN
12  (SELECT date(call_block_time) AS DAY,
13          count(amount) AS nb_bought_puts_wbtc
14   FROM hegic."HegicWBTCOptions_call_create"
15   WHERE "optionType" = 1
16     AND call_success = 'true'
17   GROUP BY DAY) wbtc ON eth.DAY = wbtc.DAY
18ORDER BY DAY

SQL query results

Loading