Add automated event hunter & trading research assistant - #1
Draft
apexweb-adam with Copilot wants to merge 3 commits into
Draft
Add automated event hunter & trading research assistant#1apexweb-adam with Copilot wants to merge 3 commits into
apexweb-adam with Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/ohmyding01-jpg/Stock/sessions/53c0b4b0-2036-4508-9e83-eff355d9c7ec Co-authored-by: ohmyding01-jpg <264683334+ohmyding01-jpg@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ohmyding01-jpg/Stock/sessions/53c0b4b0-2036-4508-9e83-eff355d9c7ec Co-authored-by: ohmyding01-jpg <264683334+ohmyding01-jpg@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement automated event scanning for asymmetric trading opportunities
Add automated event hunter & trading research assistant
Apr 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Greenfield implementation of a structured trading research tool that scans stocks, options, crypto, and prediction markets for asymmetric event-driven opportunities across five parallel workflows.
Architecture
models.py— Domain dataclasses:MergerArbCandidate,OptionsFlowAlert,AcquisitionBaitCandidate,ActivistPosition,TradeIdea,Basket,DailyScanResultdata_sources.py— Seven ABCs (StockDataSource,OptionsDataSource,NewsDataSource,FilingsDataSource,CryptoDataSource,PredictionMarketSource,FlowDataSource) with full mock implementations; swap in live adapters without touching workflow codeworkflows/— One module per workflow:merger_arb.py— classifies announced deals as Pure arb / Speculative arb / Pass; surfaces prediction-market proxiesoptions_flow.py— flags vol/OI ≥ 3× 30-day avg; cross-checks news; generates thesis + invalidationacquisition_bait.py— scores small/mid-cap stocks and crypto on FCF yield, EV/EBITDA, leverage, insider ownershipactivist_tracker.py— parses 13F/SC 13D stubs and on-chain whale accumulation; annotates cross-workflow overlapsportfolio.py— assembles a Conservative (arb + activist + equity bait) and Aggressive (options + spec arb + crypto + prediction markets) basket, each summing to 100%scanner.py— Orchestrates all five workflows; exposesdaily_scan(),deep_dive(ticker),build_basket()output.py— Rich-based terminal renderer with colour-coded tables and structured sectionsmain.py— CLI entry pointUsage
Extending with live data
Original prompt
You are my AUTOMATED EVENT HUNTER and TRADING RESEARCH ASSISTANT.
High‑level goal:
Continuously scan stocks, options, crypto, and prediction markets (e.g., Polymarket)
to surface asymmetric opportunities, especially:
You NEVER place trades yourself. You generate structured, step‑by‑step research
outputs and trade ideas that I can review and execute manually.
DATA SOURCES & ACCESS (assume tools exist)
Assume you can call tools or APIs with natural‑language commands like:
If some data is not available, say so explicitly and suggest the closest proxy.
CORE WORKFLOWS (run these in parallel)
(e.g., acquisition tokens, bankruptcy claims, event‑driven markets).
instead of the stock itself.
earnings, FDA decisions, court rulings, M&A rumors, macro headlines.
market contracts, or crypto proxies), always stating:
vs peers in same sector.
but low FDV or low attention.
or IP is plausible (wallets, infra, analytics).
smart hedge funds, and crypto whales.