這是一個使用 Streamlit 開發的餐飲業財務分析網頁應用,可以幫助投資者分析台灣主要餐飲上市公司的財務狀況。
- 多公司財務指標比較
- 互動式趨勢圖表
- 年度財務比較表格
- 風險與亮點分析
- 公司基本資訊展示
- 美食-KY (2723)
- 王品 (2727)
- 瓦城 (2729)
- 六角 (2732)
- 漢來美食 (1268)
- 克隆此倉庫:
git clone [repository-url]
cd streamlit_deploy- 安裝依賴:
pip install -r requirements.txt- 運行應用:
streamlit run app.py- 在側邊欄選擇要分析的公司
- 選擇時間範圍(近5年或近10年)
- 選擇要分析的財務指標
- 查看趨勢圖表和詳細分析
- Python
- Streamlit
- Pandas
- Plotly
- NumPy
MIT License
- 安裝依賴:
pip install -r requirements.txt- 運行應用:
streamlit run app.py-
將代碼推送到 GitHub 倉庫
-
點擊 "New app"
-
選擇你的 GitHub 倉庫
-
選擇
app.py作為主文件 -
點擊 "Deploy"
確保在 output 目錄下有 selected_companies_financials.csv 文件,該文件包含所需的財務數據。
- 確保所有依賴版本與
requirements.txt中指定的一致 - 數據文件需要定期更新以保持分析結果的時效性
- 建議使用 Python 3.8 或更高版本