We propose a live agentic system that continuously ingests Reddit discussions, updates sentiment signals in real time, and reacts autonomously to meaningful changes in market narratives.
- Install Python 3.12 (required by
pyproject.toml). - Create and activate a virtual environment:
python3.12 -m venv .venv
source .venv/bin/activate- Install dependencies:
pip install -e .- Optional (Gemini-backed sentiment):
cp sentiment/.env.example sentiment/.envSet GEMINI_API_KEY in sentiment/.env.
- Start the API server:
uvicorn server.main:appplz see testrun.ipynb to see how to run
Post Fields:
post_id,title,selftext,authorscore,upvote_ratio,num_commentslink_flair_text,created_utcis_edited,is_deleted,is_removedcontent_hash(for change detection)
Comment Fields:
comment_id,post_id,parent_idbody,author,score,depthis_submitter,is_edited,created_utccontent_hash(for change detection)
future improvements -
- RAG for finding information on dedicated tickers throughout reddit.
- market prediction history
- accept gemini_api_key from user.'