Helius
2020-05-27 2dd3a086f2edeb9f364935c3fb98f18c2eea2fa8
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
package com.xcong.excoin.utils.api.response;
 
public class DepthResponse<T> {
 
 
    /**
     * status : ok
     * ch : market.btcusdt.depth.step1
     * ts : 1489472598812
     * tick : {"id":"1489464585407","ts":"1489464585407","bids":[[7964,0.0678],[7963,0.9162]],"asks":[[7979,0.0736],[8020,13.6584]]}
     */
 
    private String status;
    private String ch;
    private String ts;
    public String errCode;
    public String errMsg;
 
    /**
     * tick 说明:
     * "tick": {
     * "id": 消息id,
     * "ts": 消息生成时间,单位:毫秒,
     * "bids": 买盘,[price(成交价), amount(成交量)], 按price降序,
     * "asks": 卖盘,[price(成交价), amount(成交量)], 按price升序
     * }
     */
    private Depth tick;
 
 
    public String getStatus() {
        return status;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public String getCh() {
        return ch;
    }
 
    public void setCh(String ch) {
        this.ch = ch;
    }
 
    public String getTs() {
        return ts;
    }
 
    public void setTs(String ts) {
        this.ts = ts;
    }
 
    public Depth getTick() {
        return tick;
    }
 
    public void setTick(Depth tick) {
        this.tick = tick;
    }
 
    public String getErrCode() {
        return errCode;
    }
 
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
 
    public String getErrMsg() {
        return errMsg;
    }
 
    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}