{"repo":"as1605/nifty-llm-research","free":true,"listed":false,"github":"https://github.com/as1605/nifty-llm-research","clone":"git clone https://github.com/as1605/nifty-llm-research.git","description":"Stock Research and Portfolio Generation using Gemini Grounding with Google Search. Vibe coded with Cursor.","language":"Python","stars":12,"topics":["cursor","deep-research","mongodb","nifty","stock-market","gemini"],"license":null,"category":"ai-agents","readme_excerpt":"Nifty LLM Research A research project using LLMs to analyze and forecast NSE-listed stocks, with a focus on portfolio optimization. Overview This project uses Google's Gemini AI to: 1. Analyze NSE-listed stocks and generate price forecasts 2. Optimize stock portfolios based on these forecasts 3. Track portfolio performance 4. Rebalance live Zerodha portfolios based on target allocations Key Features - Stock Analysis : Deep research on individual stocks using Google Search integration - Portfolio Optimization : Selection of optimal stock combinations based on forecasts - Rebalancing (Zerodha) : Connect to Zerodha Kite API, fetch holdings/positions, and place orders to match a target basket - Performance Tracking : Historical tracking of portfolio performance - Output Generation : Detailed reports in both JSON and Markdown formats Getting Started Prerequisites - Python 3.9+ - MongoDB - Google Gemini API key(s) (supports comma-separated list for key rotation) - Zerodha Kite Connect API key and secret - Fernet ENCRYPTION KEY for securely storing access tokens Installation 1. Clone the repository: 2. Install dependencies: 3. Set up environment variables: Usage One-click end-to-end run Use run.sh to automate the full flow: analyze twice, generate portfolio, commit docs, push to Git, and rebalance using the latest basket. - Logs : All Python script output is saved to data/logs/ with timestamped filenames, while still echoed to console - Live orders : Rebalancing runs in LIVE mode by","default_branch":null,"files":null,"tree":[],"storefront":"/r/as1605","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/as1605/nifty-llm-research/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}