Exemple #1
0
        public List <TraderFindService.FuturesHoldFindResultEntity> QueryQHHold(string capitalAccount, ref string strMessage)
        {
            if (!IsServiceOk)
            {
                return(null);
            }

            int icount;
            var shcfe = new TraderFindService.FuturesHoldConditionFindEntity();
            var holds = traderFindClient.FuturesHoldFind(out icount, capitalAccount, "", null,
                                                         0, int.MaxValue, ref strMessage);

            return(holds);
        }
Exemple #2
0
        private void btnQhHold_Click(object sender, EventArgs e)
        {
            TraderFindService.TraderFindClient traderFindClient = new TraderFindClient();

            FuturesHoldConditionFindEntity findEntity = new FuturesHoldConditionFindEntity();

            //findEntity.CurrencyType = TraderFindService.;
            findEntity.ContractCode = "IF0909";
            string a = "0";
            int    n = 0;
            List <FuturesHoldFindResultEntity> list = new List <FuturesHoldFindResultEntity>();

            list[0] = traderFindClient.FuturesHoldFind(out n, "010000002306", "888888", findEntity, 0, 0, ref a)[0];
        }