Пример #1
0
 public ProtoMessage CreateAllSubscriptionsForTradingEventsRequest(string clientMsgId = null)
 {
     return(CreateMessage((uint)ProtoOAPayloadType.OA_GET_SUBSCRIBED_ACCOUNTS_REQ, ProtoOAGetSubscribedAccountsReq.CreateBuilder().Build().ToByteString(), clientMsgId));
 }
Пример #2
0
 public ProtoOAGetSubscribedAccountsReq GetAllSubscriptionsForTradingEventsRequest(byte[] msg = null)
 {
     return(ProtoOAGetSubscribedAccountsReq.CreateBuilder().MergeFrom(GetPayload(msg)).Build());
 }
        public ProtoMessage CreateAllSubscriptionsForTradingEventsRequest(string clientMsgId = null)
        {
            var _msg = new ProtoOAGetSubscribedAccountsReq();

            return(CreateMessage((uint)ProtoOAPayloadType.OA_GET_SUBSCRIBED_ACCOUNTS_REQ, Utils.Serialize <ProtoOAGetSubscribedAccountsReq>(_msg), clientMsgId));
        }