Module: Glassnode::RESTv1Market

Included in:
RESTv1
Defined in:
lib/rest/v1/market.rb

Instance Method Summary collapse

Instance Method Details

#market_amer_30d_price_change(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["USD"]
i: ["24h"]


117
118
119
# File 'lib/rest/v1/market.rb', line 117

def market_amer_30d_price_change(params={})
  authenticated_get("metrics/market/amer_30d_price_change", params: params)
end

#market_apac_30d_price_change(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["USD"]
i: ["24h"]


126
127
128
# File 'lib/rest/v1/market.rb', line 126

def market_apac_30d_price_change(params={})
  authenticated_get("metrics/market/apac_30d_price_change", params: params)
end

#market_deltacap_usd(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]


45
46
47
# File 'lib/rest/v1/market.rb', line 45

def market_deltacap_usd(params={})
  authenticated_get("metrics/market/deltacap_usd", params: params)
end

#market_emea_30d_price_change(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["USD"]
i: ["24h"]


135
136
137
# File 'lib/rest/v1/market.rb', line 135

def market_emea_30d_price_change(params={})
  authenticated_get("metrics/market/emea_30d_price_change", params: params)
end

#market_marketcap_realized_usd(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m"]


72
73
74
# File 'lib/rest/v1/market.rb', line 72

def market_marketcap_realized_usd(params={})
  authenticated_get("metrics/market/marketcap_realized_usd", params: params)
end

#market_marketcap_usd(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


54
55
56
# File 'lib/rest/v1/market.rb', line 54

def market_marketcap_usd(params={})
  authenticated_get("metrics/market/marketcap_usd", params: params)
end

#market_mvrv(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m"]


63
64
65
# File 'lib/rest/v1/market.rb', line 63

def market_mvrv(params={})
  authenticated_get("metrics/market/mvrv", params: params)
end

#market_mvrv_less_155(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]


90
91
92
# File 'lib/rest/v1/market.rb', line 90

def market_mvrv_less_155(params={})
  authenticated_get("metrics/market/mvrv_less_155", params: params)
end

#market_mvrv_more_155(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]


99
100
101
# File 'lib/rest/v1/market.rb', line 99

def market_mvrv_more_155(params={})
  authenticated_get("metrics/market/mvrv_more_155", params: params)
end

#market_mvrv_z_score(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m"]


81
82
83
# File 'lib/rest/v1/market.rb', line 81

def market_mvrv_z_score(params={})
  authenticated_get("metrics/market/mvrv_z_score", params: params)
end

#market_price_drawdown_relative(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


36
37
38
# File 'lib/rest/v1/market.rb', line 36

def market_price_drawdown_relative(params={})
  authenticated_get("metrics/market/price_drawdown_relative", params: params)
end

#market_price_realized_usd(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m"]


108
109
110
# File 'lib/rest/v1/market.rb', line 108

def market_price_realized_usd(params={})
  authenticated_get("metrics/market/price_realized_usd", params: params)
end

#market_price_usd(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


9
10
11
# File 'lib/rest/v1/market.rb', line 9

def market_price_usd(params={})
  authenticated_get("metrics/market/price_usd", params: params)
end

#market_price_usd_close(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


18
19
20
# File 'lib/rest/v1/market.rb', line 18

def market_price_usd_close(params={})
  authenticated_get("metrics/market/price_usd_close", params: params)
end

#market_price_usd_ohlc(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]


27
28
29
# File 'lib/rest/v1/market.rb', line 27

def market_price_usd_ohlc(params={})
  authenticated_get("metrics/market/price_usd_ohlc", params: params)
end