类 IndexContract
java.lang.Object
org.dromara.northstar.gateway.contract.IndexContract
- 所有已实现的接口:
Subscribable,TickDataAware,Contract,Instrument
指数合约
- 作者:
- KevinHuangwl
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明网关渠道类型获取合约信息voidbooleanexchange()交易所网关IDinthashCode()唯一标识获取成份合约name()名称voidonTick(CoreField.TickField tick) 种类boolean订阅开市时间定义boolean取消订阅从接口继承的方法 org.dromara.northstar.gateway.Instrument
setContractDefinition
-
构造器详细资料
-
IndexContract
-
-
方法详细资料
-
subscribe
public boolean subscribe()从接口复制的说明:Subscribable订阅- 指定者:
subscribe在接口中Subscribable- 返回:
-
unsubscribe
public boolean unsubscribe()从接口复制的说明:Subscribable取消订阅- 指定者:
unsubscribe在接口中Subscribable- 返回:
-
onTick
- 指定者:
onTick在接口中TickDataAware
-
memberContracts
从接口复制的说明:Contract获取成份合约- 指定者:
memberContracts在接口中Contract- 返回:
-
contractField
从接口复制的说明:Contract获取合约信息- 指定者:
contractField在接口中Contract- 指定者:
contractField在接口中Instrument- 返回:
-
name
从接口复制的说明:Instrument名称- 指定者:
name在接口中Instrument- 返回:
-
identifier
从接口复制的说明:Instrument唯一标识- 指定者:
identifier在接口中Instrument- 返回:
-
productClass
从接口复制的说明:Instrument种类- 指定者:
productClass在接口中Instrument- 返回:
-
exchange
从接口复制的说明:Instrument交易所- 指定者:
exchange在接口中Instrument- 返回:
-
gatewayId
从接口复制的说明:Contract网关ID -
tradeTimeDefinition
从接口复制的说明:Instrument开市时间定义- 指定者:
tradeTimeDefinition在接口中Instrument- 返回:
-
channelType
从接口复制的说明:Instrument网关渠道类型- 指定者:
channelType在接口中Instrument- 返回:
-
endOfMarket
public void endOfMarket()- 指定者:
endOfMarket在接口中TickDataAware
-
hashCode
public int hashCode() -
equals
-