mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 09:52:13 +00:00
* add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
53 lines
1.3 KiB
Markdown
Vendored
53 lines
1.3 KiB
Markdown
Vendored
---
|
|
title: infer
|
|
description: The documentation guide on 'infer', a tool used for quick sentiment inference
|
|
from latest tweets that contain the ticker using vader sentiment analysis. It provides
|
|
parameters to set the tweet limit and also includes examples of usage
|
|
keywords:
|
|
- infer
|
|
- vader sentiment analysis
|
|
- Twitter
|
|
- tweets
|
|
- sentiment inference
|
|
- stock
|
|
- limit
|
|
---
|
|
|
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
|
|
|
|
<HeadTitle title="stocks/ba/infer - Reference | OpenBB Terminal Docs" />
|
|
|
|
Print quick sentiment inference from last tweets that contain the ticker. This model splits the text into character-level tokens and uses vader sentiment analysis. [Source: Twitter]
|
|
|
|
### Usage
|
|
|
|
```python
|
|
infer [-l LIMIT]
|
|
```
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Name | Description | Default | Optional | Choices |
|
|
| ---- | ----------- | ------- | -------- | ------- |
|
|
| limit | limit of latest tweets to infer from. | 100 | True | None |
|
|
|
|
|
|
---
|
|
|
|
## Examples
|
|
|
|
```python
|
|
2022 Feb 19, 13:05 (🦋) /stocks/ba/ $ infer
|
|
From: 2022-02-19 17:08:20
|
|
To: 2022-02-19 18:04:18
|
|
100 tweets were analyzed.
|
|
Frequency of approx 1 tweet every 34 seconds.
|
|
The summed compound sentiment of AAPL is: 13.2
|
|
The average compound sentiment of AAPL is: 0.13
|
|
Of the last 100 tweets, 45.00 % had a higher positive sentiment
|
|
Of the last 100 tweets, 18.00 % had a higher negative sentiment
|
|
```
|
|
---
|