mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
19 lines
902 B
Plaintext
19 lines
902 B
Plaintext
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 |