Files
dekun e5a586f903 Restructure into modules/ with single-process CTP and config/ layout.
Move business code under modules/, env template to config/, PM2 single qihuo process, and _legacy shims for old imports.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 14:42:16 +08:00

20 lines
485 B
Python

# Copyright (c) 2025-2026 马建军. All rights reserved.
def register(deps) -> None:
from modules.trading.install import install_trading
install_trading(
deps.app,
login_required=deps.login_required,
require_nav=deps.require_nav,
get_db=deps.get_db,
get_setting=deps.get_setting,
set_setting=deps.set_setting,
fetch_price=deps.fetch_price,
send_wechat_msg=deps.send_wechat_msg,
)
__all__ = ["register"]