Module: Glassnode::RESTv1Derivatives
- Included in:
- RESTv1
- Defined in:
- lib/rest/v1/derivatives.rb
Instance Method Summary collapse
-
#derivatives_futures_annualized_basis_3m(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_estimated_leverage_ratio(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_funding_rate_perpetual(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_funding_rate_perpetual_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”].
-
#derivatives_futures_liquidated_volume_long_mean(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_liquidated_volume_long_relative(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_liquidated_volume_long_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_liquidated_volume_short_mean(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_liquidated_volume_short_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_open_interest_cash_margin_sum(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_open_interest_crypto_margin_relative(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_open_interest_crypto_margin_sum(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_open_interest_latest(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“10m”].
-
#derivatives_futures_open_interest_perpetual_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_open_interest_perpetual_sum_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”].
-
#derivatives_futures_open_interest_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_open_interest_sum_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”].
-
#derivatives_futures_term_structure(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“USD”] i: [“10m”].
-
#derivatives_futures_term_structure_by_exchange(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“USD”] i: [“10m”].
-
#derivatives_futures_volume_daily_latest(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“10m”].
-
#derivatives_futures_volume_daily_perpetual_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_volume_daily_perpetual_sum_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”].
-
#derivatives_futures_volume_daily_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_futures_volume_daily_sum_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”].
-
#derivatives_options_25delta_skew_1_month(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_25delta_skew_1_week(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_25delta_skew_3_months(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_25delta_skew_6_months(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_25delta_skew_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_atm_implied_volatility_1_month(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_atm_implied_volatility_1_week(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_atm_implied_volatility_3_months(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_atm_implied_volatility_6_months(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_atm_implied_volatility_all(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_open_interest_distribution(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“24h”].
-
#derivatives_options_open_interest_put_call_ratio(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_open_interest_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_volume_daily_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol e: exchange name c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”].
-
#derivatives_options_volume_put_call_ratio(params = {}) ⇒ Object
Tier: 3 Params a: asset symbol e: exchange name c: [“NATIVE”] i: [“1h”, “24h”, “10m”].
Instance Method Details
#derivatives_futures_annualized_basis_3m(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
345 346 347 |
# File 'lib/rest/v1/derivatives.rb', line 345 def derivatives_futures_annualized_basis_3m(params={}) authenticated_get("metrics/derivatives/futures_annualized_basis_3m", params: params) end |
#derivatives_futures_estimated_leverage_ratio(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
59 60 61 |
# File 'lib/rest/v1/derivatives.rb', line 59 def derivatives_futures_estimated_leverage_ratio(params={}) authenticated_get("metrics/derivatives/futures_estimated_leverage_ratio", params: params) end |
#derivatives_futures_funding_rate_perpetual(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
10 11 12 |
# File 'lib/rest/v1/derivatives.rb', line 10 def derivatives_futures_funding_rate_perpetual(params={}) authenticated_get("metrics/derivatives/futures_funding_rate_perpetual", params: params) end |
#derivatives_futures_funding_rate_perpetual_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]
19 20 21 |
# File 'lib/rest/v1/derivatives.rb', line 19 def derivatives_futures_funding_rate_perpetual_all(params={}) authenticated_get("metrics/derivatives/futures_funding_rate_perpetual_all", params: params) end |
#derivatives_futures_liquidated_volume_long_mean(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
239 240 241 |
# File 'lib/rest/v1/derivatives.rb', line 239 def derivatives_futures_liquidated_volume_long_mean(params={}) authenticated_get("metrics/derivatives/futures_liquidated_volume_long_mean", params: params) end |
#derivatives_futures_liquidated_volume_long_relative(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
249 250 251 |
# File 'lib/rest/v1/derivatives.rb', line 249 def derivatives_futures_liquidated_volume_long_relative(params={}) authenticated_get("metrics/derivatives/futures_liquidated_volume_long_relative", params: params) end |
#derivatives_futures_liquidated_volume_long_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
229 230 231 |
# File 'lib/rest/v1/derivatives.rb', line 229 def derivatives_futures_liquidated_volume_long_sum(params={}) authenticated_get("metrics/derivatives/futures_liquidated_volume_long_sum", params: params) end |
#derivatives_futures_liquidated_volume_short_mean(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
219 220 221 |
# File 'lib/rest/v1/derivatives.rb', line 219 def derivatives_futures_liquidated_volume_short_mean(params={}) authenticated_get("metrics/derivatives/futures_liquidated_volume_short_mean", params: params) end |
#derivatives_futures_liquidated_volume_short_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
209 210 211 |
# File 'lib/rest/v1/derivatives.rb', line 209 def derivatives_futures_liquidated_volume_short_sum(params={}) authenticated_get("metrics/derivatives/futures_liquidated_volume_short_sum", params: params) end |
#derivatives_futures_open_interest_cash_margin_sum(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
29 30 31 |
# File 'lib/rest/v1/derivatives.rb', line 29 def derivatives_futures_open_interest_cash_margin_sum(params={}) authenticated_get("metrics/derivatives/futures_open_interest_cash_margin_sum", params: params) end |
#derivatives_futures_open_interest_crypto_margin_relative(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
49 50 51 |
# File 'lib/rest/v1/derivatives.rb', line 49 def derivatives_futures_open_interest_crypto_margin_relative(params={}) authenticated_get("metrics/derivatives/futures_open_interest_crypto_margin_relative", params: params) end |
#derivatives_futures_open_interest_crypto_margin_sum(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
39 40 41 |
# File 'lib/rest/v1/derivatives.rb', line 39 def derivatives_futures_open_interest_crypto_margin_sum(params={}) authenticated_get("metrics/derivatives/futures_open_interest_crypto_margin_sum", params: params) end |
#derivatives_futures_open_interest_latest(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["10m"]
354 355 356 |
# File 'lib/rest/v1/derivatives.rb', line 354 def derivatives_futures_open_interest_latest(params={}) authenticated_get("metrics/derivatives/futures_open_interest_latest", params: params) end |
#derivatives_futures_open_interest_perpetual_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
199 200 201 |
# File 'lib/rest/v1/derivatives.rb', line 199 def derivatives_futures_open_interest_perpetual_sum(params={}) authenticated_get("metrics/derivatives/futures_open_interest_perpetual_sum", params: params) end |
#derivatives_futures_open_interest_perpetual_sum_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h"]
285 286 287 |
# File 'lib/rest/v1/derivatives.rb', line 285 def derivatives_futures_open_interest_perpetual_sum_all(params={}) authenticated_get("metrics/derivatives/futures_open_interest_perpetual_sum_all", params: params) end |
#derivatives_futures_open_interest_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
189 190 191 |
# File 'lib/rest/v1/derivatives.rb', line 189 def derivatives_futures_open_interest_sum(params={}) authenticated_get("metrics/derivatives/futures_open_interest_sum", params: params) end |
#derivatives_futures_open_interest_sum_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h"]
276 277 278 |
# File 'lib/rest/v1/derivatives.rb', line 276 def derivatives_futures_open_interest_sum_all(params={}) authenticated_get("metrics/derivatives/futures_open_interest_sum_all", params: params) end |
#derivatives_futures_term_structure(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["USD"]
i: ["10m"]
325 326 327 |
# File 'lib/rest/v1/derivatives.rb', line 325 def derivatives_futures_term_structure(params={}) authenticated_get("metrics/derivatives/futures_term_structure", params: params) end |
#derivatives_futures_term_structure_by_exchange(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["USD"]
i: ["10m"]
335 336 337 |
# File 'lib/rest/v1/derivatives.rb', line 335 def derivatives_futures_term_structure_by_exchange(params={}) authenticated_get("metrics/derivatives/futures_term_structure_by_exchange", params: params) end |
#derivatives_futures_volume_daily_latest(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["10m"]
363 364 365 |
# File 'lib/rest/v1/derivatives.rb', line 363 def derivatives_futures_volume_daily_latest(params={}) authenticated_get("metrics/derivatives/futures_volume_daily_latest", params: params) end |
#derivatives_futures_volume_daily_perpetual_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
179 180 181 |
# File 'lib/rest/v1/derivatives.rb', line 179 def derivatives_futures_volume_daily_perpetual_sum(params={}) authenticated_get("metrics/derivatives/futures_volume_daily_perpetual_sum", params: params) end |
#derivatives_futures_volume_daily_perpetual_sum_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h"]
267 268 269 |
# File 'lib/rest/v1/derivatives.rb', line 267 def derivatives_futures_volume_daily_perpetual_sum_all(params={}) authenticated_get("metrics/derivatives/futures_volume_daily_perpetual_sum_all", params: params) end |
#derivatives_futures_volume_daily_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
169 170 171 |
# File 'lib/rest/v1/derivatives.rb', line 169 def derivatives_futures_volume_daily_sum(params={}) authenticated_get("metrics/derivatives/futures_volume_daily_sum", params: params) end |
#derivatives_futures_volume_daily_sum_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h"]
258 259 260 |
# File 'lib/rest/v1/derivatives.rb', line 258 def derivatives_futures_volume_daily_sum_all(params={}) authenticated_get("metrics/derivatives/futures_volume_daily_sum_all", params: params) end |
#derivatives_options_25delta_skew_1_month(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
129 130 131 |
# File 'lib/rest/v1/derivatives.rb', line 129 def (params={}) authenticated_get("metrics/derivatives/options_25delta_skew_1_month", params: params) end |
#derivatives_options_25delta_skew_1_week(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
119 120 121 |
# File 'lib/rest/v1/derivatives.rb', line 119 def (params={}) authenticated_get("metrics/derivatives/options_25delta_skew_1_week", params: params) end |
#derivatives_options_25delta_skew_3_months(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
139 140 141 |
# File 'lib/rest/v1/derivatives.rb', line 139 def (params={}) authenticated_get("metrics/derivatives/options_25delta_skew_3_months", params: params) end |
#derivatives_options_25delta_skew_6_months(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
149 150 151 |
# File 'lib/rest/v1/derivatives.rb', line 149 def (params={}) authenticated_get("metrics/derivatives/options_25delta_skew_6_months", params: params) end |
#derivatives_options_25delta_skew_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
159 160 161 |
# File 'lib/rest/v1/derivatives.rb', line 159 def (params={}) authenticated_get("metrics/derivatives/options_25delta_skew_all", params: params) end |
#derivatives_options_atm_implied_volatility_1_month(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
79 80 81 |
# File 'lib/rest/v1/derivatives.rb', line 79 def (params={}) authenticated_get("metrics/derivatives/options_atm_implied_volatility_1_month", params: params) end |
#derivatives_options_atm_implied_volatility_1_week(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
69 70 71 |
# File 'lib/rest/v1/derivatives.rb', line 69 def (params={}) authenticated_get("metrics/derivatives/options_atm_implied_volatility_1_week", params: params) end |
#derivatives_options_atm_implied_volatility_3_months(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
89 90 91 |
# File 'lib/rest/v1/derivatives.rb', line 89 def (params={}) authenticated_get("metrics/derivatives/options_atm_implied_volatility_3_months", params: params) end |
#derivatives_options_atm_implied_volatility_6_months(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
99 100 101 |
# File 'lib/rest/v1/derivatives.rb', line 99 def (params={}) authenticated_get("metrics/derivatives/options_atm_implied_volatility_6_months", params: params) end |
#derivatives_options_atm_implied_volatility_all(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
109 110 111 |
# File 'lib/rest/v1/derivatives.rb', line 109 def (params={}) authenticated_get("metrics/derivatives/options_atm_implied_volatility_all", params: params) end |
#derivatives_options_open_interest_distribution(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["24h"]
315 316 317 |
# File 'lib/rest/v1/derivatives.rb', line 315 def (params={}) authenticated_get("metrics/derivatives/options_open_interest_distribution", params: params) end |
#derivatives_options_open_interest_put_call_ratio(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
373 374 375 |
# File 'lib/rest/v1/derivatives.rb', line 373 def (params={}) authenticated_get("metrics/derivatives/options_open_interest_put_call_ratio", params: params) end |
#derivatives_options_open_interest_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
305 306 307 |
# File 'lib/rest/v1/derivatives.rb', line 305 def (params={}) authenticated_get("metrics/derivatives/options_open_interest_sum", params: params) end |
#derivatives_options_volume_daily_sum(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
e: exchange name
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m"]
295 296 297 |
# File 'lib/rest/v1/derivatives.rb', line 295 def (params={}) authenticated_get("metrics/derivatives/options_volume_daily_sum", params: params) end |
#derivatives_options_volume_put_call_ratio(params = {}) ⇒ Object
Tier: 3 Params
a: asset symbol
e: exchange name
c: ["NATIVE"]
i: ["1h", "24h", "10m"]
383 384 385 |
# File 'lib/rest/v1/derivatives.rb', line 383 def (params={}) authenticated_get("metrics/derivatives/options_volume_put_call_ratio", params: params) end |