Skip to content

Latest commit

 

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python Streamlit Gemini

📡 Stock-Bot: US Market AI Radar

An institutional-grade AI financial decision system powered by Google Gemini 3.0 Pro.

English    Chinese


🇺🇸 English Readme

📖 Introduction

Stock-Bot is not just a simple stock price dashboard. It acts as an AI Chief Investment Officer (CIO).

Leveraging the reasoning capabilities of Google Gemini 3.0 Pro, combined with real-time market data (Yahoo Finance) and official economic hard data (FRED), it provides a multi-dimensional analysis ranging from macro sentiment to micro capital flows. It doesn't just tell you "what happened," but uses a unique "Traffic Light System" and "Breadth Divergence Model" to help you decide whether to be Aggressive or Defensive.

✨ Key Features

  1. 🚦 Market Traffic Light System:
    • A proprietary algorithm that scores the market (0-100) based on Trend (50MA), Structure (Breadth), Rotation (Cyclical vs Defensive), and Sentiment (VIX).
    • Instantly visualizes the market status: Green (Risk-On), Yellow (Caution), or Red (Defensive).
  2. 🧠 AI Deep Dive Report:
    • Uses Gemini 3.0 Pro to generate a hedge-fund style daily briefing.
    • Filters out noise and focuses on the last 2 weeks of marginal changes.
    • Provides actionable strategies (e.g., "Buy the dip" or "Cash is King").
  3. 📉 Market Breadth & Divergence:
    • Monitors the "Crocodile Jaws" between the Equal-Weight S&P 500 (RSP) and Cap-Weight (SPY) to detect fake rallies.
  4. 🔢 FRED Macro Hard Data:
    • Direct connection to the Federal Reserve database to fetch Real GDP, Core PCE, Non-Farm Payrolls, etc., for cross-validation with news.
  5. 🌍 Global Asset Watchlist:
    • Tracks Mag 7, Semiconductors, China/Emerging Markets, Macro Liquidity (Yields/DXY/BTC), and Commodities.

🛠️ Usage

website:https://stock-bot-jbz8eeyers25wnkkvytouy.streamlit.app


🇨🇳 中文说明 Readme

📖 项目简介

Stock-Bot 不仅仅是一个简单的股价行情板。它是一个机构视角的智能金融决策系统

利用 Google Gemini 3.0 Pro 强大的推理能力,结合实时市场数据 (Yahoo Finance) 和官方经济硬数据 (FRED),为您提供从宏观情绪到微观资金流向的全维度分析。它不只告诉您“发生了什么”,更通过独创的**“红绿灯系统”“广度背离模型”**,助您判断“现在该进攻还是防守”。

✨ 核心功能亮点

  1. 🚦 市场全景红绿灯 (Market Traffic Light)
    • 基于趋势 (50日线)、结构 (市场广度)、轮动 (进攻vs防御板块) 和情绪 (VIX) 的独家算法评分 (0-100)。
    • 一秒看懂市场状态:🟢 绿灯 (积极进攻)🟡 黄灯 (震荡观察)🔴 红灯 (防守空仓)
  2. 🧠 AI 深度内参报告
    • 调用 Gemini 3.0 Pro 生成对冲基金风格的每日投资简报。
    • 自动过滤过时噪音,仅关注最近 2 周的边际变化。
    • 提供明确的操作建议(如“逢低买入”或“现金为王”)。
  3. 📉 市场广度与背离监测
    • 监测标普500等权 (RSP) 与市值加权 (SPY) 之间的“鳄鱼嘴”背离,识别指数虚假繁荣。
  4. 🔢 FRED 宏观硬数据
    • 直连美联储数据库,获取经过验证的 GDP、核心 PCE、非农就业等数据,与新闻叙事进行交叉验证。
  5. 🌍 全球资产雷达
    • 自动追踪科技七巨头 (Mag 7)、半导体、中概互联/新兴市场、宏观流动性 (美债/美元/BTC) 及大宗商品。

🛠️ 使用

网页版传送门:https://stock-bot-jbz8eeyers25wnkkvytouy.streamlit.app


⚠️ Disclaimer / 免责声明

🇺🇸 English

Important Notice:

  1. Not Financial Advice: The content, data, and reports generated by Stock-Bot are for informational and research purposes only. They do not constitute financial, investment, or trading advice.
  2. AI Limitations: The analysis is powered by Google Gemini AI. AI models can "hallucinate" or generate factually incorrect information. Always verify key data points (e.g., earnings dates, dividends, specific price levels) with official sources.
  3. Data Latency: Market data provided by Yahoo Finance may be delayed.
  4. User Responsibility: You are solely responsible for your investment decisions. The developers of this project accept no liability for any losses incurred from the use of this tool.

🇨🇳 中文

重要提示:

  1. 非投资建议:Stock-Bot 生成的所有内容、数据及报告仅供信息参考与研究使用,不构成任何形式的财务、投资或交易建议。
  2. AI 局限性:本系统的分析基于 Google Gemini AI 模型。人工智能可能会产生“幻觉”或生成与事实不符的信息。对于关键数据(如财报日期、分红、具体价格点位),请务必与官方渠道进行二次核实
  3. 数据延迟:Yahoo Finance 提供的市场数据可能存在延迟。
  4. 盈亏自负:您的任何投资决策需由您自行承担风险。本项目开发者不对因使用本工具而导致的任何资金损失承担法律责任。

About

📡 Stock-Bot: US Market AI Radar | Powered by Google Gemini 3.0 Pro | 宏观·广度·情绪·轮动

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages