{"definition_raw":"---\nid: swing-score-update\ntitle: Score BTC swing trader setups\nschedule: \"15 5 * * *\"\ntimeout: 300\nretry: true\nenabled: false\nnotify_on: failure\nrun_as: shell\ncommand: \"cd /home/lucienne/workspace && python3 projects/btc-swing-trader/scripts/score_setups.py\"\ntags: [btc, swing-trader, scoring, performance]\nruntime_profile: claude_anthropic\n---\n\nDaily scoring pass for BTC swing trader setups.\n\nRuns at 07:15 SAST (05:15 UTC), ~1h after the daily analysis at 04:02 UTC.\nFetches BTCUSDT 1h candles from Binance and scores every pending/open\nsetup against its entry, stop, and targets.\n\nWrites outcomes to mc.db:swing_setups. The Mission Control `/trading`\npage reads from this table to show per-model hit rate, avg R, and total R.\n\nScoring logic: Long/short trades, entry window 5 days, exit window 14\ndays, stop wins on ambiguity (conservative). 1R = |entry - stop|.\n\nTo rebuild from scratch: `python3 projects/btc-swing-trader/scripts/score_setups.py --backfill`\n","id":"swing-score-update","last_run":{"duration_s":2.246417,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/405183.log","output":"Found 78 analysis files\nRescoring 8 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 2068 1h candles\n\nProcessed 23 setups, 13 with outcomes\nStatus breakdown:\n  open: 7\n  council_unscorable: 4\n  unscorable: 3\n  council_open: 2\n  pending: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n  council_pending: 1\n","started_at":"2026-06-11T05:15:04.886612+02:00","status":"completed"},"next_run":"2026-06-14 05:15","next_run_iso":"2026-06-14T05:15:00+02:00","runs":[{"duration_s":2.246417,"finished_at":"2026-06-11T05:15:07.135559+02:00","id":405183,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/405183.log","output":"Found 78 analysis files\nRescoring 8 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 2068 1h candles\n\nProcessed 23 setups, 13 with outcomes\nStatus breakdown:\n  open: 7\n  council_unscorable: 4\n  unscorable: 3\n  council_open: 2\n  pending: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n  council_pending: 1\n","started_at":"2026-06-11T05:15:04.886612+02:00","status":"completed","task_id":"swing-score-update","task_name":"Score BTC swing trader setups"},{"duration_s":2.285548,"finished_at":"2026-06-10T05:15:07.249200+02:00","id":400915,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/400915.log","output":"Found 77 analysis files\nRescoring 7 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 2044 1h candles\n\nProcessed 20 setups, 13 with outcomes\nStatus breakdown:\n  open: 7\n  council_unscorable: 4\n  unscorable: 3\n  council_open: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n","started_at":"2026-06-10T05:15:04.961159+02:00","status":"completed","task_id":"swing-score-update","task_name":"Score BTC swing trader setups"},{"duration_s":4.159515,"finished_at":"2026-06-09T05:15:09.250560+02:00","id":396644,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/396644.log","output":"Found 76 analysis files\nRescoring 6 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 2020 1h candles\n\nProcessed 17 setups, 12 with outcomes\nStatus breakdown:\n  open: 6\n  council_unscorable: 3\n  council_open: 2\n  unscorable: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n","started_at":"2026-06-09T05:15:05.088306+02:00","status":"completed","task_id":"swing-score-update","task_name":"Score BTC swing trader setups"},{"duration_s":2.145918,"finished_at":"2026-06-08T05:15:07.245511+02:00","id":392552,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/392552.log","output":"Found 75 analysis files\nRescoring 5 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 1996 1h candles\n\nProcessed 14 setups, 11 with outcomes\nStatus breakdown:\n  open: 5\n  council_open: 2\n  council_unscorable: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n  unscorable: 1\n","started_at":"2026-06-08T05:15:05.095289+02:00","status":"completed","task_id":"swing-score-update","task_name":"Score BTC swing trader setups"},{"duration_s":2.785659,"finished_at":"2026-06-07T05:15:06.168833+02:00","id":388191,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/388191.log","output":"Found 74 analysis files\nRescoring 5 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 1972 1h candles\n\nProcessed 14 setups, 10 with outcomes\nStatus breakdown:\n  open: 4\n  council_open: 2\n  council_unscorable: 2\n  unscorable: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n","started_at":"2026-06-07T05:15:03.381364+02:00","status":"completed","task_id":"swing-score-update","task_name":"Score BTC swing trader setups"},{"duration_s":1.797172,"finished_at":"2026-06-06T05:15:05.050506+02:00","id":383473,"log_path":"/home/lucienne/workspace/logs/task-runs/swing-score-update/383473.log","output":"Found 73 analysis files\nRescoring 5 open + 4 new\nFetching candles from 2026-03-17 to now...\nGot 1948 1h candles\n\nProcessed 14 setups, 10 with outcomes\nStatus breakdown:\n  open: 4\n  council_open: 2\n  council_unscorable: 2\n  unscorable: 2\n  expired: 1\n  t1_hit: 1\n  council_t1_hit: 1\n  stopped: 1\n","started_at":"2026-06-06T05:15:03.250739+02:00","status":"completed","task_id":"swing-score-update","task_name":"Score BTC swing trader setups"}],"runs_limit":20,"schedule":"15 5 * * *","schedule_label":{"description":"Daily at 05:15","is_custom":false,"label":"Daily","sort":4,"sort_time":"05:15"},"stats":{"avg_duration":2.5700381666666665,"completed":6,"failed":0,"timeout":0,"total":6},"task":{"_description":"Daily scoring pass for BTC swing trader setups.\n\nRuns at 07:15 SAST (05:15 UTC), ~1h after the daily analysis at 04:02 UTC.\nFetches BTCUSDT 1h candles from Binance and scores every pending/open\nsetup against its entry, stop, and targets.\n\nWrites outcomes to mc.db:swing_setups. The Mission Control `/trading`\npage reads from this table to show per-model hit rate, avg R, and total R.\n\nScoring logic: Long/short trades, entry window 5 days, exit window 14\ndays, stop wins on ambiguity (conservative). 1R = |entry - stop|.\n\nTo rebuild from scratch: `python3 projects/btc-swing-trader/scripts/score_setups.py --backfill`","_file":"swing-score-update.md","_path":"/home/lucienne/workspace/tasks/swing-score-update.md","command":"cd /home/lucienne/workspace && python3 projects/btc-swing-trader/scripts/score_setups.py","enabled":false,"id":"swing-score-update","notify_on":"failure","retry":true,"run_as":"shell","runtime_profile":"claude_anthropic","schedule":"15 5 * * *","tags":["btc","swing-trader","scoring","performance"],"timeout":300,"title":"Score BTC swing trader setups"}}
