Generate prompts for a browser agent to execute trades
A developer's signal generator reads stock and crypto portfolio files and produces browser-automation prompts for Perplexity Comet to execute trades on brokerage sites.
Done withPerplexity Comet
- What they did
- A Python script reads a CSV or Excel portfolio. It scores each holding from technical indicators, Yahoo Finance news sentiment and X posts, using weights set by time horizon. It maps scores to Strong Buy, Buy, Hold, Trim or Sell with allocation changes. It then writes a signals CSV and a text file of brokerage-specific prompts for Comet. Prompts pause for 2FA and order confirmation.
- How it went
- The repo includes sample signal and prompt files from several runs, plus backtest outputs. The README gives no trade-execution results or performance numbers.
- Worth knowing
- The README calls it educational, not financial advice, and recommends testing with paper trading first. Always review signals and prompts before Comet submits orders.
Try it yourself with Perplexity Comet
Write a script that reads my portfolio files in [folder] and turns my trading signals into clear step-by-step instructions I can give a browser agent for [brokerage site]. Each instruction should include the ticker, buy or sell, quantity and limit price. Output them to [file] for me to review, and make sure the instructions tell the agent to stop and ask me before submitting any order.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: github.com · Undated
Related use cases
Find coffee makers under $100 and add options to the cart
Perplexity Comet searched Amazon for coffee makers with a grinder, built a comparison table and added two options to the cart, stopping before purchase.
Run marketing prospecting and SEO research
Comet found growth-signal e-commerce companies, built contact lists with Gmail drafts, mined Reddit for SEO questions, and audited a checkout flow.
Have Comet fill out forms and follow instructions
Poster says Comet's agentic mode followed instructions, including commanding other AI tools, and filled out a form for them.
Shop for umbrella insurance through your personal agent
Personal AI agents use Coverage Cat's Agent API/MCP to size umbrella coverage and compare carrier options with price ranges, backed by a licensed broker.
Custom agent
Dispute contractor pricing and change orders
An AI reviewed a contractor PO, emails and line items and drafted dispute emails, spotting issues the user missed and leading to $20K credited back.
Custom agent
Let agents manage personal finances via MCP
The poster built an MCP server connecting bank accounts through Plaid or statement uploads so a user's agent can handle ongoing personal finance management.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.