示例#1
0
        public ObterPontosIntradayResponse ObterPontosGraficoIntradayIncremental(ObterPontosIntradayRequest request)
        {
            logger.Debug("Solicitando Incremental ativo[" + request.Ativo + "] DataInicial[" + request.DataCotacaoInicial + "]");
            ObterPontosIntradayResponse ret = new ObterPontosIntradayResponse();

            ANGPersistenciaDB db = new ANGPersistenciaDB();

            ret.cotacoes = db.ObterPontosIntradayIncremental(request.Ativo, request.DataCotacaoInicial);

            logger.Debug("Respondendo Incremental ativo[" + request.Ativo + "] DataInicial[" + request.DataCotacaoInicial + "]");
            return(ret);
        }
示例#2
0
        public ObterPontosIntradayResponse ObterPontosGraficoIntraday(ObterPontosIntradayRequest request)
        {
            logger.Debug("Solicitando DadosIntraday ativo[" + request.Ativo + "] intervalo[" + request.Intervalo + "]");
            ObterPontosIntradayResponse ret = new ObterPontosIntradayResponse();

            ANGPersistenciaDB db = new ANGPersistenciaDB();

            ret.cotacoes = db.ObterPontosIntraday(request.Ativo, request.Intervalo);

            logger.Debug("Respondendo DadosIntraday ativo[" + request.Ativo + "] intervalo[" + request.Intervalo + "]");
            return(ret);
        }