---
title: spac
description: A detailed documentation page on the SPAC function from OpenBB's financial
analysis tool suite. Learn how to extract SPAC-related posts from top subreddits
with OpenBB.
keywords:
- SPAC
- Reddit Analysis
- subreddits
- Financial Analysis
- Data Extraction
- SPAC posts Extraction
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
Get posts containing SPAC from top subreddits [Source: reddit].
Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/common/behavioural_analysis/reddit_model.py#L456)]
```python
openbb.stocks.ba.spac(limit: int = 5)
```
---
## Parameters
| Name | Type | Description | Default | Optional |
| ---- | ---- | ----------- | ------- | -------- |
| limit | int | Number of posts to get for each subreddit, by default 5 | 5 | True |
---
## Returns
| Type | Description |
| ---- | ----------- |
| Tuple[pd.DataFrame, dict, int] | Dataframe of reddit submission,
Dictionary of tickers and counts,
Number of posts found. |
---