-
Notifications
You must be signed in to change notification settings - Fork 2
/
StockData.java
242 lines (240 loc) · 5.78 KB
/
StockData.java
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
public class StockData{
private String symbol;
private String companyName;
private String primaryExchange;
private String sector;
private String calculationPrice;
private double open;
private long openTime;
private double close;
private long closeTime;
private double latestPrice;
private String latestSource;
private String latestTime;
private long latestUpdate;
private long latestVolume;
private double iexRealtimePrice;
private long iexRealtimeSize;
private long iexLastUpdated;
private double delayedPrice;
private long delayedPriceTime;
private double previousClose;
private double change;
private double changePercent;
private double iexMarketPercent;
private long iexVolume;
private long avgTotalVolume;
private double iexBidPrice;
private long iexBidSize;
private double iexAskPrice;
private long iexAskSize;
private long marketCap;
private double peRatio;
private double week52High;
private double week52Low;
private double ytdChange;
public String getSymbol(){
return symbol;
}
public void setSymbol(String input){
this.symbol = input;
}
public String getCompanyName(){
return companyName;
}
public void setCompanyName(String input){
this.companyName = input;
}
public String getPrimaryExchange(){
return primaryExchange;
}
public void setPrimaryExchange(String input){
this.primaryExchange = input;
}
public String getSector(){
return sector;
}
public void setSector(String input){
this.sector = input;
}
public String getCalculationPrice(){
return calculationPrice;
}
public void setCalculationPrice(String input){
this.calculationPrice = input;
}
public double getOpen(){
return open;
}
public void setOpen(int input){
this.open = input;
}
public long getOpenTime(){
return openTime;
}
public void setOpenTime(int input){
this.openTime = input;
}
public double getClose(){
return close;
}
public void setClose(int input){
this.close = input;
}
public long getCloseTime(){
return closeTime;
}
public void setCloseTime(int input){
this.closeTime = input;
}
public double getLatestPrice(){
return latestPrice;
}
public void setLatestPrice(int input){
this.latestPrice = input;
}
public String getLatestSource(){
return latestSource;
}
public void setLatestSource(String input){
this.latestSource = input;
}
public String getLatestTime(){
return latestTime;
}
public void setLatestTime(String input){
this.latestTime = input;
}
public long getLatestUpdate(){
return latestUpdate;
}
public void setLatestUpdate(int input){
this.latestUpdate = input;
}
public long getLatestVolume(){
return latestVolume;
}
public void setLatestVolume(int input){
this.latestVolume = input;
}
public double getIexRealtimePrice(){
return iexRealtimePrice;
}
public void setIexRealtimePrice(int input){
this.iexRealtimePrice = input;
}
public long getIexRealtimeSize(){
return iexRealtimeSize;
}
public void setIexRealtimeSize(int input){
this.iexRealtimeSize = input;
}
public long getIexLastUpdated(){
return iexLastUpdated;
}
public void setIexLastUpdated(int input){
this.iexLastUpdated = input;
}
public double getDelayedPrice(){
return delayedPrice;
}
public void setDelayedPrice(int input){
this.delayedPrice = input;
}
public long getDelayedPriceTime(){
return delayedPriceTime;
}
public void setDelayedPriceTime(int input){
this.delayedPriceTime = input;
}
public double getPreviousClose(){
return previousClose;
}
public void setPreviousClose(int input){
this.previousClose = input;
}
public double getChange(){
return change;
}
public void setChange(int input){
this.change = input;
}
public double getChangePercent(){
return changePercent;
}
public void setChangePercent(int input){
this.changePercent = input;
}
public double getIexMarketPercent(){
return iexMarketPercent;
}
public void setIexMarketPercent(int input){
this.iexMarketPercent = input;
}
public long getIexVolume(){
return iexVolume;
}
public void setIexVolume(int input){
this.iexVolume = input;
}
public long getAvgTotalVolume(){
return avgTotalVolume;
}
public void setAvgTotalVolume(int input){
this.avgTotalVolume = input;
}
public double getIexBidPrice(){
return iexBidPrice;
}
public void setIexBidPrice(int input){
this.iexBidPrice = input;
}
public long getIexBidSize(){
return iexBidSize;
}
public void setIexBidSize(int input){
this.iexBidSize = input;
}
public double getIexAskPrice(){
return iexAskPrice;
}
public void setIexAskPrice(int input){
this.iexAskPrice = input;
}
public long getIexAskSize(){
return iexAskSize;
}
public void setIexAskSize(int input){
this.iexAskSize = input;
}
public long getMarketCap(){
return marketCap;
}
public void setMarketCap(int input){
this.marketCap = input;
}
public double getPeRatio(){
return peRatio;
}
public void setPeRatio(int input){
this.peRatio = input;
}
public double getWeek52High(){
return week52High;
}
public void setWeek52High(int input){
this.week52High = input;
}
public double getWeek52Low(){
return week52Low;
}
public void setWeek52Low(int input){
this.week52Low = input;
}
public double getYtdChange(){
return ytdChange;
}
public void setYtdChange(int input){
this.ytdChange = input;
}
}