Files
linebot_finance/structure.txt

19 lines
902 B
Plaintext
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
app/
├── main.py # include 三個 router
├── config.py # 所有環境變數統一管理
├── db/
│ ├── session.py # engine + SessionLocal
│ └── models.py # 所有 SQLAlchemy model
├── line/
│ ├── router.py # /webhook
│ ├── handlers.py # 訊息進來的入口
│ ├── expense.py # 記帳所有邏輯(原本的 main.py
│ └── captcha_state.py
├── invoice/
│ └── router.py # /invoice/fetch
└── trading/
├── router.py # /trading/check-signals骨架
├── data.py # TODO: 移植行情抓取
├── indicators.py # TODO: 移植指標計算
├── strategy.py # TODO: 移植策略邏輯
└── broker.py # TODO: 永豐 Shioaji