glassnode 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/errors.rb +34 -0
- data/lib/glassnode.rb +11 -0
- data/lib/rest/rest_client.rb +39 -0
- data/lib/rest/v1/addresses.rb +356 -0
- data/lib/rest/v1/assets.rb +10 -0
- data/lib/rest/v1/blockchain.rb +167 -0
- data/lib/rest/v1/defi.rb +14 -0
- data/lib/rest/v1/derivatives.rb +388 -0
- data/lib/rest/v1/distribution.rb +144 -0
- data/lib/rest/v1/entities.rb +167 -0
- data/lib/rest/v1/eth2.rb +77 -0
- data/lib/rest/v1/fees.rb +149 -0
- data/lib/rest/v1/indicators.rb +896 -0
- data/lib/rest/v1/institutions.rb +293 -0
- data/lib/rest/v1/lightning.rb +95 -0
- data/lib/rest/v1/market.rb +140 -0
- data/lib/rest/v1/mempool.rb +95 -0
- data/lib/rest/v1/mining.rb +95 -0
- data/lib/rest/v1/protocols.rb +32 -0
- data/lib/rest/v1/supply.rb +437 -0
- data/lib/rest/v1/transactions.rb +496 -0
- data/lib/rest/v1.rb +66 -0
- data/lib/rest/v2/endpoints.rb +10 -0
- data/lib/rest/v2.rb +33 -0
- metadata +227 -0
@@ -0,0 +1,896 @@
|
|
1
|
+
module Glassnode
|
2
|
+
module RESTv1Indicators
|
3
|
+
|
4
|
+
#Tier: 2
|
5
|
+
#Params
|
6
|
+
# a: asset symbol
|
7
|
+
# c: ["NATIVE"]
|
8
|
+
# i: ["1h", "24h"]
|
9
|
+
def rhodl_ratio(params={})
|
10
|
+
authenticated_get("metrics/indicators/rhodl_ratio", params: params).body
|
11
|
+
end
|
12
|
+
|
13
|
+
#Tier: 2
|
14
|
+
#Params
|
15
|
+
# a: asset symbol
|
16
|
+
# c: ["NATIVE"]
|
17
|
+
# i: ["24h"]
|
18
|
+
def cvdd(params={})
|
19
|
+
authenticated_get("metrics/indicators/cvdd", params: params).body
|
20
|
+
end
|
21
|
+
|
22
|
+
#Tier: 2
|
23
|
+
#Params
|
24
|
+
# a: asset symbol
|
25
|
+
# c: ["NATIVE"]
|
26
|
+
# i: ["24h"]
|
27
|
+
def balanced_price_usd(params={})
|
28
|
+
authenticated_get("metrics/indicators/balanced_price_usd", params: params).body
|
29
|
+
end
|
30
|
+
|
31
|
+
#Tier: 2
|
32
|
+
#Params
|
33
|
+
# a: asset symbol
|
34
|
+
# c: ["NATIVE"]
|
35
|
+
# i: ["1h", "24h"]
|
36
|
+
def hash_ribbon(params={})
|
37
|
+
authenticated_get("metrics/indicators/hash_ribbon", params: params).body
|
38
|
+
end
|
39
|
+
|
40
|
+
#Tier: 1
|
41
|
+
#Params
|
42
|
+
# a: asset symbol
|
43
|
+
# c: ["NATIVE"]
|
44
|
+
# i: ["24h"]
|
45
|
+
def difficulty_ribbon(params={})
|
46
|
+
authenticated_get("metrics/indicators/difficulty_ribbon", params: params).body
|
47
|
+
end
|
48
|
+
|
49
|
+
#Tier: 2
|
50
|
+
#Params
|
51
|
+
# a: asset symbol
|
52
|
+
# c: ["NATIVE"]
|
53
|
+
# i: ["24h"]
|
54
|
+
def difficulty_ribbon_compression(params={})
|
55
|
+
authenticated_get("metrics/indicators/difficulty_ribbon_compression", params: params).body
|
56
|
+
end
|
57
|
+
|
58
|
+
#Tier: 2
|
59
|
+
#Params
|
60
|
+
# a: asset symbol
|
61
|
+
# c: ["NATIVE"]
|
62
|
+
# i: ["1h", "24h", "10m"]
|
63
|
+
def nvt(params={})
|
64
|
+
authenticated_get("metrics/indicators/nvt", params: params).body
|
65
|
+
end
|
66
|
+
|
67
|
+
#Tier: 2
|
68
|
+
#Params
|
69
|
+
# a: asset symbol
|
70
|
+
# c: ["NATIVE"]
|
71
|
+
# i: ["1h", "24h", "10m"]
|
72
|
+
def nvts(params={})
|
73
|
+
authenticated_get("metrics/indicators/nvts", params: params).body
|
74
|
+
end
|
75
|
+
|
76
|
+
#Tier: 2
|
77
|
+
#Params
|
78
|
+
# a: asset symbol
|
79
|
+
# c: ["NATIVE"]
|
80
|
+
# i: ["1h", "24h", "10m"]
|
81
|
+
def velocity(params={})
|
82
|
+
authenticated_get("metrics/indicators/velocity", params: params).body
|
83
|
+
end
|
84
|
+
|
85
|
+
#Tier: 3
|
86
|
+
#Params
|
87
|
+
# a: asset symbol
|
88
|
+
# c: ["NATIVE"]
|
89
|
+
# i: ["1h", "24h"]
|
90
|
+
def nvt_entity_adjusted(params={})
|
91
|
+
authenticated_get("metrics/indicators/nvt_entity_adjusted", params: params).body
|
92
|
+
end
|
93
|
+
|
94
|
+
#Tier: 2
|
95
|
+
#Params
|
96
|
+
# a: asset symbol
|
97
|
+
# c: ["NATIVE"]
|
98
|
+
# i: ["1h", "24h", "10m"]
|
99
|
+
def cdd_supply_adjusted(params={})
|
100
|
+
authenticated_get("metrics/indicators/cdd_supply_adjusted", params: params).body
|
101
|
+
end
|
102
|
+
|
103
|
+
#Tier: 2
|
104
|
+
#Params
|
105
|
+
# a: asset symbol
|
106
|
+
# c: ["NATIVE"]
|
107
|
+
# i: ["1h", "24h", "10m"]
|
108
|
+
def cdd_supply_adjusted_binary(params={})
|
109
|
+
authenticated_get("metrics/indicators/cdd_supply_adjusted_binary", params: params).body
|
110
|
+
end
|
111
|
+
|
112
|
+
#Tier: 2
|
113
|
+
#Params
|
114
|
+
# a: asset symbol
|
115
|
+
# c: ["NATIVE"]
|
116
|
+
# i: ["1h", "24h", "10m"]
|
117
|
+
def average_dormancy_supply_adjusted(params={})
|
118
|
+
authenticated_get("metrics/indicators/average_dormancy_supply_adjusted", params: params).body
|
119
|
+
end
|
120
|
+
|
121
|
+
#Tier: 3
|
122
|
+
#Params
|
123
|
+
# a: asset symbol
|
124
|
+
# c: ["NATIVE"]
|
125
|
+
# i: ["1h", "24h"]
|
126
|
+
def spent_output_price_distribution_ath(params={})
|
127
|
+
authenticated_get("metrics/indicators/spent_output_price_distribution_ath", params: params).body
|
128
|
+
end
|
129
|
+
|
130
|
+
#Tier: 3
|
131
|
+
#Params
|
132
|
+
# a: asset symbol
|
133
|
+
# c: ["NATIVE"]
|
134
|
+
# i: ["1h", "24h"]
|
135
|
+
def spent_output_price_distribution_percent(params={})
|
136
|
+
authenticated_get("metrics/indicators/spent_output_price_distribution_percent", params: params).body
|
137
|
+
end
|
138
|
+
|
139
|
+
#Tier: 2
|
140
|
+
#Params
|
141
|
+
# a: asset symbol
|
142
|
+
# c: ["NATIVE"]
|
143
|
+
# i: ["24h"]
|
144
|
+
def puell_multiple(params={})
|
145
|
+
authenticated_get("metrics/indicators/puell_multiple", params: params).body
|
146
|
+
end
|
147
|
+
|
148
|
+
#Tier: 2
|
149
|
+
#Params
|
150
|
+
# a: asset symbol
|
151
|
+
# c: ["NATIVE"]
|
152
|
+
# i: ["1h", "24h"]
|
153
|
+
def sopr_adjusted(params={})
|
154
|
+
authenticated_get("metrics/indicators/sopr_adjusted", params: params).body
|
155
|
+
end
|
156
|
+
|
157
|
+
#Tier: 2
|
158
|
+
#Params
|
159
|
+
# a: asset symbol
|
160
|
+
# c: ["NATIVE"]
|
161
|
+
# i: ["1h", "24h"]
|
162
|
+
def reserve_risk(params={})
|
163
|
+
authenticated_get("metrics/indicators/reserve_risk", params: params).body
|
164
|
+
end
|
165
|
+
|
166
|
+
#Tier: 3
|
167
|
+
#Params
|
168
|
+
# a: asset symbol
|
169
|
+
# c: ["NATIVE"]
|
170
|
+
# i: ["1h", "24h"]
|
171
|
+
def sopr_less_155(params={})
|
172
|
+
authenticated_get("metrics/indicators/sopr_less_155", params: params).body
|
173
|
+
end
|
174
|
+
|
175
|
+
#Tier: 3
|
176
|
+
#Params
|
177
|
+
# a: asset symbol
|
178
|
+
# c: ["NATIVE"]
|
179
|
+
# i: ["1h", "24h"]
|
180
|
+
def sopr_more_155(params={})
|
181
|
+
authenticated_get("metrics/indicators/sopr_more_155", params: params).body
|
182
|
+
end
|
183
|
+
|
184
|
+
#Tier: 3
|
185
|
+
#Params
|
186
|
+
# a: asset symbol
|
187
|
+
# c: ["NATIVE"]
|
188
|
+
# i: ["1h", "24h"]
|
189
|
+
def hodler_net_position_change(params={})
|
190
|
+
authenticated_get("metrics/indicators/hodler_net_position_change", params: params).body
|
191
|
+
end
|
192
|
+
|
193
|
+
#Tier: 3
|
194
|
+
#Params
|
195
|
+
# a: asset symbol
|
196
|
+
# c: ["NATIVE"]
|
197
|
+
# i: ["1h", "24h"]
|
198
|
+
def hodled_lost_coins(params={})
|
199
|
+
authenticated_get("metrics/indicators/hodled_lost_coins", params: params).body
|
200
|
+
end
|
201
|
+
|
202
|
+
#Tier: 2
|
203
|
+
#Params
|
204
|
+
# a: asset symbol
|
205
|
+
# c: ["NATIVE"]
|
206
|
+
# i: ["24h"]
|
207
|
+
def cyd(params={})
|
208
|
+
authenticated_get("metrics/indicators/cyd", params: params).body
|
209
|
+
end
|
210
|
+
|
211
|
+
#Tier: 2
|
212
|
+
#Params
|
213
|
+
# a: asset symbol
|
214
|
+
# c: ["NATIVE"]
|
215
|
+
# i: ["24h"]
|
216
|
+
def cyd_supply_adjusted(params={})
|
217
|
+
authenticated_get("metrics/indicators/cyd_supply_adjusted", params: params).body
|
218
|
+
end
|
219
|
+
|
220
|
+
#Tier: 3
|
221
|
+
#Params
|
222
|
+
# a: asset symbol
|
223
|
+
# c: ["NATIVE"]
|
224
|
+
# i: ["24h"]
|
225
|
+
def cyd_account_based(params={})
|
226
|
+
authenticated_get("metrics/indicators/cyd_account_based", params: params).body
|
227
|
+
end
|
228
|
+
|
229
|
+
#Tier: 3
|
230
|
+
#Params
|
231
|
+
# a: asset symbol
|
232
|
+
# c: ["NATIVE"]
|
233
|
+
# i: ["24h"]
|
234
|
+
def cyd_account_based_supply_adjusted(params={})
|
235
|
+
authenticated_get("metrics/indicators/cyd_account_based_supply_adjusted", params: params).body
|
236
|
+
end
|
237
|
+
|
238
|
+
#Tier: 2
|
239
|
+
#Params
|
240
|
+
# a: asset symbol
|
241
|
+
# c: ["NATIVE"]
|
242
|
+
# i: ["24h"]
|
243
|
+
def cdd90(params={})
|
244
|
+
authenticated_get("metrics/indicators/cdd90", params: params).body
|
245
|
+
end
|
246
|
+
|
247
|
+
#Tier: 2
|
248
|
+
#Params
|
249
|
+
# a: asset symbol
|
250
|
+
# c: ["NATIVE"]
|
251
|
+
# i: ["24h"]
|
252
|
+
def cdd90_age_adjusted(params={})
|
253
|
+
authenticated_get("metrics/indicators/cdd90_age_adjusted", params: params).body
|
254
|
+
end
|
255
|
+
|
256
|
+
#Tier: 3
|
257
|
+
#Params
|
258
|
+
# a: asset symbol
|
259
|
+
# c: ["NATIVE"]
|
260
|
+
# i: ["24h"]
|
261
|
+
def cdd90_account_based_age_adjusted(params={})
|
262
|
+
authenticated_get("metrics/indicators/cdd90_account_based_age_adjusted", params: params).body
|
263
|
+
end
|
264
|
+
|
265
|
+
#Tier: 1
|
266
|
+
#Params
|
267
|
+
# a: asset symbol
|
268
|
+
# c: ["NATIVE"]
|
269
|
+
# i: ["24h", "1h"]
|
270
|
+
def sopr(params={})
|
271
|
+
authenticated_get("metrics/indicators/sopr", params: params).body
|
272
|
+
end
|
273
|
+
|
274
|
+
#Tier: 2
|
275
|
+
#Params
|
276
|
+
# a: asset symbol
|
277
|
+
# c: ["NATIVE"]
|
278
|
+
# i: ["24h", "1h"]
|
279
|
+
def cdd(params={})
|
280
|
+
authenticated_get("metrics/indicators/cdd", params: params).body
|
281
|
+
end
|
282
|
+
|
283
|
+
#Tier: 2
|
284
|
+
#Params
|
285
|
+
# a: asset symbol
|
286
|
+
# c: ["NATIVE"]
|
287
|
+
# i: ["24h", "1h"]
|
288
|
+
def asol(params={})
|
289
|
+
authenticated_get("metrics/indicators/asol", params: params).body
|
290
|
+
end
|
291
|
+
|
292
|
+
#Tier: 2
|
293
|
+
#Params
|
294
|
+
# a: asset symbol
|
295
|
+
# c: ["NATIVE"]
|
296
|
+
# i: ["24h", "1h"]
|
297
|
+
def msol(params={})
|
298
|
+
authenticated_get("metrics/indicators/msol", params: params).body
|
299
|
+
end
|
300
|
+
|
301
|
+
#Tier: 2
|
302
|
+
#Params
|
303
|
+
# a: asset symbol
|
304
|
+
# c: ["NATIVE"]
|
305
|
+
# i: ["24h", "1h"]
|
306
|
+
def average_dormancy(params={})
|
307
|
+
authenticated_get("metrics/indicators/average_dormancy", params: params).body
|
308
|
+
end
|
309
|
+
|
310
|
+
#Tier: 2
|
311
|
+
#Params
|
312
|
+
# a: asset symbol
|
313
|
+
# c: ["NATIVE"]
|
314
|
+
# i: ["24h", "1h"]
|
315
|
+
def liveliness(params={})
|
316
|
+
authenticated_get("metrics/indicators/liveliness", params: params).body
|
317
|
+
end
|
318
|
+
|
319
|
+
#Tier: 2
|
320
|
+
#Params
|
321
|
+
# a: asset symbol
|
322
|
+
# c: ["NATIVE"]
|
323
|
+
# i: ["24h", "1h"]
|
324
|
+
def unrealized_profit(params={})
|
325
|
+
authenticated_get("metrics/indicators/unrealized_profit", params: params).body
|
326
|
+
end
|
327
|
+
|
328
|
+
#Tier: 2
|
329
|
+
#Params
|
330
|
+
# a: asset symbol
|
331
|
+
# c: ["NATIVE"]
|
332
|
+
# i: ["24h", "1h"]
|
333
|
+
def unrealized_loss(params={})
|
334
|
+
authenticated_get("metrics/indicators/unrealized_loss", params: params).body
|
335
|
+
end
|
336
|
+
|
337
|
+
#Tier: 2
|
338
|
+
#Params
|
339
|
+
# a: asset symbol
|
340
|
+
# c: ["NATIVE"]
|
341
|
+
# i: ["24h", "1h"]
|
342
|
+
def net_unrealized_profit_loss(params={})
|
343
|
+
authenticated_get("metrics/indicators/net_unrealized_profit_loss", params: params).body
|
344
|
+
end
|
345
|
+
|
346
|
+
#Tier: 3
|
347
|
+
#Params
|
348
|
+
# a: asset symbol
|
349
|
+
# c: ["NATIVE"]
|
350
|
+
# i: ["24h", "1h"]
|
351
|
+
def nupl_less_155(params={})
|
352
|
+
authenticated_get("metrics/indicators/nupl_less_155", params: params).body
|
353
|
+
end
|
354
|
+
|
355
|
+
#Tier: 3
|
356
|
+
#Params
|
357
|
+
# a: asset symbol
|
358
|
+
# c: ["NATIVE"]
|
359
|
+
# i: ["24h", "1h"]
|
360
|
+
def nupl_more_155(params={})
|
361
|
+
authenticated_get("metrics/indicators/nupl_more_155", params: params).body
|
362
|
+
end
|
363
|
+
|
364
|
+
#Tier: 3
|
365
|
+
#Params
|
366
|
+
# a: asset symbol
|
367
|
+
# c: ["NATIVE"]
|
368
|
+
# i: ["24h"]
|
369
|
+
def sopr_account_based(params={})
|
370
|
+
authenticated_get("metrics/indicators/sopr_account_based", params: params).body
|
371
|
+
end
|
372
|
+
|
373
|
+
#Tier: 3
|
374
|
+
#Params
|
375
|
+
# a: asset symbol
|
376
|
+
# c: ["NATIVE"]
|
377
|
+
# i: ["24h"]
|
378
|
+
def cdd_account_based(params={})
|
379
|
+
authenticated_get("metrics/indicators/cdd_account_based", params: params).body
|
380
|
+
end
|
381
|
+
|
382
|
+
#Tier: 3
|
383
|
+
#Params
|
384
|
+
# a: asset symbol
|
385
|
+
# c: ["NATIVE"]
|
386
|
+
# i: ["24h"]
|
387
|
+
def asol_account_based(params={})
|
388
|
+
authenticated_get("metrics/indicators/asol_account_based", params: params).body
|
389
|
+
end
|
390
|
+
|
391
|
+
#Tier: 3
|
392
|
+
#Params
|
393
|
+
# a: asset symbol
|
394
|
+
# c: ["NATIVE"]
|
395
|
+
# i: ["24h"]
|
396
|
+
def msol_account_based(params={})
|
397
|
+
authenticated_get("metrics/indicators/msol_account_based", params: params).body
|
398
|
+
end
|
399
|
+
|
400
|
+
#Tier: 3
|
401
|
+
#Params
|
402
|
+
# a: asset symbol
|
403
|
+
# c: ["NATIVE"]
|
404
|
+
# i: ["24h"]
|
405
|
+
def dormancy_account_based(params={})
|
406
|
+
authenticated_get("metrics/indicators/dormancy_account_based", params: params).body
|
407
|
+
end
|
408
|
+
|
409
|
+
#Tier: 2
|
410
|
+
#Params
|
411
|
+
# a: asset symbol
|
412
|
+
# c: ["NATIVE"]
|
413
|
+
# i: ["24h"]
|
414
|
+
def dormancy_flow(params={})
|
415
|
+
authenticated_get("metrics/indicators/dormancy_flow", params: params).body
|
416
|
+
end
|
417
|
+
|
418
|
+
#Tier: 3
|
419
|
+
#Params
|
420
|
+
# a: asset symbol
|
421
|
+
# c: ["NATIVE"]
|
422
|
+
# i: ["24h"]
|
423
|
+
def liveliness_account_based(params={})
|
424
|
+
authenticated_get("metrics/indicators/liveliness_account_based", params: params).body
|
425
|
+
end
|
426
|
+
|
427
|
+
#Tier: 3
|
428
|
+
#Params
|
429
|
+
# a: asset symbol
|
430
|
+
# c: ["NATIVE"]
|
431
|
+
# i: ["24h"]
|
432
|
+
def mvrv_account_based(params={})
|
433
|
+
authenticated_get("metrics/indicators/mvrv_account_based", params: params).body
|
434
|
+
end
|
435
|
+
|
436
|
+
#Tier: 3
|
437
|
+
#Params
|
438
|
+
# a: asset symbol
|
439
|
+
# c: ["NATIVE"]
|
440
|
+
# i: ["24h"]
|
441
|
+
def rcap_account_based(params={})
|
442
|
+
authenticated_get("metrics/indicators/rcap_account_based", params: params).body
|
443
|
+
end
|
444
|
+
|
445
|
+
#Tier: 3
|
446
|
+
#Params
|
447
|
+
# a: asset symbol
|
448
|
+
# c: ["NATIVE"]
|
449
|
+
# i: ["24h"]
|
450
|
+
def unrealized_profit_account_based(params={})
|
451
|
+
authenticated_get("metrics/indicators/unrealized_profit_account_based", params: params).body
|
452
|
+
end
|
453
|
+
|
454
|
+
#Tier: 3
|
455
|
+
#Params
|
456
|
+
# a: asset symbol
|
457
|
+
# c: ["NATIVE"]
|
458
|
+
# i: ["24h"]
|
459
|
+
def unrealized_loss_account_based(params={})
|
460
|
+
authenticated_get("metrics/indicators/unrealized_loss_account_based", params: params).body
|
461
|
+
end
|
462
|
+
|
463
|
+
#Tier: 3
|
464
|
+
#Params
|
465
|
+
# a: asset symbol
|
466
|
+
# c: ["NATIVE"]
|
467
|
+
# i: ["24h"]
|
468
|
+
def net_unrealized_profit_loss_account_based(params={})
|
469
|
+
authenticated_get("metrics/indicators/net_unrealized_profit_loss_account_based", params: params).body
|
470
|
+
end
|
471
|
+
|
472
|
+
#Tier: 3
|
473
|
+
#Params
|
474
|
+
# a: asset symbol
|
475
|
+
# c: ["NATIVE"]
|
476
|
+
# i: ["24h"]
|
477
|
+
def nupl_less_155_account_based(params={})
|
478
|
+
authenticated_get("metrics/indicators/nupl_less_155_account_based", params: params).body
|
479
|
+
end
|
480
|
+
|
481
|
+
#Tier: 3
|
482
|
+
#Params
|
483
|
+
# a: asset symbol
|
484
|
+
# c: ["NATIVE"]
|
485
|
+
# i: ["24h"]
|
486
|
+
def nupl_more_155_account_based(params={})
|
487
|
+
authenticated_get("metrics/indicators/nupl_more_155_account_based", params: params).body
|
488
|
+
end
|
489
|
+
|
490
|
+
#Tier: 2
|
491
|
+
#Params
|
492
|
+
# a: asset symbol
|
493
|
+
# c: ["USD"]
|
494
|
+
# i: ["1h", "24h"]
|
495
|
+
def net_realized_profit_loss(params={})
|
496
|
+
authenticated_get("metrics/indicators/net_realized_profit_loss", params: params).body
|
497
|
+
end
|
498
|
+
|
499
|
+
#Tier: 2
|
500
|
+
#Params
|
501
|
+
# a: asset symbol
|
502
|
+
# c: ["NATIVE"]
|
503
|
+
# i: ["1h", "24h"]
|
504
|
+
def realized_profit_loss_ratio(params={})
|
505
|
+
authenticated_get("metrics/indicators/realized_profit_loss_ratio", params: params).body
|
506
|
+
end
|
507
|
+
|
508
|
+
#Tier: 1
|
509
|
+
#Params
|
510
|
+
# a: asset symbol
|
511
|
+
# c: ["NATIVE"]
|
512
|
+
# i: ["24h"]
|
513
|
+
def stock_to_flow_ratio(params={})
|
514
|
+
authenticated_get("metrics/indicators/stock_to_flow_ratio", params: params).body
|
515
|
+
end
|
516
|
+
|
517
|
+
#Tier: 2
|
518
|
+
#Params
|
519
|
+
# a: asset symbol
|
520
|
+
# c: ["NATIVE"]
|
521
|
+
# i: ["1h", "24h"]
|
522
|
+
def stock_to_flow_deflection(params={})
|
523
|
+
authenticated_get("metrics/indicators/stock_to_flow_deflection", params: params).body
|
524
|
+
end
|
525
|
+
|
526
|
+
#Tier: 2
|
527
|
+
#Params
|
528
|
+
# a: asset symbol
|
529
|
+
# c: ["USD"]
|
530
|
+
# i: ["1h", "24h"]
|
531
|
+
def realized_profit(params={})
|
532
|
+
authenticated_get("metrics/indicators/realized_profit", params: params).body
|
533
|
+
end
|
534
|
+
|
535
|
+
#Tier: 2
|
536
|
+
#Params
|
537
|
+
# a: asset symbol
|
538
|
+
# c: ["USD"]
|
539
|
+
# i: ["1h", "24h"]
|
540
|
+
def realized_loss(params={})
|
541
|
+
authenticated_get("metrics/indicators/realized_loss", params: params).body
|
542
|
+
end
|
543
|
+
|
544
|
+
#Tier: 2
|
545
|
+
#Params
|
546
|
+
# a: asset symbol
|
547
|
+
# c: ["NATIVE"]
|
548
|
+
# i: ["1h", "24h"]
|
549
|
+
def ssr(params={})
|
550
|
+
authenticated_get("metrics/indicators/ssr", params: params).body
|
551
|
+
end
|
552
|
+
|
553
|
+
#Tier: 2
|
554
|
+
#Params
|
555
|
+
# a: asset symbol
|
556
|
+
# c: ["NATIVE"]
|
557
|
+
# i: ["1h", "24h"]
|
558
|
+
def ssr_oscillator(params={})
|
559
|
+
authenticated_get("metrics/indicators/ssr_oscillator", params: params).body
|
560
|
+
end
|
561
|
+
|
562
|
+
#Tier: 3
|
563
|
+
#Params
|
564
|
+
# a: asset symbol
|
565
|
+
# c: ["NATIVE"]
|
566
|
+
# i: ["24h"]
|
567
|
+
def utxo_realized_price_distribution_ath(params={})
|
568
|
+
authenticated_get("metrics/indicators/utxo_realized_price_distribution_ath", params: params).body
|
569
|
+
end
|
570
|
+
|
571
|
+
#Tier: 3
|
572
|
+
#Params
|
573
|
+
# a: asset symbol
|
574
|
+
# c: ["NATIVE"]
|
575
|
+
# i: ["24h"]
|
576
|
+
def utxo_realized_price_distribution_percent(params={})
|
577
|
+
authenticated_get("metrics/indicators/utxo_realized_price_distribution_percent", params: params).body
|
578
|
+
end
|
579
|
+
|
580
|
+
#Tier: 3
|
581
|
+
#Params
|
582
|
+
# a: asset symbol
|
583
|
+
# c: ["NATIVE"]
|
584
|
+
# i: ["24h"]
|
585
|
+
def urpd_entity_adjusted(params={})
|
586
|
+
authenticated_get("metrics/indicators/urpd_entity_adjusted", params: params).body
|
587
|
+
end
|
588
|
+
|
589
|
+
#Tier: 2
|
590
|
+
#Params
|
591
|
+
# a: asset symbol
|
592
|
+
# c: ["NATIVE"]
|
593
|
+
# i: ["24h"]
|
594
|
+
def soab(params={})
|
595
|
+
authenticated_get("metrics/indicators/soab", params: params).body
|
596
|
+
end
|
597
|
+
|
598
|
+
#Tier: 2
|
599
|
+
#Params
|
600
|
+
# a: asset symbol
|
601
|
+
# c: ["NATIVE"]
|
602
|
+
# i: ["1h", "24h", "10m"]
|
603
|
+
def sol_1h(params={})
|
604
|
+
authenticated_get("metrics/indicators/sol_1h", params: params).body
|
605
|
+
end
|
606
|
+
|
607
|
+
#Tier: 2
|
608
|
+
#Params
|
609
|
+
# a: asset symbol
|
610
|
+
# c: ["NATIVE"]
|
611
|
+
# i: ["1h", "24h", "10m"]
|
612
|
+
def sol_1h_24h(params={})
|
613
|
+
authenticated_get("metrics/indicators/sol_1h_24h", params: params).body
|
614
|
+
end
|
615
|
+
|
616
|
+
#Tier: 2
|
617
|
+
#Params
|
618
|
+
# a: asset symbol
|
619
|
+
# c: ["NATIVE"]
|
620
|
+
# i: ["1h", "24h", "10m"]
|
621
|
+
def sol_1d_1w(params={})
|
622
|
+
authenticated_get("metrics/indicators/sol_1d_1w", params: params).body
|
623
|
+
end
|
624
|
+
|
625
|
+
#Tier: 2
|
626
|
+
#Params
|
627
|
+
# a: asset symbol
|
628
|
+
# c: ["NATIVE"]
|
629
|
+
# i: ["1h", "24h", "10m"]
|
630
|
+
def sol_1w_1m(params={})
|
631
|
+
authenticated_get("metrics/indicators/sol_1w_1m", params: params).body
|
632
|
+
end
|
633
|
+
|
634
|
+
#Tier: 2
|
635
|
+
#Params
|
636
|
+
# a: asset symbol
|
637
|
+
# c: ["NATIVE"]
|
638
|
+
# i: ["1h", "24h", "10m"]
|
639
|
+
def sol_1m_3m(params={})
|
640
|
+
authenticated_get("metrics/indicators/sol_1m_3m", params: params).body
|
641
|
+
end
|
642
|
+
|
643
|
+
#Tier: 2
|
644
|
+
#Params
|
645
|
+
# a: asset symbol
|
646
|
+
# c: ["NATIVE"]
|
647
|
+
# i: ["1h", "24h", "10m"]
|
648
|
+
def sol_3m_6m(params={})
|
649
|
+
authenticated_get("metrics/indicators/sol_3m_6m", params: params).body
|
650
|
+
end
|
651
|
+
|
652
|
+
#Tier: 2
|
653
|
+
#Params
|
654
|
+
# a: asset symbol
|
655
|
+
# c: ["NATIVE"]
|
656
|
+
# i: ["1h", "24h", "10m"]
|
657
|
+
def sol_6m_12m(params={})
|
658
|
+
authenticated_get("metrics/indicators/sol_6m_12m", params: params).body
|
659
|
+
end
|
660
|
+
|
661
|
+
#Tier: 2
|
662
|
+
#Params
|
663
|
+
# a: asset symbol
|
664
|
+
# c: ["NATIVE"]
|
665
|
+
# i: ["1h", "24h", "10m"]
|
666
|
+
def sol_1y_2y(params={})
|
667
|
+
authenticated_get("metrics/indicators/sol_1y_2y", params: params).body
|
668
|
+
end
|
669
|
+
|
670
|
+
#Tier: 2
|
671
|
+
#Params
|
672
|
+
# a: asset symbol
|
673
|
+
# c: ["NATIVE"]
|
674
|
+
# i: ["1h", "24h", "10m"]
|
675
|
+
def sol_2y_3y(params={})
|
676
|
+
authenticated_get("metrics/indicators/sol_2y_3y", params: params).body
|
677
|
+
end
|
678
|
+
|
679
|
+
#Tier: 2
|
680
|
+
#Params
|
681
|
+
# a: asset symbol
|
682
|
+
# c: ["NATIVE"]
|
683
|
+
# i: ["1h", "24h", "10m"]
|
684
|
+
def sol_3y_5y(params={})
|
685
|
+
authenticated_get("metrics/indicators/sol_3y_5y", params: params).body
|
686
|
+
end
|
687
|
+
|
688
|
+
#Tier: 2
|
689
|
+
#Params
|
690
|
+
# a: asset symbol
|
691
|
+
# c: ["NATIVE"]
|
692
|
+
# i: ["1h", "24h", "10m"]
|
693
|
+
def sol_5y_7y(params={})
|
694
|
+
authenticated_get("metrics/indicators/sol_5y_7y", params: params).body
|
695
|
+
end
|
696
|
+
|
697
|
+
#Tier: 2
|
698
|
+
#Params
|
699
|
+
# a: asset symbol
|
700
|
+
# c: ["NATIVE"]
|
701
|
+
# i: ["1h", "24h", "10m"]
|
702
|
+
def sol_7y_10y(params={})
|
703
|
+
authenticated_get("metrics/indicators/sol_7y_10y", params: params).body
|
704
|
+
end
|
705
|
+
|
706
|
+
#Tier: 2
|
707
|
+
#Params
|
708
|
+
# a: asset symbol
|
709
|
+
# c: ["NATIVE"]
|
710
|
+
# i: ["1h", "24h", "10m"]
|
711
|
+
def sol_more_10y(params={})
|
712
|
+
authenticated_get("metrics/indicators/sol_more_10y", params: params).body
|
713
|
+
end
|
714
|
+
|
715
|
+
#Tier: 2
|
716
|
+
#Params
|
717
|
+
# a: asset symbol
|
718
|
+
# c: ["NATIVE"]
|
719
|
+
# i: ["24h"]
|
720
|
+
def svab(params={})
|
721
|
+
authenticated_get("metrics/indicators/svab", params: params).body
|
722
|
+
end
|
723
|
+
|
724
|
+
#Tier: 2
|
725
|
+
#Params
|
726
|
+
# a: asset symbol
|
727
|
+
# c: ["USD", "NATIVE"]
|
728
|
+
# i: ["1h", "24h", "10m"]
|
729
|
+
def svl_1h(params={})
|
730
|
+
authenticated_get("metrics/indicators/svl_1h", params: params).body
|
731
|
+
end
|
732
|
+
|
733
|
+
#Tier: 2
|
734
|
+
#Params
|
735
|
+
# a: asset symbol
|
736
|
+
# c: ["USD", "NATIVE"]
|
737
|
+
# i: ["1h", "24h", "10m"]
|
738
|
+
def svl_1h_24h(params={})
|
739
|
+
authenticated_get("metrics/indicators/svl_1h_24h", params: params).body
|
740
|
+
end
|
741
|
+
|
742
|
+
#Tier: 2
|
743
|
+
#Params
|
744
|
+
# a: asset symbol
|
745
|
+
# c: ["USD", "NATIVE"]
|
746
|
+
# i: ["1h", "24h", "10m"]
|
747
|
+
def svl_1d_1w(params={})
|
748
|
+
authenticated_get("metrics/indicators/svl_1d_1w", params: params).body
|
749
|
+
end
|
750
|
+
|
751
|
+
#Tier: 2
|
752
|
+
#Params
|
753
|
+
# a: asset symbol
|
754
|
+
# c: ["USD", "NATIVE"]
|
755
|
+
# i: ["1h", "24h", "10m"]
|
756
|
+
def svl_1w_1m(params={})
|
757
|
+
authenticated_get("metrics/indicators/svl_1w_1m", params: params).body
|
758
|
+
end
|
759
|
+
|
760
|
+
#Tier: 2
|
761
|
+
#Params
|
762
|
+
# a: asset symbol
|
763
|
+
# c: ["USD", "NATIVE"]
|
764
|
+
# i: ["1h", "24h", "10m"]
|
765
|
+
def svl_1m_3m(params={})
|
766
|
+
authenticated_get("metrics/indicators/svl_1m_3m", params: params).body
|
767
|
+
end
|
768
|
+
|
769
|
+
#Tier: 2
|
770
|
+
#Params
|
771
|
+
# a: asset symbol
|
772
|
+
# c: ["USD", "NATIVE"]
|
773
|
+
# i: ["1h", "24h", "10m"]
|
774
|
+
def svl_3m_6m(params={})
|
775
|
+
authenticated_get("metrics/indicators/svl_3m_6m", params: params).body
|
776
|
+
end
|
777
|
+
|
778
|
+
#Tier: 2
|
779
|
+
#Params
|
780
|
+
# a: asset symbol
|
781
|
+
# c: ["USD", "NATIVE"]
|
782
|
+
# i: ["1h", "24h", "10m"]
|
783
|
+
def svl_6m_12m(params={})
|
784
|
+
authenticated_get("metrics/indicators/svl_6m_12m", params: params).body
|
785
|
+
end
|
786
|
+
|
787
|
+
#Tier: 2
|
788
|
+
#Params
|
789
|
+
# a: asset symbol
|
790
|
+
# c: ["USD", "NATIVE"]
|
791
|
+
# i: ["1h", "24h", "10m"]
|
792
|
+
def svl_1y_2y(params={})
|
793
|
+
authenticated_get("metrics/indicators/svl_1y_2y", params: params).body
|
794
|
+
end
|
795
|
+
|
796
|
+
#Tier: 2
|
797
|
+
#Params
|
798
|
+
# a: asset symbol
|
799
|
+
# c: ["USD", "NATIVE"]
|
800
|
+
# i: ["1h", "24h", "10m"]
|
801
|
+
def svl_2y_3y(params={})
|
802
|
+
authenticated_get("metrics/indicators/svl_2y_3y", params: params).body
|
803
|
+
end
|
804
|
+
|
805
|
+
#Tier: 2
|
806
|
+
#Params
|
807
|
+
# a: asset symbol
|
808
|
+
# c: ["USD", "NATIVE"]
|
809
|
+
# i: ["1h", "24h", "10m"]
|
810
|
+
def svl_3y_5y(params={})
|
811
|
+
authenticated_get("metrics/indicators/svl_3y_5y", params: params).body
|
812
|
+
end
|
813
|
+
|
814
|
+
#Tier: 2
|
815
|
+
#Params
|
816
|
+
# a: asset symbol
|
817
|
+
# c: ["USD", "NATIVE"]
|
818
|
+
# i: ["1h", "24h", "10m"]
|
819
|
+
def svl_5y_7y(params={})
|
820
|
+
authenticated_get("metrics/indicators/svl_5y_7y", params: params).body
|
821
|
+
end
|
822
|
+
|
823
|
+
#Tier: 2
|
824
|
+
#Params
|
825
|
+
# a: asset symbol
|
826
|
+
# c: ["USD", "NATIVE"]
|
827
|
+
# i: ["1h", "24h", "10m"]
|
828
|
+
def svl_7y_10y(params={})
|
829
|
+
authenticated_get("metrics/indicators/svl_7y_10y", params: params).body
|
830
|
+
end
|
831
|
+
|
832
|
+
#Tier: 2
|
833
|
+
#Params
|
834
|
+
# a: asset symbol
|
835
|
+
# c: ["USD", "NATIVE"]
|
836
|
+
# i: ["1h", "24h", "10m"]
|
837
|
+
def svl_more_10y(params={})
|
838
|
+
authenticated_get("metrics/indicators/svl_more_10y", params: params).body
|
839
|
+
end
|
840
|
+
|
841
|
+
#Tier: 2
|
842
|
+
#Params
|
843
|
+
# a: asset symbol
|
844
|
+
# c: ["NATIVE"]
|
845
|
+
# i: ["1h", "24h"]
|
846
|
+
def bvin(params={})
|
847
|
+
authenticated_get("metrics/indicators/bvin", params: params).body
|
848
|
+
end
|
849
|
+
|
850
|
+
#Tier: 2
|
851
|
+
#Params
|
852
|
+
# a: asset symbol
|
853
|
+
# c: ["USD"]
|
854
|
+
# i: ["24h", "1h"]
|
855
|
+
def investor_capitalization(params={})
|
856
|
+
authenticated_get("metrics/indicators/investor_capitalization", params: params).body
|
857
|
+
end
|
858
|
+
|
859
|
+
#Tier: 2
|
860
|
+
#Params
|
861
|
+
# a: asset symbol
|
862
|
+
# c: ["USD"]
|
863
|
+
# i: ["24h", "1h"]
|
864
|
+
def realized_profits_to_value_ratio(params={})
|
865
|
+
authenticated_get("metrics/indicators/realized_profits_to_value_ratio", params: params).body
|
866
|
+
end
|
867
|
+
|
868
|
+
#Tier: 2
|
869
|
+
#Params
|
870
|
+
# a: asset symbol
|
871
|
+
# c: ["USD"]
|
872
|
+
# i: ["24h"]
|
873
|
+
def seller_exhaustion_constant(params={})
|
874
|
+
authenticated_get("metrics/indicators/seller_exhaustion_constant", params: params).body
|
875
|
+
end
|
876
|
+
|
877
|
+
#Tier: 2
|
878
|
+
#Params
|
879
|
+
# a: asset symbol
|
880
|
+
# c: ["NATIVE"]
|
881
|
+
# i: ["24h"]
|
882
|
+
def accumulation_trend_score(params={})
|
883
|
+
authenticated_get("metrics/indicators/accumulation_trend_score", params: params).body
|
884
|
+
end
|
885
|
+
|
886
|
+
#Tier: 1
|
887
|
+
#Params
|
888
|
+
# a: asset symbol
|
889
|
+
# c: ["NATIVE"]
|
890
|
+
# i: ["24h"]
|
891
|
+
def pi_cycle_top(params={})
|
892
|
+
authenticated_get("metrics/indicators/pi_cycle_top", params: params).body
|
893
|
+
end
|
894
|
+
|
895
|
+
end
|
896
|
+
end
|