接口 Instrument
- 所有已知子接口:
Contract
public interface Instrument
(可交易的)投资品种
- 作者:
- KevinHuangwl
-
方法概要
修饰符和类型方法说明网关渠道类型default CoreField.ContractField转换为合约信息exchange()交易所唯一标识name()名称种类default voidsetContractDefinition(ContractDefinition contractDef) 设置合约定义开市时间定义
-
方法详细资料
-
name
String name()名称- 返回:
-
identifier
Identifier identifier()唯一标识- 返回:
-
productClass
CoreEnum.ProductClassEnum productClass()种类- 返回:
-
exchange
CoreEnum.ExchangeEnum exchange()交易所- 返回:
-
tradeTimeDefinition
TradeTimeDefinition tradeTimeDefinition()开市时间定义- 返回:
-
channelType
ChannelType channelType()网关渠道类型- 返回:
-
setContractDefinition
设置合约定义 -
contractField
转换为合约信息- 返回:
-