Skip to content

Add Finance Chart (Sandbox) cookbook example#72

Merged
jliounis merged 1 commit into
mainfrom
add-finance-chart-sandbox
Jun 1, 2026
Merged

Add Finance Chart (Sandbox) cookbook example#72
jliounis merged 1 commit into
mainfrom
add-finance-chart-sandbox

Conversation

@jliounis

@jliounis jliounis commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a new cookbook example: Finance Chart (Sandbox).

It combines the Perplexity Agent API with finance_search and the sandbox tool to chart a stock's price history and stream a natural-language analysis of the series.

Includes:

  • finance_chart_sandbox.py — CLI script
  • webapp/ — small Flask web app with SSE-streamed analysis (progresschart → streamed tokens → done)
  • README.mdx — usage docs
  • Two screenshots under static/img/
  • README index entry linking the new example

Notes

  • API key is read from PERPLEXITY_API_KEY / PPLX_API_KEY env vars, --api-key, a .pplx_api_key file, or a local .env. No secrets are committed.

Agent API + finance_search + sandbox: charts a stock's price history
and streams a natural-language analysis of the series. Includes a CLI
script and a small web app.
@jliounis jliounis merged commit bc8853c into main Jun 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant