接口 IContractManager

所有已知子接口:
IMarketCenter
所有已知实现类:
MarketCenter

public interface IContractManager
  • 方法详细资料

    • getContract

      Contract getContract(Identifier identifier)
      根据合约唯一标识获取合约
      参数:
      identifier -
      返回:
    • getContract

      Contract getContract(ChannelType channelType, String symbol)
      根据网关与编码获取合约
      参数:
      channelType -
      symbol - 可以是symbol或unifiedSymbol
      返回:
    • getContracts

      List<Contract> getContracts(String gatewayId)
      根据网关ID获取合约
      参数:
      gatewayId -
      返回:
    • getContracts

      List<Contract> getContracts(ChannelType channelType)
      根据网关渠道获取合约
      参数:
      channelType -
      返回: