public ProtoMessage CreateStopOrderRequest(long accountId, string accessToken, string symbolName, ProtoTradeSide tradeSide, long volume, double stopPrice, string clientMsgId = null)
        {
            var _msg = new ProtoOACreateOrderReq();
            _msg.accountId = accountId;
            _msg.accessToken = accessToken;
            _msg.symbolName = symbolName;
            _msg.orderType = ProtoOAOrderType.OA_STOP;
            _msg.tradeSide = tradeSide;
            _msg.volume = volume;
            _msg.stopPrice = stopPrice;
            _msg.comment = "TradingApiTest.CreateStopOrderRequest";
			return CreateMessage((uint)_msg.payloadType, Utils.Serialize<ProtoOACreateOrderReq>(_msg), clientMsgId);
        }
        public ProtoMessage CreateMarketRangeOrderRequest(long accountId, string accessToken, string symbolName, ProtoTradeSide tradeSide, long volume, double baseSlippagePrice, long slippageInPips, string clientMsgId = null)
        {
            var _msg = new ProtoOACreateOrderReq();
            _msg.accountId = accountId;
            _msg.accessToken = accessToken;
            _msg.symbolName = symbolName;
            _msg.orderType = ProtoOAOrderType.OA_MARKET_RANGE;
            _msg.tradeSide = tradeSide;
            _msg.volume = volume;
            _msg.baseSlippagePrice = baseSlippagePrice;
            _msg.slippageInPips = slippageInPips;
            _msg.comment = "TradingApiTest.CreateMarketRangeOrderRequest";
			return CreateMessage((uint)_msg.payloadType, Utils.Serialize<ProtoOACreateOrderReq>(_msg), clientMsgId);
        }