接口的使用
org.dromara.northstar.gateway.Contract
使用Contract的程序包
程序包
说明
-
org.dromara.northstar.gateway中Contract的使用
修饰符和类型方法说明IContractManager.getContract(ChannelType channelType, String symbol) 根据网关与编码获取合约IContractManager.getContract(Identifier identifier) 根据合约唯一标识获取合约返回变量类型为Contract的类型的org.dromara.northstar.gateway中的方法修饰符和类型方法说明IContractManager.getContracts(String gatewayId) 根据网关ID获取合约IContractManager.getContracts(ChannelType channelType) 根据网关渠道获取合约Contract.memberContracts()获取成份合约 -
org.dromara.northstar.gateway.contract中Contract的使用
修饰符和类型类说明class网关合约class指数合约class组合合约class主力合约返回变量类型为Contract的类型的org.dromara.northstar.gateway.contract中的方法类型变量类型为Contract的org.dromara.northstar.gateway.contract中的构造器参数限定符构造器说明IndexContract(FastEventEngine feEngine, List<Contract> monthContracts) OptionChainContract(Contract underlyingContract, List<Contract> memberContracts) -
org.dromara.northstar.gateway.mktdata中Contract的使用
修饰符和类型方法说明MarketCenter.getContract(ChannelType channelType, String code) 查询合约MarketCenter.getContract(Identifier identifier) 查找合约返回变量类型为Contract的类型的org.dromara.northstar.gateway.mktdata中的方法修饰符和类型方法说明MarketCenter.getContracts(String gatewayId) 获取网关合约MarketCenter.getContracts(ChannelType channelType) 获取网关合约 -
org.dromara.northstar.strategy中Contract的使用
参数类型为Contract的org.dromara.northstar.strategy中的方法