一个请求后,redis无法返回缓存结果

时间:2019-02-12 16:47:34

标签: java spring spring-boot redis spring-data-redis

我尝试将redis用作与Spring Boot集成的项目缓存层。 Redis放置在服务层中,但是某些功能可以正常工作,而某些功能不能返回结果,仅显示间隔服务器错误(500)。 Redis记录了正确的get命令,但没有返回结果。

这是针对Spring Boot 2.0.8,Redis 5.0.3项目的。我将spring-boot-starter-data-redis用作redis的驱动程序。

对于pom.xml

<!-- Redis -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-pool2</artifactId>
        </dependency>

用于redisconfig类

@Configuration
@EnableCaching
public class RedisConfig extends CachingConfigurerSupport {

    @Bean
    public KeyGenerator keyGenerator() {
        return new KeyGenerator() {
            @Override
            public Object generate(Object target, Method method, Object... params) {
                // TODO Auto-generated method stub
                StringBuilder sb = new StringBuilder();
                sb.append(target.getClass().getName());
                sb.append(method.getName());
                for (Object p : params) {
                    sb.append(p);
                }
                return sb.toString();
            }

        };
    }

    @Bean
    public CacheManager cacheManager(RedisConnectionFactory redisConnectionFactory) {
        //setting cache outdate time
        RedisCacheConfiguration redisCacheCfg = RedisCacheConfiguration.defaultCacheConfig().entryTtl(Duration.ofMinutes(20));
        return RedisCacheManager.builder(RedisCacheWriter.nonLockingRedisCacheWriter(redisConnectionFactory))
                .cacheDefaults(redisCacheCfg)
                .build();
    }

    @Bean
    public RedisTemplate<String, String> redisTemplate(RedisConnectionFactory factory) {
        StringRedisTemplate template = new StringRedisTemplate(factory);
        Jackson2JsonRedisSerializer jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer(Object.class);
        //GenericJackson2JsonRedisSerializer jackson2JsonRedisSerializer = new GenericJackson2JsonRedisSerializer(Object.class);
        ObjectMapper om = new ObjectMapper();
        om.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
        om.enableDefaultTyping();
        jackson2JsonRedisSerializer.setObjectMapper(om);
        template.setValueSerializer(jackson2JsonRedisSerializer);
        template.afterPropertiesSet();
        return template;
    }

对于application.properties

spring.cache.type=redis
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.data.redis.repositories.enabled = false

对于控制器:

@GetMapping("/sentiment")
    public ResponseEntity<?> getArticleSumBySentiment(@RequestParam(name = "sort") int sort,
                                                      @RequestParam(name = "page") int page,
                                                      @RequestParam(name = "size") int size) {

        page -= 1;
        page = Math.max(page, 0);

        List<Article_sum> article_sumListBySentiment;

        if (sort == 1) {
            article_sumListBySentiment = companyService.getArticle_sumBySentiment(page, size, 1);
        } else {
            article_sumListBySentiment = companyService.getArticle_sumBySentiment(page, size, 0);
        }


        List<Article_sumOutputFrontpage> article_sumOutputFrontpageList = article_sumListBySentiment
                .stream()
                .map(article_sum -> {
                    Set<Tag> tagStrSet = article_sumTagService.findByArticle_sum(article_sum)
                            .stream()
                            .map(Article_sum_Tag::getTag)
                            .collect(Collectors.toSet());
                    return ControllerUtils.getArticleSumOutputFrontpage(tagStrSet,article_sum);
                }).collect(Collectors.toList());

        if (article_sumOutputFrontpageList == null || article_sumOutputFrontpageList.size() == 0)
            return ResponseEntity.notFound().build();
        return ResponseEntity.ok().body(article_sumOutputFrontpageList);
    }

服务

List<Article_sum> getArticle_sumBySentiment(int page, int size, int sort);

用于服务工具:

 @Override
    @Cacheable(value = "getArticle_sumBySentiment", keyGenerator = "keyGenerator")
    public List<Article_sum> getArticle_sumBySentiment(int page, int size, int sort) {

        Sort newSort = 1 == sort ? new Sort(Sort.Direction.ASC, "sentiment").and(new Sort(Sort.Direction.DESC, "datetime")) : new Sort(Sort.Direction.DESC, "sentiment", "datetime");
        PageRequest pageRequest = PageRequest.of(page, size, newSort);
        return article_sumRepository.findAll(pageRequest).getContent();

    }

我希望Redis可以存储数据,第二个请求不会调用数据库,而是直接从Redis返回。

实际上:HTTP状态500 –内部服务器错误

第一个请求日志是:

1549989819.098993 [0 127.0.0.1:50517] "GET" "getArticle_sumBySentiment::unibit.service.impl.Company.CompanyServiceImplgetArticle_sumBySentiment091"
1549989819.487889 [0 127.0.0.1:50517] "SET" "getArticle_sumBySentiment::unibit.service.impl.Company.CompanyServiceImplgetArticle_sumBySentiment091" "\xac\xed\x00\x05sr\x00&java.util.Collections$UnmodifiableList\xfc\x0f%1\xb5\xec\x8e\x10\x02\x00\x01L\x00\x04listt\x00\x10Ljava/util/List;xr\x00,java.util.Collections$UnmodifiableCollection\x19B\x00\x80\xcb^\xf7\x1e\x02\x00\x01L\x00\x01ct\x00\x16Ljava/util/Collection;xpsr\x00\x13java.util.ArrayListx\x81\xd2\x1d\x99\xc7a\x9d\x03\x00\x01I\x00\x04sizexp\x00\x00\x00\tw\x04\x00\x00\x00\tsr\x00%unibit.domain.Article_Sum.Article_sum\xbaTA\x9e\xa0|v3\x02\x00\x0bJ\x00\x02idI\x00\treadCountL\x00\x10article_sum_tagst\x00\x0fLjava/util/Set;L\x00\bdatasetst\x00\x12Ljava/lang/String;L\x00\bdatetimet\x00\x10Ljava/util/Date;L\x00\nkey_eventsq\x00~\x00\x01L\x00\x0fsector_movementq\x00~\x00\tL\x00\tsentimentt\x00\x11Ljava/lang/Float;L\x00\x12technical_movementq\x00~\x00\tL\x00\x06tickerq\x00~\x00\tL\x00\x05titleq\x00~\x00\txp\x00\x00\x00\x00\x00\x00\x0c?\x00\x00\x00\x02sr\x00/org.hibernate.collection.internal.PersistentSet[\x0e#\xaaP\xbaW%\x02\x00\x01L\x00\x03setq\x00~\x00\bxr\x00>org.hibernate.collection.internal.AbstractPersistentCollection\xe2Q\x0e#smY$\x02\x00\x0bZ\x00\x1ballowLoadOutsideTransactionI\x00\ncachedSizeZ\x00\x05dirtyZ\x00\x0eelementRemovedZ\x00\x0binitializedZ\x00\risTempSessionL\x00\x03keyt\x00\x16Ljava/io/Serializable;L\x00\x05ownert\x00\x12Ljava/lang/Object;L\x00\x04roleq\x00~\x00\tL\x00\x12sessionFactoryUuidq\x00~\x00\tL\x00\x0estoredSnapshotq\x00~\x00\x0fxp\x00\xff\xff\xff\xff\x00\x00\x00\x00sr\x00\x0ejava.lang.Long;\x8b\xe4\x90\xcc\x8f#\xdf\x02\x00\x01J\x00\x05valuexr\x00\x10java.lang.Number\x86\xac\x95\x1d\x0b\x94\xe0\x8b\x02\x00\x00xp\x00\x00\x00\x00\x00\x00\x0c?q\x00~\x00\x0ct\x006unibit.domain.Article_Sum.Article_sum.article_sum_tagspppt\x02\x8c[[{'Date': '2018-11-12', 'Open': '147.09', 'High': '148.43', 'Low': '145.35', 'Close': '145.52', 'Volume': 536456, 'Ticker': 'IT'}, {'Date': '2018-11-13', 'Open': '145.90', 'High': '147.03', 'Low': '144.49', 'Close': '145.46', 'Volume': 594411, 'Ticker': 'IT'}, {'Date': '2018-11-14', 'Open': '146.75', 'High': '147.38', 'Low': '141.41', 'Close': '142.85', 'Volume': 409069, 'Ticker': 'IT'}, {'Date': '2018-11-15', 'Open': '142.52', 'High': '145.71', 'Low': '141.27', 'Close': '145.61', 'Volume': 420521, 'Ticker': 'IT'}, {'Date': '2018-11-16', 'Open': '144.57', 'High': '147.89', 'Low': '143.99', 'Close': '147.15', 'Volume': 656653, 'Ticker': 'IT'}]]sr\x00\x12java.sql.Timestamp&\x18\xd5\xc8\x01S\xbfe\x02\x00\x01I\x00\x05nanosxr\x00\x0ejava.util.Datehj\x81\x01KYt\x19\x03\x00\x00xpw\b\x00\x00\x01g.\xade\xd8x\x00\x00\x00\x00sr\x00/org.hibernate.collection.internal.PersistentBagec\xfd? \x82\x00\x0c\x02\x00\x01L\x00\x03bagq\x00~\x00\x01xq\x00~\x00\x0e\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00\x14q\x00~\x00\x0ct\x000unibit.domain.Article_Sum.Article_sum.key_eventspppt\x00\x92Gartner Inc.'s peers including NCI, -2.680%,  collectively moved down -2.680% today. At present,  The entire Technology sector lose -3.181% today.pt\x03\x9cGartner Inc. is mostly in line with general market movement. In regards to the Technology sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). Additionally, the MACD for the company is current rising even as the stock continues to fall, suggesting the stock may start to bottom out and could be a reverse its trends. The U/D volume indicator is negative and declining, suggesting an increasing amount of investors are dumping the stock and may continue to for some time. The stock's price is currently below its 50-day moving average, suggesting there could be some resistance for the stock going forward. Investors should be concerned if they have a position in this account, since nothing indicates that the poor performance of this stock will slow down any time soon.t\x00\x02ITt\x00\x91Cyxtera named by Gartner as a Representative Vendor in Report \"Fact or Fiction: Are Software-Defined Perimeters Really the Next-Generation VPNs?\"sq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c>\x00\x00\x00\x00sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c>q\x00~\x00!q\x00~\x00\x15pppt\x02\x87[[{'Date': '2018-11-12', 'Open': '18.84', 'High': '19.92', 'Low': '18.46', 'Close': '19.66', 'Volume': 1698617, 'Ticker': 'FOSL'}, {'Date': '2018-11-13', 'Open': '19.60', 'High': '20.11', 'Low': '19.04', 'Close': '19.17', 'Volume': 1145948, 'Ticker': 'FOSL'}, {'Date': '2018-11-14', 'Open': '19.34', 'High': '19.96', 'Low': '18.59', 'Close': '18.68', 'Volume': 1194979, 'Ticker': 'FOSL'}, {'Date': '2018-11-15', 'Open': '18.74', 'High': '19.52', 'Low': '18.10', 'Close': '19.15', 'Volume': 1406490, 'Ticker': 'FOSL'}, {'Date': '2018-11-16', 'Open': '18.92', 'High': '18.96', 'Low': '17.71', 'Close': '18.94', 'Volume': 1215457, 'Ticker': 'FOSL'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xadB\xb0x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00#q\x00~\x00!q\x00~\x00\x1cpppt\x00\xa2Fossil Group Inc.'s peers including TPR, -3.692%,  collectively moved down -3.692% today. At present,  The entire Consumer Cyclical sector was down -1.824% today.pt\x03\xedFossil Group Inc. has underperformed the market when compared to the S&P 500 over the last 20 trading days. In regards to the Consumer Cyclical sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). Additionally, the MACD for the company is current falling, which suggests this current rally may begin to end. The U/D volume indicator is negative and declining, suggesting an increasing amount of investors are dumping the stock and may continue to for some time. The stock's price is currently below its 50-day moving average, suggesting there could be some resistance for the stock going forward. The stock is in a short-term oversold condition based on its stochastic oscillator value. Investors should be concerned if they have a position in this account, since nothing indicates that the poor performance of this stock will slow down any time soon.t\x00\x04FOSLt\x00^Fossil\xe2\x80\x99s all-new Sport Smartwatch gets an early Black Friday discount from $178.50 (30% off)sq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c=\x00\x00\x00\x00sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c=q\x00~\x00+q\x00~\x00\x15pppt\x02\x80[[{'Date': '2018-11-12', 'Open': '55.98', 'High': '57.17', 'Low': '55.66', 'Close': '56.52', 'Volume': 922658, 'Ticker': 'UGI'}, {'Date': '2018-11-13', 'Open': '57.09', 'High': '58.13', 'Low': '56.47', 'Close': '57.94', 'Volume': 1113241, 'Ticker': 'UGI'}, {'Date': '2018-11-14', 'Open': '58.00', 'High': '58.00', 'Low': '56.60', 'Close': '56.91', 'Volume': 1117050, 'Ticker': 'UGI'}, {'Date': '2018-11-15', 'Open': '56.78', 'High': '57.01', 'Low': '56.17', 'Close': '56.99', 'Volume': 1088236, 'Ticker': 'UGI'}, {'Date': '2018-11-16', 'Open': '57.00', 'High': '57.14', 'Low': '56.74', 'Close': '56.93', 'Volume': 864879, 'Ticker': 'UGI'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xad>\xc8x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00-q\x00~\x00+q\x00~\x00\x1cpppt\x00\x9cUGI Corporation's peers including OKE, 0.531%, SJI, 1.989%,  collectively moved up 0.670% today. Currently, The entire Utilities sector gained 0.264% today.pt\x03\x1aUGI Corporation is outperforming general market movements when compared to the S&P 500 over the last 20 trading days. In regards to the Utilities sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). The U/D volume indicator is positive and growing, suggesting more and more investors are piling into the stock and could experience some continued momentum upwards. The stock's price is currently above its 50-day moving average, suggesting strong support for the stock. UGI Corporation has performed very well over the past few weeks and investors should continue to expect the same performance going forward by indication of its technicals.t\x00\x03UGIt\x00fIn heavily redacted response, UGI denies allegations of blame for fatal Manor Township house explosionsq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c<\x00\x00\x00\x01sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c<q\x00~\x005q\x00~\x00\x15pppt\x02r[[{'Date': '2018-11-12', 'Open': '1.30', 'High': '1.31', 'Low': '1.27', 'Close': '1.30', 'Volume': 9173780, 'Ticker': 'RAD'}, {'Date': '2018-11-13', 'Open': '1.30', 'High': '1.33', 'Low': '1.28', 'Close': '1.31', 'Volume': 10260116, 'Ticker': 'RAD'}, {'Date': '2018-11-14', 'Open': '1.33', 'High': '1.36', 'Low': '1.30', 'Close': '1.32', 'Volume': 12420997, 'Ticker': 'RAD'}, {'Date': '2018-11-15', 'Open': '1.32', 'High': '1.32', 'Low': '1.19', 'Close': '1.20', 'Volume': 18735185, 'Ticker': 'RAD'}, {'Date': '2018-11-16', 'Open': '1.20', 'High': '1.25', 'Low': '1.19', 'Close': '1.21', 'Volume': 13941864, 'Ticker': 'RAD'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xac\xf4\x90x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x007q\x00~\x005q\x00~\x00\x1cpppt\x00\xedRite Aid Corporation's peers including PETS, -2.369%, SFLY, -0.670%, CVS, -0.706%, VSI, -4.819%, GNC, -0.315%, WBA, -0.206%,  collectively moved down -2.039% today. At present,  The entire Consumer Defensive sector was down 0.000% today.pt\x03\xd4Rite Aid Corporation is outperforming general market movements when compared to the S&P 500 over the last 20 trading days. In regards to the Consumer Defensive sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). Additionally, the MACD for the company is current rising even as the stock continues to fall, suggesting the stock may start to bottom out and could be a reverse its trends. The U/D volume indicator is overall negative, however it is increasing and may signal more investors are beginning to accumulate the stock. The stock's price is currently above its 50-day moving average, suggesting strong support for the stock. Technical indicators are providing mixed signals for the future direction of this stock and investors should continue to closely monitor this stock to see if its condition becomes more apparent.t\x00\x03RADt\x00*Who Are Rite Aid's (RAD) Main Competitors?sq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c;\x00\x00\x00\x02sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c;q\x00~\x00?q\x00~\x00\x15pppt\x02}[[{'Date': '2018-11-12', 'Open': '37.77', 'High': '38.00', 'Low': '36.68', 'Close': '37.02', 'Volume': 7836409, 'Ticker': 'LB'}, {'Date': '2018-11-13', 'Open': '37.05', 'High': '37.30', 'Low': '36.39', 'Close': '36.86', 'Volume': 3317161, 'Ticker': 'LB'}, {'Date': '2018-11-14', 'Open': '37.31', 'High': '37.81', 'Low': '36.44', 'Close': '36.83', 'Volume': 6774717, 'Ticker': 'LB'}, {'Date': '2018-11-15', 'Open': '36.22', 'High': '36.22', 'Low': '35.12', 'Close': '35.69', 'Volume': 5135458, 'Ticker': 'LB'}, {'Date': '2018-11-16', 'Open': '35.33', 'High': '35.55', 'Low': '34.76', 'Close': '35.28', 'Volume': 4196326, 'Ticker': 'LB'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xac\xd98x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00Aq\x00~\x00?q\x00~\x00\x1cpppt\x00\xf3L Brands Inc.'s peers including ROST, -4.282%, CHS, -1.593%, GPS, -1.313%, TJX, -4.603%, TGT, -2.108%, EXPR, -5.068%, ASNA, -6.731%,  collectively moved down -4.133% today. Currently, The entire Consumer Cyclical sector was down -1.824% today.pt\x03\xccL Brands Inc. is outperforming general market movements when compared to the S&P 500 over the last 20 trading days. In regards to the Consumer Cyclical sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). Additionally, the MACD for the company is current rising even as the stock continues to fall, suggesting the stock may start to bottom out and could be a reverse its trends. The U/D volume indicator is positive and growing, suggesting more and more investors are piling into the stock and could experience some continued momentum upwards. The stock's price is currently above its 50-day moving average, suggesting strong support for the stock. L Brands Inc. has performed very well over the past few weeks and investors should continue to expect the same performance going forward by indication of its technicals.t\x00\x02LBt\x004What to Expect When L Brands Reports After the Closesq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c9\x00\x00\x00\x00sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c9q\x00~\x00Iq\x00~\x00\x15pppt\x02\x96[[{'Date': '2018-11-12', 'Open': '185.95', 'High': '187.42', 'Low': '183.78', 'Close': '184.37', 'Volume': 3080002, 'Ticker': 'MCD'}, {'Date': '2018-11-13', 'Open': '183.94', 'High': '184.92', 'Low': '183.32', 'Close': '184.01', 'Volume': 2358141, 'Ticker': 'MCD'}, {'Date': '2018-11-14', 'Open': '184.22', 'High': '185.09', 'Low': '183.36', 'Close': '183.85', 'Volume': 3400543, 'Ticker': 'MCD'}, {'Date': '2018-11-15', 'Open': '182.97', 'High': '183.98', 'Low': '181.52', 'Close': '183.56', 'Volume': 3351057, 'Ticker': 'MCD'}, {'Date': '2018-11-16', 'Open': '183.50', 'High': '187.77', 'Low': '183.42', 'Close': '187.59', 'Volume': 3759402, 'Ticker': 'MCD'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xacw\x90x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00Kq\x00~\x00Iq\x00~\x00\x1cpppt\x00\xc1McDonald's Corporation's peers including SBUX, 0.029%, YUM, -0.456%, WEN, -0.534%,  collectively moved down -0.101% today. Currently, The entire Consumer Cyclical sector was down -2.026% today.pt\x04=McDonald's Corporation is outperforming general market movements when compared to the S&P 500 over the last 20 trading days. In regards to the Consumer Cyclical sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). Additionally, the MACD for the company is current falling, which suggests this current rally may begin to end. The RSI also indicates the market may be topping out for the stock. The U/D volume indicator is positive and growing, suggesting more and more investors are piling into the stock and could experience some continued momentum upwards. The stock's price is currently above its 50-day moving average, suggesting strong support for the stock. The stock is in a short-term overbought condition based on its stochastic oscillator value. Despite the decent recent performance of McDonald's Corporation, investors should be wary of this stock, since most indicators are pointing toward a reversal in the short term.t\x00\x03MCDt\x00/McDonald's top UK marketer Emily Somers departssq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c7\x00\x00\x00\x00sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c7q\x00~\x00Sq\x00~\x00\x15pppt\x02\x82[[{'Date': '2018-11-12', 'Open': '76.35', 'High': '76.77', 'Low': '74.99', 'Close': '75.10', 'Volume': 5196336, 'Ticker': 'NKE'}, {'Date': '2018-11-13', 'Open': '75.53', 'High': '76.26', 'Low': '74.84', 'Close': '75.20', 'Volume': 4583753, 'Ticker': 'NKE'}, {'Date': '2018-11-14', 'Open': '76.32', 'High': '77.49', 'Low': '74.89', 'Close': '75.20', 'Volume': 7866220, 'Ticker': 'NKE'}, {'Date': '2018-11-15', 'Open': '74.44', 'High': '74.67', 'Low': '72.89', 'Close': '74.33', 'Volume': 7846919, 'Ticker': 'NKE'}, {'Date': '2018-11-16', 'Open': '73.76', 'High': '75.52', 'Low': '73.06', 'Close': '74.74', 'Volume': 8063579, 'Ticker': 'NKE'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xab\xee\xd8x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00Uq\x00~\x00Sq\x00~\x00\x1cpppt\x00\xb1Nike Inc.'s peers including SKX, -3.664%, UAA, -3.195%, DECK, -4.426%,  collectively moved down -3.580% today. Currently, The entire Consumer Cyclical sector lose -2.026% today.pt\x03(Nike Inc. is outperforming general market movements when compared to the S&P 500 over the last 20 trading days. In regards to the Consumer Cyclical sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). The U/D volume indicator is negative and declining, suggesting an increasing amount of investors are dumping the stock and may continue to for some time. The stock's price is currently below its 50-day moving average, suggesting there could be some resistance for the stock going forward. Investors should be concerned if they have a position in this account, since nothing indicates that the poor performance of this stock will slow down any time soon.t\x00\x03NKEt\x00>Are You Waiting For The OFF-WHITE x Nike Air Force 1 Low Volt?sq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c5\x00\x00\x00\x00sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c5q\x00~\x00]q\x00~\x00\x15pppt\x02\x82[[{'Date': '2018-11-12', 'Open': '82.44', 'High': '83.28', 'Low': '80.34', 'Close': '80.75', 'Volume': 3308697, 'Ticker': 'KSS'}, {'Date': '2018-11-13', 'Open': '81.20', 'High': '81.90', 'Low': '79.66', 'Close': '80.15', 'Volume': 3962185, 'Ticker': 'KSS'}, {'Date': '2018-11-14', 'Open': '79.88', 'High': '82.09', 'Low': '75.57', 'Close': '75.80', 'Volume': 5840787, 'Ticker': 'KSS'}, {'Date': '2018-11-15', 'Open': '73.78', 'High': '74.45', 'Low': '72.51', 'Close': '73.22', 'Volume': 4981397, 'Ticker': 'KSS'}, {'Date': '2018-11-16', 'Open': '71.67', 'High': '72.78', 'Low': '69.30', 'Close': '72.49', 'Volume': 6851407, 'Ticker': 'KSS'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xab\x91\x18x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00_q\x00~\x00]q\x00~\x00\x1cpppt\x00\xb6Kohl's Corporation's peers including JWN, 0.520%, TGT, -2.196%, M, -0.976%,  collectively moved down -1.607% today. Currently, The entire Consumer Cyclical sector lose -2.026% today.pt\x03%Kohl's Corporation has underperformed the market when compared to the S&P 500 over the last 20 trading days. In regards to the Consumer Cyclical sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). The U/D volume indicator is negative and declining, suggesting an increasing amount of investors are dumping the stock and may continue to for some time. The stock's price is currently below its 50-day moving average, suggesting there could be some resistance for the stock going forward. Investors should be concerned if they have a position in this account, since nothing indicates that the poor performance of this stock will slow down any time soon.t\x00\x03KSSt\x004Discount Retailers Kohl's, Ross, TJX Report Earningssq\x00~\x00\a\x00\x00\x00\x00\x00\x00\x0c4\x00\x00\x00\x01sq\x00~\x00\r\x00\xff\xff\xff\xff\x00\x00\x00\x00sq\x00~\x00\x12\x00\x00\x00\x00\x00\x00\x0c4q\x00~\x00gq\x00~\x00\x15pppt\x02\x82[[{'Date': '2018-11-12', 'Open': '34.40', 'High': '34.48', 'Low': '34.35', 'Close': '34.35', 'Volume': 273326, 'Ticker': 'XOXO'}, {'Date': '2018-11-13', 'Open': '34.40', 'High': '34.50', 'Low': '34.25', 'Close': '34.25', 'Volume': 313799, 'Ticker': 'XOXO'}, {'Date': '2018-11-14', 'Open': '34.29', 'High': '34.54', 'Low': '34.20', 'Close': '34.52', 'Volume': 364054, 'Ticker': 'XOXO'}, {'Date': '2018-11-15', 'Open': '34.46', 'High': '34.77', 'Low': '34.35', 'Close': '34.45', 'Volume': 320674, 'Ticker': 'XOXO'}, {'Date': '2018-11-16', 'Open': '34.40', 'High': '34.42', 'Low': '34.25', 'Close': '34.36', 'Volume': 260996, 'Ticker': 'XOXO'}]]sq\x00~\x00\x17w\b\x00\x00\x01g.\xab\x85`x\x00\x00\x00\x00sq\x00~\x00\x1a\x00\xff\xff\xff\xff\x00\x00\x00\x00q\x00~\x00iq\x00~\x00gq\x00~\x00\x1cpppt\x00\xcaXO Group Inc.'s peers including AMZN, -3.931%, JNJ, 1.308%, MDP, 0.942%, DIS, -0.697%, GOOGL, -3.295%,  collectively moved down -2.448% today. As of now, The entire Technology sector lose -3.423% today.pt\x02\xfbXO Group Inc. has underperformed the market when compared to the S&P 500 over the last 20 trading days. In regards to the Technology sector's performance, the stock underperformed it's peers in the same timeframe. The MACD (12, 26 days) is showing bearish signs since the indicator is currently residing below its signal line (EMA 9 days). The U/D volume indicator is negative and declining, suggesting an increasing amount of investors are dumping the stock and may continue to for some time. The stock's price is currently above its 50-day moving average, suggesting strong support for the stock. Investors should be concerned if they have a position in this account, since nothing indicates that the poor performance of this stock will slow down any time soon.t\x00\x04XOXOt\x00KNew 48GB Fallout 76 Patch 1.02 Released for PS4/XO; Clocks in at 15GB on PCxq\x00~\x00\x06" "PX" "1200000"

第二条日志:

1549989906.397080 [0 127.0.0.1:50517] "GET" "getArticle_sumBySentiment::unibit.service.impl.Company.CompanyServiceImplgetArticle_sumBySentiment091"

但浏览器显示间隔服务器错误(500)

0 个答案:

没有答案