public ProtoMessage CreateUnsubscribeAccountFromSymbolSpotsRequest(uint subscriptionId, string symbolName, string clientMsgId = null) { var _msg = new ProtoOAUnsubscribeFromSpotsReq(); _msg.subscriptionId = subscriptionId; _msg.symblolName = symbolName; return CreateMessage((uint)_msg.payloadType, Utils.Serialize<ProtoOAUnsubscribeFromSpotsReq>(_msg), clientMsgId); }
public ProtoMessage CreateUnsubscribeFromAllSpotsRequest(string clientMsgId = null) { var _msg = new ProtoOAUnsubscribeFromSpotsReq(); return CreateMessage((uint)_msg.payloadType, Utils.Serialize<ProtoOAUnsubscribeFromSpotsReq>(_msg), clientMsgId); }