0
# Financial News and Sentiment
1
2
Financial news aggregation and market sentiment analysis from multiple sources. The news module provides access to financial news feeds and sentiment analysis tools.
3
4
## Capabilities
5
6
### News Data
7
8
Financial news aggregation from multiple sources with filtering and search capabilities.
9
10
```python { .api }
11
def obb.news.company(
12
symbol: str,
13
provider: str = None,
14
**kwargs
15
) -> ResponseObject:
16
"""
17
Get company-specific financial news.
18
19
Parameters:
20
- symbol: Company symbol
21
- provider: Data provider to use
22
23
Returns:
24
ResponseObject with company news data
25
"""
26
27
def obb.news.world(
28
provider: str = None,
29
**kwargs
30
) -> ResponseObject:
31
"""
32
Get world financial news.
33
34
Parameters:
35
- provider: Data provider to use
36
37
Returns:
38
ResponseObject with world news data
39
"""
40
```
41
42
## Usage Examples
43
44
### Financial News Retrieval
45
46
```python
47
from openbb import obb
48
49
# Get company news
50
company_news = obb.news.company(symbol="AAPL")
51
company_df = company_news.to_dataframe()
52
53
# Get world financial news
54
world_news = obb.news.world()
55
world_df = world_news.to_dataframe()
56
```
57
58
### News Analysis Workflow
59
60
```python
61
# Retrieve company-specific news
62
# Analyze sentiment trends
63
# Monitor market-moving news events
64
```