Example #1
0
        protected override int QryInvestorPosition(ReqQueryField field)
        {
            var position = new CtpQryInvestorPosition();

            position.BrokerID   = _client.CtpLoginInfo.BrokerID;
            position.InvestorID = _client.CtpLoginInfo.UserID;
            return(_client.Api.ReqQryInvestorPosition(position, _client.GetNextRequestId()));
        }
        private int QryInvestorPosition()
        {
            var field = new CtpQryInvestorPosition();

            field.BrokerID   = _client.CtpLoginInfo.BrokerID;
            field.InvestorID = _client.CtpLoginInfo.UserID;
            return(_client.Api.ReqQryInvestorPosition(field, _client.GetNextRequestId()));
        }
Example #3
0
        protected override int QryInvestorPosition(ReqQueryField field)
        {
            var query = new CtpQryInvestorPosition {
                BrokerID   = _client.ctpLoginInfo.BrokerID,
                InvestorID = _client.ctpLoginInfo.UserID
            };

            return(SendRequest(CtpRequestType.ReqQryInvestorPosition, query));
        }
 public virtual void ReqQryInvestorPosition(CtpRequest req, CtpQryInvestorPosition data)
 {
     DefaultHandler(req);
 }