-
Notifications
You must be signed in to change notification settings - Fork 1
/
bubble500.cs
151 lines (134 loc) · 4.32 KB
/
bubble500.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace update_pairs
{
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class Performance
{
public double? hour { get; set; }
public double? day { get; set; }
public double? week { get; set; }
public double? month { get; set; }
public double? year { get; set; }
public double? min15 { get; set; }
public double? min5 { get; set; }
}
public class Usd
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Aud
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Cad
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Eur
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Gbp
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Pln
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Rub
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Inr
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Try
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Brl
{
public double price { get; set; }
public object marketcap { get; set; }
public object volume { get; set; }
public Performance performance { get; set; }
}
public class Btc
{
public double price { get; set; }
public int marketcap { get; set; }
public int volume { get; set; }
public Performance performance { get; set; }
}
public class Eth
{
public double price { get; set; }
public int marketcap { get; set; }
public int volume { get; set; }
public Performance performance { get; set; }
}
public class Data
{
public Usd usd { get; set; }
public Aud aud { get; set; }
public Cad cad { get; set; }
public Eur eur { get; set; }
public Gbp gbp { get; set; }
public Pln pln { get; set; }
public Rub rub { get; set; }
public Inr inr { get; set; }
public Try @try { get; set; }
public Brl brl { get; set; }
public Btc btc { get; set; }
public Eth eth { get; set; }
}
public class Bubble500Root
{
public string id { get; set; }
public string name { get; set; }
public string slug { get; set; }
public int rank { get; set; }
public string symbol { get; set; }
public string binanceSymbol { get; set; }
public string kucoinSymbol { get; set; }
public string gateioSymbol { get; set; }
public string coinbaseSymbol { get; set; }
public string ftxSymbol { get; set; }
public string image { get; set; }
public double dominance { get; set; }
public Data data { get; set; }
}
}