OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
30.24k stars 2.81k forks source link

[Bug] news command shows no results #2636

Closed hugo4711 closed 1 year ago

hugo4711 commented 1 year ago
  1. setup api key for newsapi /keys
  2. news NEWSAPI defined, test passed
  3. /stocks
  4. load tsla
  5. news
  6. no results are being displayed

I tried it with different stock symbols - there is no error message, but only an empty result:

`2022 Sep 26, 15:55 ๐Ÿ”ฅ /stocks/ $ load tsla

Loading Daily TSLA stock with starting period 2019-09-23 for analysis.

Company: Tesla, Inc. Exchange: NASDAQ/NMS (GLOBAL MARKET) Currency: USD

                                      TSLA Performance                                           

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“ โ”ƒ 1 Day โ”ƒ 1 Week โ”ƒ 1 Month โ”ƒ 1 Year โ”ƒ YTD โ”ƒ Volatility (1Y) โ”ƒ Volume (10D avg) โ”ƒ Last Price โ”ƒ โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ โ”‚ -8.47 % โ”‚ -9.24 % โ”‚ -7.33 % โ”‚ 9.6 % โ”‚ -31.15 % โ”‚ 64.09 % โ”‚ 63.38 M โ”‚ 275.33 โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

2022 Sep 26, 15:55 ๐Ÿ”ฅ /stocks/ $ news

2022 Sep 26, 15:55 ๐Ÿ”ฅ /stocks/ $`

OpenBB Terminal v1.8.0

deeleeramone commented 1 year ago

There is some odd behaviour that is experienced where FeedParser stops working temporarily. Myself and @simmonsj330 have both experienced it drop out and then pick up again - without making any changes.

Screen Shot 2022-09-26 at 9 24 53 AM
hugo4711 commented 1 year ago

It started to work for me right after filing this bug... Murphys law I guess...

Can I provide any help to debug this issue?

DidierRLopes commented 1 year ago

It started to work for me right after filing this bug... Murphys law I guess...

Can I provide any help to debug this issue?

We have been struggling with this issue for a bit. We cannot understand the intermittent behaviour

jmaslek commented 1 year ago

Closing this as we added a new news source (rss feeds) and the issue was something from newsapi.