ImexInstrumentMetadata

StockSharp.Imex

IMEX交换器日常仪器元数据堆放(https://storage.imexchange.tech/TS/instr-{date}.json)的剖面视图 持有三个衍生地图 消费者关心: - InstrumentLots: / 贸易工具批量乘数(每1个线合同的基数单位) 使用TradeImexDialect来将OrderRegister.Volume / VisibleVolume 缩小为有线数量并缩放 AddReport / deal.Amount 上架到框架卷/ TradeVolume. SpotInfoByBalance: /s-spot-bitch-bishopers-t-bitch-bitch-beth-beth-beth-beth-beth-beth-beth-beth-beth-beth-bath-bath-bath-sirmone-s-seuirsions-t-s-semoft-firstem-se-se-se-semoft-t-s-s-s-semoft-tir-tirmat-

属性

InstrumentLots
public IReadOnlyDictionary<int, decimal> InstrumentLots { get; }
value = imexInstrumentMetadata.InstrumentLots

Trading instrument_id -> lot multiplier (underlying units per contract).

NativeIds
public IReadOnlyDictionary<SecurityId, long> NativeIds { get; }
value = imexInstrumentMetadata.NativeIds

SecurityId - > 原生代号(instrument_id或balance_id),如电线协议所预期.

SpotInfoByBalance
public IReadOnlyDictionary<int, ValueTuple<decimal, int>> SpotInfoByBalance { get; }
value = imexInstrumentMetadata.SpotInfoByBalance

Spot balance_id - > (许多来自参考贸易文书,balance_id基础)。

方法

Load
public static ImexInstrumentMetadata Load(Stream stream)
result = ImexInstrumentMetadata.Load(stream)

任意流中严格地排入了负载。 投放任意布局不匹配的—— 缺少包装键, 缺少阵列, 错误的字段类型, 因此一个默默的IMEX schema tump在第一次运行时会产生响亮的失败 。