Serializer

StockSharp.SpbEx.Protocol

SpbEx Protokoll-Serialisierer mit SpanReader/SpanWriter.

Methoden

DeserializeBondDataMsg
public static BondDataMsg DeserializeBondDataMsg(SpanReader reader, int totalSize, CouponPayment[] couponPayments)
result = Serializer.DeserializeBondDataMsg(reader, totalSize, couponPayments)

Deserialisieren BondDataMsg (Nachricht in dynamischer Größe mit Gutscheinzahlungen).

DeserializeClearingAccountMsg
public static ClearingAccountMsg DeserializeClearingAccountMsg(SpanReader reader, int totalSize, ExchangeAccount[] exchangeAccounts)
result = Serializer.DeserializeClearingAccountMsg(reader, totalSize, exchangeAccounts)

Deserialisieren ClearingAccountMsg (Nachricht in dynamischer Größe mit Austauschkonten).

DeserializeClientMsg
public static ClientMsg DeserializeClientMsg(SpanReader reader, int totalSize, ExchangeClient[] exchangeClients)
result = Serializer.DeserializeClientMsg(reader, totalSize, exchangeClients)

Deserialisieren ClientMsg (Nachricht in dynamischer Größe mit Exchange-Clients und Tags).

DeserializeCommonDataMsg
public static CommonDataMsg DeserializeCommonDataMsg(SpanReader reader, int totalSize, CommonEntry[] entries)
result = Serializer.DeserializeCommonDataMsg(reader, totalSize, entries)

Deserialisieren CommonDataMsg (Nachricht in dynamischer Größe mit gemeinsamen Einträgen).

DeserializeExecutionMsg
public static ExecutionMsg DeserializeExecutionMsg(SpanReader reader, int totalSize, Deal[] deals)
result = Serializer.DeserializeExecutionMsg(reader, totalSize, deals)

Deserialisieren ExecutionMsg (Nachricht mit dynamischer Größe mit Deals).

DeserializeFrame
public static Frame DeserializeFrame(SpanReader reader)
result = Serializer.DeserializeFrame(reader)

Deserialisieren Frame Header.

DeserializeInstrumentDataMsg
public static InstrumentDataMsg DeserializeInstrumentDataMsg(SpanReader reader, int totalSize, Period[] periods, ExchangeInstrument[] exchangeInstruments)
result = Serializer.DeserializeInstrumentDataMsg(reader, totalSize, periods, exchangeInstruments)

Deserialisieren InstrumentDataMsg (Nachricht mit dynamischer Größe mit Perioden und Austauschinstrumenten).

DeserializeOrderBookDataMsg
public static OrderBookDataMsg DeserializeOrderBookDataMsg(SpanReader reader, int totalSize, PriceLevel[] levels)
result = Serializer.DeserializeOrderBookDataMsg(reader, totalSize, levels)

Deserialisieren OrderBookDataMsg (dynamische Größenmeldung mit Preisniveaus).

DeserializePositionUpdateMsg
public static PositionUpdateMsg DeserializePositionUpdateMsg(SpanReader reader, int totalSize, ExtraData[] extraData)
result = Serializer.DeserializePositionUpdateMsg(reader, totalSize, extraData)

Deserialisieren PositionUpdateMsg (Nachricht in dynamischer Größe mit zusätzlichen Daten).

DeserializePriceLevelsDataMsg
public static PriceLevelsDataMsg DeserializePriceLevelsDataMsg(SpanReader reader, int totalSize, PriceLevel[] levels)
result = Serializer.DeserializePriceLevelsDataMsg(reader, totalSize, levels)

Deserialisieren PriceLevelsDataMsg (dynamische Größenmeldung mit Preisniveaus).

SerializeFrame
public static void SerializeFrame(SpanWriter writer, MsgTypes msgId, short size)
Serializer.SerializeFrame(writer, msgId, size)

Serialisieren Sie Frame Header.