public class ReqTradeDetailTopPayload extends AbstractPayload implements TradeDetail
ReqTradeDetailTopResponse
.Constructor and Description |
---|
ReqTradeDetailTopPayload(String symbolId,
long[] tradeId,
BigDecimal[] price,
long[] time,
BigDecimal[] amount,
int[] direction,
Orders[] topAsks,
Orders[] topBids)
交易明细
|
Modifier and Type | Method and Description |
---|---|
BigDecimal[] |
getAmount() |
int[] |
getDirection() |
BigDecimal[] |
getPrice() |
String |
getSymbolId() |
long[] |
getTime() |
Orders[] |
getTopAsks() |
Orders[] |
getTopBids() |
long[] |
getTradeId() |
toString
public ReqTradeDetailTopPayload(String symbolId, long[] tradeId, BigDecimal[] price, long[] time, BigDecimal[] amount, int[] direction, Orders[] topAsks, Orders[] topBids)
symbolId
- 交易代码tradeId
- 交易idprice
- 成交价格time
- 成交时间amount
- 成交量direction
- 成交类型:买入或者卖出topAsks
- top5卖单topBids
- top5买单public String getSymbolId()
getSymbolId
in interface TradeDetail
public long[] getTradeId()
getTradeId
in interface TradeDetail
public BigDecimal[] getPrice()
getPrice
in interface TradeDetail
public long[] getTime()
getTime
in interface TradeDetail
public BigDecimal[] getAmount()
getAmount
in interface TradeDetail
public int[] getDirection()
getDirection
in interface TradeDetail
public Orders[] getTopAsks()
getTopAsks
in interface TradeDetail
public Orders[] getTopBids()
getTopBids
in interface TradeDetail
Copyright © 2014–2015. All rights reserved.