-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathChartStockData.java
95 lines (49 loc) · 2.03 KB
/
ChartStockData.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
public class ChartStockData {
private String date;
public String getDate() { return this.date; }
public void setDate(String date) { this.date = date; }
private double open;
public double getOpen() { return this.open; }
public void setOpen(double open) { this.open = open; }
private double high;
public double getHigh() { return this.high; }
public void setHigh(double high) { this.high = high; }
private double low;
public double getLow() { return this.low; }
public void setLow(double low) { this.low = low; }
private double close;
public double getClose() { return this.close; }
public void setClose(double close) { this.close = close; }
private int volume;
public int getVolume() { return this.volume; }
public void setVolume(int volume) { this.volume = volume; }
private int unadjustedVolume;
public int getUnadjustedVolume() { return this.unadjustedVolume; }
public void setUnadjustedVolume(int unadjustedVolume) { this.unadjustedVolume = unadjustedVolume; }
private double change;
public double getChange() { return this.change; }
public void setChange(double change) { this.change = change; }
private double changePercent;
public double getChangePercent() { return this.changePercent; }
public void setChangePercent(double changePercent) { this.changePercent = changePercent; }
private double vwap;
public double getVwap() { return this.vwap; }
public void setVwap(double vwap) { this.vwap = vwap; }
private String label;
public String getLabel() { return this.label; }
public void setLabel(String label) { this.label = label; }
private double changeOverTime;
public double getChangeOverTime() { return this.changeOverTime; }
public void setChangeOverTime(int changeOverTime) { this.changeOverTime = changeOverTime; }
//------------------------------
private double RSI;
public double getRSI() {
return RSI;
}
public void setRSI(double RSI) {
this.RSI = RSI;
}
public String toString() {
return Double.toString(RSI);
}
}