Files
lhbfx/backend/scripts/generate_warnings.py

22 lines
423 B
Python
Raw Normal View History

from __future__ import annotations
from _bootstrap import add_src_to_path
add_src_to_path()
from lhbfx.pipeline import generate_warnings
def main() -> None:
result = generate_warnings()
print(
"预警生成完成:"
f"sell_alert={result['sell_alert']}, "
f"slow_exit_watch={result['slow_exit_watch']}, "
f"total={result['total']}"
)
if __name__ == "__main__":
main()