Serializer
StockSharp.SpbEx.Protocol
SpanReader/SpanWriter を使用した SpbEx プロトコルシリアライズ
メソッド
DeserializeBondDataMsg
public static BondDataMsg DeserializeBondDataMsg(SpanReader reader, int totalSize, CouponPayment[] couponPayments)
result = Serializer.DeserializeBondDataMsg(reader, totalSize, couponPayments)
優先順位付けBondDataMsg(クーポン決済による動的サイズのメッセージ)。
DeserializeClearingAccountMsg
public static ClearingAccountMsg DeserializeClearingAccountMsg(SpanReader reader, int totalSize, ExchangeAccount[] exchangeAccounts)
result = Serializer.DeserializeClearingAccountMsg(reader, totalSize, exchangeAccounts)
取引口座にClearingAccountMsg(取引口座と取引口座の動的サイズメッセージ)を優先します。
DeserializeClientMsg
public static ClientMsg DeserializeClientMsg(SpanReader reader, int totalSize, ExchangeClient[] exchangeClients)
result = Serializer.DeserializeClientMsg(reader, totalSize, exchangeClients)
クライアントやタグの交換で、ClientMsg(ダイナミックサイズメッセージ)を優先します。
DeserializeCommonDataMsg
public static CommonDataMsg DeserializeCommonDataMsg(SpanReader reader, int totalSize, CommonEntry[] entries)
result = Serializer.DeserializeCommonDataMsg(reader, totalSize, entries)
正規化CommonDataMsg(共通入力の動的サイズメッセージ)
DeserializeExecutionMsg
public static ExecutionMsg DeserializeExecutionMsg(SpanReader reader, int totalSize, Deal[] deals)
result = Serializer.DeserializeExecutionMsg(reader, totalSize, deals)
デリマイゼーションExecutionMsg(ダイナミクスのメッセージのお得な情報)。
DeserializeFrame
public static Frame DeserializeFrame(SpanReader reader)
result = Serializer.DeserializeFrame(reader)
フレームヘッダーをデシリアライズします。
DeserializeInstrumentDataMsg
public static InstrumentDataMsg DeserializeInstrumentDataMsg(SpanReader reader, int totalSize, Period[] periods, ExchangeInstrument[] exchangeInstruments)
result = Serializer.DeserializeInstrumentDataMsg(reader, totalSize, periods, exchangeInstruments)
永続化InstrumentDataMsg(期間・交換機器との動的サイズメッセージ)。
DeserializeOrderBookDataMsg
public static OrderBookDataMsg DeserializeOrderBookDataMsg(SpanReader reader, int totalSize, PriceLevel[] levels)
result = Serializer.DeserializeOrderBookDataMsg(reader, totalSize, levels)
より詳細なOrderBookDataMsg(価格レベルとダイナミックサイズメッセージ)。
DeserializePositionUpdateMsg
public static PositionUpdateMsg DeserializePositionUpdateMsg(SpanReader reader, int totalSize, ExtraData[] extraData)
result = Serializer.DeserializePositionUpdateMsg(reader, totalSize, extraData)
より詳細な情報については、PositionUpdateMsg@(動的サイズメッセージとデータ)をPositionUpdateMsgにしてください。
DeserializePriceLevelsDataMsg
public static PriceLevelsDataMsg DeserializePriceLevelsDataMsg(SpanReader reader, int totalSize, PriceLevel[] levels)
result = Serializer.DeserializePriceLevelsDataMsg(reader, totalSize, levels)
より詳細なPriceLevelsDataMsg(価格レベルとダイナミックサイズメッセージ)。
SerializeFrame
public static void SerializeFrame(SpanWriter writer, MsgTypes msgId, short size)
Serializer.SerializeFrame(writer, msgId, size)
フレームヘッダーをシリアライズします。