22 lines
423 B
Python
22 lines
423 B
Python
|
|
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()
|