#!/bin/sh
# [2026-10-28] after board_test3 (4 rule versions): the persistence test 2 / 3 / 5 minutes
cd /var/www/screener/trade/reports/ev3
until grep -q BT3_SUMMARY_DONE board_test3.log 2>/dev/null; do sleep 60; done
nice -n 5 python3 board_test4.py 2024-10-01..2025-09-30 bt4_y1.jsonl > bt4_y1.log 2>&1 &
nice -n 5 python3 board_test4.py 2025-10-01..2026-10-27 bt4_y2.jsonl > bt4_y2.log 2>&1 &
wait; nice -n 5 python3 board_test4.py summary bt4_y1.jsonl bt4_y2.jsonl > board_test4.log 2>&1
