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.
Search for a wedding flight to New York
The author gave Comet and ChatGPT Atlas the same flight-booking task; Comet mostly pointed to aggregators instead of specific flights.
Find Reddit threads on reader pain points
A newsletter writer had Comet find Reddit threads on reader pain points, finding extra sources in about 15 minutes without intervention.
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
Prepare and file overdue German VAT statements
Cowork with Claude's Chrome extension prepared accounts from invoice PDFs, then logged into Elster and submitted the overdue Q3 2025 VAT forms.
Appeal a denied travel insurance claim
The poster used Gemini during the appeal of a rejected travel insurance claim and says the appeal succeeded.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.