from ..services.signal_engine import run_live_scan
from ..core.config import DATA_DIR
import json, time

def main():
    # Filters aus Settings lesen:
    s = json.loads((DATA_DIR/"settings.json").read_text())
    filters = s.get("live_scan_filters", [])
    res = run_live_scan(filters)
    print(f"[Live] {res['meta']}")

if __name__ == "__main__":
    main()
