public class MarketDepthDiffPayload extends MarketDepthTopDiffPayload implements DepthDiff
MarketDepthDiff
Constructor and Description |
---|
MarketDepthDiffPayload(String symbolId,
Percent percent,
long version,
long versionOld,
Update bidInsert,
int[] bidDelete,
Update bidUpdate,
Update askInsert,
int[] askDelete,
Update askUpdate)
差量行情深度
|
Modifier and Type | Method and Description |
---|---|
Percent |
getPercent() |
getAskDelete, getAskInsert, getAskUpdate, getBidDelete, getBidInsert, getBidUpdate, getSymbolId, getVersion, getVersionOld
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAskDelete, getAskInsert, getAskUpdate, getBidDelete, getBidInsert, getBidUpdate, getVersion, getVersionOld
public MarketDepthDiffPayload(String symbolId, Percent percent, long version, long versionOld, Update bidInsert, int[] bidDelete, Update bidUpdate, Update askInsert, int[] askDelete, Update askUpdate)
symbolId
- 交易代码percent
- 行情深度百分比version
- 快照版本,方便进行差量更新,如果终端的最后快照版本不一致,则需要重新获取最新完整行情深度。versionOld
- 产生该差量的旧快照版本,方便进行差量更新,如果终端的最后快照版本不一致,则需要重新获取最新完整行情深度。bidInsert
- 委托买单需要添加的行bidDelete
- 委托买单需要删除的行bidUpdate
- 委托买单需要修改的行,以及该行新的委单量。askInsert
- 委托卖单需要添加的行askDelete
- 委托卖单需要删除的行askUpdate
- 委托卖单需要修改的行,以及该行新的委单量。public Percent getPercent()
Copyright © 2014–2015. All rights reserved.