Skip to content

crowdvector/polybridge-cookbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyBridge Cookbooks

Runnable PolyBridge cookbooks for market-implied workflows, Colab notebooks, and developer examples. Each cookbook is self-contained and includes a standalone README.md, a runnable notebook, a setup.sh installer, helper code, and public-facing generated assets.

The blog articles use dated snapshots. Running the notebooks or scripts calls the live Forecast API, so values may differ.

Cookbook Index

Cookbook What it builds APIs / tools used Article Colab GitHub folder
vix-forecast/ A live market stress snapshot for VIX, oil, SPX drawdown, gold, and Hormuz reopening probabilities. PolyBridge Forecast, Python 3.10+, requests, matplotlib VIX forecast Open notebook View folder
longshort-portfolio/ A dry-run, review-only long/short sizing demo with structured order-intent artifacts and an MCP prompt workflow. PolyBridge Forecast, PolyBridge MCP, Claude Desktop prompt workflow, Python 3.10+, requests, pillow Long/short dry run Open notebook View folder

Repo Layout

  • README.md is the public index for the repo.
  • PROMPT.md files capture the reproduction brief or MCP prompt for each cookbook.
  • .ipynb notebooks are designed for local Jupyter use or Google Colab.
  • setup.sh installs the cookbook-specific Python dependencies.
  • assets/ contains the generated public artifacts used by each example.

Setup

Get a PolyBridge Forecast API key from the PolyBridge Developer Console:

Export it before running the forecast-backed cookbooks:

read -s "POLYBRIDGE_API_KEY?Paste POLYBRIDGE_API_KEY: "
echo
export POLYBRIDGE_API_KEY

Then choose a cookbook and run it from its own directory.

git clone https://github.com/crowdvector/polybridge-cookbooks.git
cd polybridge-cookbooks/vix-forecast
bash setup.sh
read -s "POLYBRIDGE_API_KEY?Paste POLYBRIDGE_API_KEY: "
echo
export POLYBRIDGE_API_KEY
python3 stress_monitor.py
open assets/market-stress-monitor.png
git clone https://github.com/crowdvector/polybridge-cookbooks.git
cd polybridge-cookbooks/longshort-portfolio
bash setup.sh
read -s "POLYBRIDGE_API_KEY?Paste POLYBRIDGE_API_KEY: "
echo
export POLYBRIDGE_API_KEY
python3 dry_run_portfolio.py
open assets/dry-run-summary.png

Safety

  • Forecast outputs are market-implied snapshots derived from prediction-market data.
  • The values in assets/ can change as source markets update.
  • These cookbooks are technical examples and are not financial advice.
  • longshort-portfolio/ is dry-run and review-only. It does not place trades, require private keys, or include live execution code.

Resources

About

Runnable PolyBridge cookbooks, Colab notebooks, and developer examples.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors