A FastAPI-based analytics dashboard for SEC Form D private placement filings, designed to integrate with OpenBB Workspace. This dashboard is based on the data source streamed on https://themarketcast.ai/.
This application provides real-time analytics of SEC Form D filings, tracking private equity, debt, and fund offerings across the US. It connects to a backend service to fetch live data and presents it through interactive charts and tables.
- Latest Filings: Paginated table of recent Form D filings
- Security Type Distribution: Pie chart breakdown by Equity, Debt, and Fund
- Top Industries: Horizontal bar chart of most active sectors
- Monthly Activity: Time series charts showing filing trends over time
- Geographic Distribution: US state choropleth map of filing activity
- Top Fundraisers: Bar chart of companies with largest offering amounts
- Yearly Statistics: Annual totals and trends
-
Install dependencies:
pip install fastapi uvicorn plotly pandas requests
-
Run the server:
python main.py
-
Access the API:
- API:
http://localhost:8000 - Widgets:
http://localhost:8000/widgets.json - Apps:
http://localhost:8000/apps.json
- API:
- Backend URL: Set
FORM_D_BACKEND_URLenvironment variable (defaults to Railway backend) - Port: Set
PORTenvironment variable (defaults to 8000) - CORS: Configured for
https://pro.openbb.co
- Markdown: Introduction and documentation
- Table: Paginated data with navigation
- Chart: Interactive Plotly visualizations
/- Root endpoint with service info/form_d_intro- Dashboard introduction markdown/latest_filings- Recent filings table/security_types- Security type distribution chart/top_industries- Industry activity chart/monthly_activity- Time series chart/location_distribution- Geographic distribution map/top_fundraisers- Top companies chart/yearly_statistics- Annual statistics chart
Real-time data from SEC EDGAR database via The Marketcast backend service.
This service is designed to work as a custom data provider in OpenBB Workspace, providing widgets and apps for private market analytics.