枚举类的使用
org.dromara.northstar.common.constant.ChannelType
使用ChannelType的程序包
程序包
说明
-
org.dromara.northstar.common中ChannelType的使用
参数类型为ChannelType的org.dromara.northstar.common中的方法修饰符和类型方法说明IDataSource.getHolidays(ChannelType channelType, LocalDate startDate, LocalDate endDate) 获取查询范围内的节假日(包括周末) -
org.dromara.northstar.common.constant中ChannelType的使用
修饰符和类型方法说明static ChannelType返回带有指定名称的该类的枚举常量。static ChannelType[]ChannelType.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同 -
org.dromara.northstar.common.model.core中ChannelType的使用
修饰符和类型方法说明Bar.channelType()返回channelType记录组件的值。Contract.channelType()返回channelType记录组件的值。Tick.channelType()返回channelType记录组件的值。限定符构造器说明Bar(String gatewayId, Contract contract, LocalDate actionDay, LocalTime actionTime, LocalDate tradingDay, long actionTimestamp, double openPrice, double highPrice, double lowPrice, double closePrice, double openInterest, double openInterestDelta, long volume, long volumeDelta, double turnover, double turnoverDelta, double preOpenInterest, double preClosePrice, double preSettlePrice, ChannelType channelType) 创建Bar记录类的实例。Contract(String gatewayId, String contractId, String name, String fullName, String thirdPartyId, String unifiedSymbol, String symbol, CoreEnum.ExchangeEnum exchange, CoreEnum.ProductClassEnum productClass, CoreEnum.CurrencyEnum currency, double multiplier, double priceTick, double longMarginRatio, double shortMarginRatio, String underlyingSymbol, double strikePrice, CoreEnum.OptionsTypeEnum optionsType, double underlyingMultiplier, LocalDate lastTradeDate, int maxMarketOrderVolume, int minMarketOrderVolume, int maxLimitOrderVolume, int minLimitOrderVolume, CoreEnum.CombinationTypeEnum combinationType, ContractDefinition contractDefinition, int pricePrecision, int quantityPrecision, boolean tradable, ChannelType channelType) 创建Contract记录类的实例。Tick(String gatewayId, Contract contract, LocalDate actionDay, LocalTime actionTime, LocalDate tradingDay, long actionTimestamp, double lastPrice, double avgPrice, double iopv, long volumeDelta, long volume, double turnover, double turnoverDelta, double openInterest, double openInterestDelta, double settlePrice, double preOpenInterest, double preClosePrice, double preSettlePrice, double openPrice, double highPrice, double lowPrice, double upperLimit, double lowerLimit, List<Double> bidPrice, List<Double> askPrice, List<Integer> bidVolume, List<Integer> askVolume, TickType type, com.alibaba.fastjson.JSONObject otherInfo, ChannelType channelType) 创建Tick记录类的实例。 -
org.dromara.northstar.gateway中ChannelType的使用
返回变量类型为ChannelType的类型的org.dromara.northstar.gateway中的方法参数类型为ChannelType的org.dromara.northstar.gateway中的方法修饰符和类型方法说明voidGatewayMetaProvider.add(ChannelType channelType, GatewaySettings settings, GatewayFactory factory) IContractManager.getContract(ChannelType channelType, String symbol) 根据网关与编码获取合约IContractManager.getContracts(ChannelType channelType) 根据网关渠道获取合约GatewayMetaProvider.getFactory(ChannelType channelType) IMarketCenter.getGateway(ChannelType channelType) 获取网关GatewayMetaProvider.getSettings(ChannelType channelType) voidIMarketCenter.loadContractGroup(ChannelType channelType) 加载合约组 -
org.dromara.northstar.gateway.contract中ChannelType的使用
修饰符和类型方法说明GatewayContract.channelType()IndexContract.channelType()OptionChainContract.channelType()PrimaryContract.channelType() -
org.dromara.northstar.gateway.mktdata中ChannelType的使用
修饰符和类型方法说明MarketCenter.getContract(ChannelType channelType, String code) 查询合约MarketCenter.getContracts(ChannelType channelType) 获取网关合约MarketCenter.getGateway(ChannelType channelType) EmptyDataSource.getHolidays(ChannelType channelType, LocalDate startDate, LocalDate endDate) NorthstarDataSource.getHolidays(ChannelType channelType, LocalDate startDate, LocalDate endDate) voidMarketCenter.loadContractGroup(ChannelType channelType) 加载合约组