public void InvertPosition(int conId, string instrument)
        {
            enmTradingEvent ev = enmTradingEvent.InvertPosition;

            CInvertUserPos invPos = new CInvertUserPos()
            {
                Instrument = instrument
            };

            SendDataToServer(conId, invPos, ev);
        }
        private void ProcessInvertPosition(int conId, byte[] arrMsgBody)
        {
            CInvertUserPos cup = CUtilProto.DeserializeProto <CInvertUserPos>(arrMsgBody);

            _dictKBotIdVBotTrader[_dictConnIdTrader[conId].BotId].InvertPositionByTrader(cup.Instrument);
        }