public class ReqMarketDepthTopPayload extends AbstractPayload implements Depth
ReqMarketDepthTopResponse
.Constructor and Description |
---|
ReqMarketDepthTopPayload(String symbolId,
long time,
long version,
String bidName,
BigDecimal[] bidPrice,
BigDecimal[] bidTotal,
BigDecimal[] bidAmount,
String askName,
BigDecimal[] askPrice,
BigDecimal[] askTotal,
BigDecimal[] askAmount)
Top条行情深度
|
Modifier and Type | Method and Description |
---|---|
BigDecimal[] |
getAskAmount() |
String |
getAskName() |
BigDecimal[] |
getAskPrice() |
BigDecimal[] |
getAskTotal() |
BigDecimal[] |
getBidAmount() |
String |
getBidName() |
BigDecimal[] |
getBidPrice() |
BigDecimal[] |
getBidTotal() |
String |
getSymbolId() |
long |
getTime() |
long |
getVersion() |
void |
merge(DepthDiff diff) |
toString
public ReqMarketDepthTopPayload(String symbolId, long time, long version, String bidName, BigDecimal[] bidPrice, BigDecimal[] bidTotal, BigDecimal[] bidAmount, String askName, BigDecimal[] askPrice, BigDecimal[] askTotal, BigDecimal[] askAmount)
symbolId
- 交易代码time
- 时间version
- 快照版本,方便进行差量更新,如果终端的最后快照版本不一致,则需要重新获取最新完整行情深度。bidName
- 买单文字描述bidPrice
- 买单价格bidTotal
- 累计买单量bidAmount
- 买单量askName
- 卖单文字描述askPrice
- 卖单价格askTotal
- 累计卖单量askAmount
- 卖单量public String getSymbolId()
getSymbolId
in interface Depth
public long getVersion()
getVersion
in interface Depth
public String getBidName()
public BigDecimal[] getBidPrice()
getBidPrice
in interface Depth
public BigDecimal[] getBidTotal()
public BigDecimal[] getBidAmount()
getBidAmount
in interface Depth
public String getAskName()
public BigDecimal[] getAskPrice()
getAskPrice
in interface Depth
public BigDecimal[] getAskTotal()
public BigDecimal[] getAskAmount()
getAskAmount
in interface Depth
Copyright © 2014–2015. All rights reserved.