zj
2024-06-03 7479d2c5169265cf29e432a30b22c31073106751
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
package com.nq.pojo;
 
import java.util.List;
 
public class HBData {
 
 
    /**
     * ch : market.btcusdt.detail.merged
     * status : ok
     * ts : 1711452466761
     * tick : {"id":339321896246,"version":339321896246,"open":66860.62,"close":70754.98,"low":66750.01,"high":71540.34,"amount":4448.863696904556,"vol":3.091908139344081E8,"count":178297,"bid":[70754.97,0.298382],"ask":[70754.98,0.637937]}
     */
 
    private String ch;
    private String status;
    private long ts;
    private TickBean tick;
 
    public String getCh() {
        return ch;
    }
 
    public void setCh(String ch) {
        this.ch = ch;
    }
 
    public String getStatus() {
        return status;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public long getTs() {
        return ts;
    }
 
    public void setTs(long ts) {
        this.ts = ts;
    }
 
    public TickBean getTick() {
        return tick;
    }
 
    public void setTick(TickBean tick) {
        this.tick = tick;
    }
 
    public static class TickBean {
        /**
         * id : 339321896246
         * version : 339321896246
         * open : 66860.62
         * close : 70754.98
         * low : 66750.01
         * high : 71540.34
         * amount : 4448.863696904556
         * vol : 3.091908139344081E8
         * count : 178297
         * bid : [70754.97,0.298382]
         * ask : [70754.98,0.637937]
         */
 
        private long id;
        private long version;
        private double open;
        private double close;
        private double low;
        private double high;
        private double amount;
        private double vol;
        private int count;
 
 
        public long getId() {
            return id;
        }
 
        public void setId(long id) {
            this.id = id;
        }
 
        public long getVersion() {
            return version;
        }
 
        public void setVersion(long version) {
            this.version = version;
        }
 
        public double getOpen() {
            return open;
        }
 
        public void setOpen(double open) {
            this.open = open;
        }
 
        public double getClose() {
            return close;
        }
 
        public void setClose(double close) {
            this.close = close;
        }
 
        public double getLow() {
            return low;
        }
 
        public void setLow(double low) {
            this.low = low;
        }
 
        public double getHigh() {
            return high;
        }
 
        public void setHigh(double high) {
            this.high = high;
        }
 
        public double getAmount() {
            return amount;
        }
 
        public void setAmount(double amount) {
            this.amount = amount;
        }
 
        public double getVol() {
            return vol;
        }
 
        public void setVol(double vol) {
            this.vol = vol;
        }
 
        public int getCount() {
            return count;
        }
 
        public void setCount(int count) {
            this.count = count;
        }
    }
}