diff --git a/gamestonk_terminal/behavioural_analysis/README.md b/gamestonk_terminal/behavioural_analysis/README.md index e715d87ef74..4a926a0c1e7 100644 --- a/gamestonk_terminal/behavioural_analysis/README.md +++ b/gamestonk_terminal/behavioural_analysis/README.md @@ -49,9 +49,9 @@ usage: finbrain ``` FinBrain collects the news headlines from 15+ major financial news sources on a daily basis and analyzes them to generate sentiment scores for more than 4500 US stocks. FinBrain Technologies develops deep learning algorithms for financial analysis and prediction, which currently serves traders from more than 150 countries all around the world. [Source: See https://finbrain.tech] -![finbrain](https://user-images.githubusercontent.com/25267873/111560461-6f735c80-878a-11eb-8f3a-72ef0ddbf8e3.png) +![finbrain2](https://user-images.githubusercontent.com/25267873/111629515-49c97000-87e9-11eb-92a6-a9eebb4b4bd9.png) -Captura de ecrã 2021-03-18, às 01 33 35 +Captura de ecrã 2021-03-18, às 12 53 31 # REDDIT diff --git a/gamestonk_terminal/behavioural_analysis/finbrain_view.py b/gamestonk_terminal/behavioural_analysis/finbrain_view.py index 0887877e9a8..efc530aa77f 100644 --- a/gamestonk_terminal/behavioural_analysis/finbrain_view.py +++ b/gamestonk_terminal/behavioural_analysis/finbrain_view.py @@ -85,6 +85,7 @@ def plot_sentiment(sentiment: pd.DataFrame, ticker: str): start_date = sentiment.index[-1].strftime("%Y/%m/%d") plt.title(f"FinBrain's Sentiment Analysis for {ticker.upper()} since {start_date}") plt.gca().xaxis.set_major_formatter(mdates.DateFormatter("%Y/%m/%d")) + plt.gca().xaxis.set_major_locator(mdates.DayLocator(interval=1)) plt.gcf().autofmt_xdate() plt.ylim([-1.1, 1.1]) senValues = np.array(pd.to_numeric(sentiment["Sentiment Analysis"].values))