A custom OpenBB backend providing Treasury and Federal Reserve data visualizations.
You can add it on OpenBB by copy-pasting this link ot the workspace: https://dharmatech-openbb.fly.dev
- Python 3.8+
- Docker (optional, for containerized deployment)
- Clone the repository:
git clone https://github.com/yourusername/dharmatech-openbb.git
cd dharmatech-openbb- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the application:
uvicorn main:app --port 5050The application will be available at http://localhost:5050
- Build the Docker image:
docker build -t dharmatech-openbb .- Run the container:
docker run -p 5050:5050 dharmatech-openbb- Install the Fly CLI:
curl -L https://fly.io/install.sh | sh- Login to Fly:
fly auth login- Launch the application:
fly launch- Deploy:
fly deploy/widgets.json- List of available widgets/templates.json- Widget templates/transactions- Treasury transactions data/fed-net-liquidity- Federal Reserve net liquidity metrics/fed-balance-sheet- Federal Reserve balance sheet data/mts-income-taxes-monthly- Monthly income tax receipts- And more...
To add new widgets or modify existing ones, edit the main.py file and follow the existing patterns for widget registration and endpoint implementation.

