Add functionality to only update top tickers.

This commit is contained in:
2025-07-25 17:31:23 +02:00
parent 67f627e7ea
commit 44fc3ef533
3 changed files with 72 additions and 23 deletions

View File

@@ -8,9 +8,10 @@ source /home/pkhamre/git/rstat/.venv/bin/activate
echo "--- Starting RSTAT Daily Job on $(date +%F) ---"
# 1. Scrape data from the last 24 hours.
# 1. Scrape data from the last 24 hours and update price for top tickers.
echo "Step 1: Scraping new data..."
rstat -c 250
rstat --no-financials --comments 256
rstat --update-top-tickers
# 2. Start the dashboard in the background.
echo "Step 2: Starting dashboard in background..."
@@ -30,4 +31,4 @@ python post_to_reddit.py --target-subreddit rstat
echo "Step 5: Stopping dashboard server..."
kill $DASHBOARD_PID
echo "--- RSTAT Daily Job Complete ---"
echo "--- RSTAT Daily Job Complete ---"