Serializer
SpbEx protocolo serializer usando SpanReader / SpanWriter.
Métodos
public static BondDataMsg DeserializeBondDataMsg(SpanReader reader, int totalSize, CouponPayment[] couponPayments)
result = Serializer.DeserializeBondDataMsg(reader, totalSize, couponPayments)
Deserialize BondDataMsg (mensaje de tamaño dinamico con pagos de cupones).
public static ClearingAccountMsg DeserializeClearingAccountMsg(SpanReader reader, int totalSize, ExchangeAccount[] exchangeAccounts)
result = Serializer.DeserializeClearingAccountMsg(reader, totalSize, exchangeAccounts)
Deserializar ClearingAccountMsg (mensaje de tamaño dinamico con cuentas de cambio).
public static ClientMsg DeserializeClientMsg(SpanReader reader, int totalSize, ExchangeClient[] exchangeClients)
result = Serializer.DeserializeClientMsg(reader, totalSize, exchangeClients)
Deserialize ClientMsg (mensaje de tamaño dinamico con clientes de intercambio y etiquetas).
public static CommonDataMsg DeserializeCommonDataMsg(SpanReader reader, int totalSize, CommonEntry[] entries)
result = Serializer.DeserializeCommonDataMsg(reader, totalSize, entries)
Deserializar CommonDataMsg (mensaje de tamaño dinamico con entradas comunes).
public static ExecutionMsg DeserializeExecutionMsg(SpanReader reader, int totalSize, Deal[] deals)
result = Serializer.DeserializeExecutionMsg(reader, totalSize, deals)
Deserialize ExecutionMsg (mensaje de tamaño dinamico con ofertas).
public static Frame DeserializeFrame(SpanReader reader)
result = Serializer.DeserializeFrame(reader)
Deserializar el encabezado de Frame.
public static InstrumentDataMsg DeserializeInstrumentDataMsg(SpanReader reader, int totalSize, Period[] periods, ExchangeInstrument[] exchangeInstruments)
result = Serializer.DeserializeInstrumentDataMsg(reader, totalSize, periods, exchangeInstruments)
Deserializar InstrumentDataMsg (mensaje de tamaño dinamico con períodos e instrumentos de intercambio).
public static OrderBookDataMsg DeserializeOrderBookDataMsg(SpanReader reader, int totalSize, PriceLevel[] levels)
result = Serializer.DeserializeOrderBookDataMsg(reader, totalSize, levels)
Deserializar OrderBookDataMsg (mensaje de tamaño dinamico con niveles de precios).
public static PositionUpdateMsg DeserializePositionUpdateMsg(SpanReader reader, int totalSize, ExtraData[] extraData)
result = Serializer.DeserializePositionUpdateMsg(reader, totalSize, extraData)
Deserializar PositionUpdateMsg (mensaje de tamaño dinamico con datos extras).
public static PriceLevelsDataMsg DeserializePriceLevelsDataMsg(SpanReader reader, int totalSize, PriceLevel[] levels)
result = Serializer.DeserializePriceLevelsDataMsg(reader, totalSize, levels)
Deserializar PriceLevelsDataMsg (mensaje de tamaño dinamico con niveles de precios).
public static void SerializeFrame(SpanWriter writer, MsgTypes msgId, short size)
Serializer.SerializeFrame(writer, msgId, size)
Encadenen la cabecera de Frame.