View Javadoc
1   package org.oxerr.huobi.rest.dto.marketdata;
2   
3   import java.math.BigDecimal;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   
7   public class Depth {
8   
9   	private final BigDecimal[][] asks;
10  	private final BigDecimal[][] bids;
11  
12  	public Depth(
13  			@JsonProperty("asks") final BigDecimal[][] asks,
14  			@JsonProperty("bids") final BigDecimal[][] bids) {
15  		this.asks = asks;
16  		this.bids = bids;
17  	}
18  
19  	public BigDecimal[][] getAsks() {
20  		return asks;
21  	}
22  
23  	public BigDecimal[][] getBids() {
24  		return bids;
25  	}
26  
27  }