{"definition_raw":"---\nid: crypto-paper-snapshot\ntitle: Crypto paper portfolio hourly snapshot\nschedule: \"10 * * * *\"\ntimeout: 60\nretry: false\nenabled: false\nnotify_on: failure\nnotify_to: crypto-trader\nrun_as: shell\ncommand: \"cd /home/lucienne/workspace && python3 projects/crypto-trader/scripts/paper_trade.py --snapshot\"\ntags: [crypto, paper-trading, snapshot]\nruntime_profile: claude_glm\n---\n\nHourly equity snapshot for the paper BTC portfolio driven by the morning\nOpus verdict. Fetches the current BTC price from Binance, marks-to-market\nthe simulated holdings, and writes a row to mc.db:paper_equity_snapshots\nso the Mission Control /trading page shows a live P&L curve between\nverdict-driven rebalances.\n\nRuns at :10 of every hour, 5 minutes after the hourly crypto-trader-cycle\n(which handles signal generation \u2014 unrelated to paper trading).\n\nRebalances only happen once per day via the morning brief task\n(crypto-trader-brief at 06:00 UTC), which is where the paper_trade.py\n--on-verdict call is chained.\n","id":"crypto-paper-snapshot","last_run":{"duration_s":0.421697,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/408469.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 63410.175, 'total': 10344.48}\n","started_at":"2026-06-11T23:10:00.578619+02:00","status":"completed"},"next_run":"2026-06-13 07:10","next_run_iso":"2026-06-13T07:10:00+02:00","runs":[{"duration_s":0.421697,"finished_at":"2026-06-11T23:10:01.004564+02:00","id":408469,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/408469.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 63410.175, 'total': 10344.48}\n","started_at":"2026-06-11T23:10:00.578619+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.328688,"finished_at":"2026-06-11T22:10:00.890356+02:00","id":408285,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/408285.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 63514.685, 'total': 10346.21}\n","started_at":"2026-06-11T22:10:00.557013+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.46603,"finished_at":"2026-06-11T21:10:01.045227+02:00","id":408098,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/408098.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 63362.225, 'total': 10343.69}\n","started_at":"2026-06-11T21:10:00.574531+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.339516,"finished_at":"2026-06-11T20:10:00.907769+02:00","id":407914,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/407914.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 63287.025, 'total': 10342.45}\n","started_at":"2026-06-11T20:10:00.563474+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.369034,"finished_at":"2026-06-11T19:10:00.945098+02:00","id":407728,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/407728.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62425.545, 'total': 10328.22}\n","started_at":"2026-06-11T19:10:00.569477+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.414942,"finished_at":"2026-06-11T18:10:00.967678+02:00","id":407542,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/407542.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62677.475, 'total': 10332.38}\n","started_at":"2026-06-11T18:10:00.545821+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.360516,"finished_at":"2026-06-11T17:10:00.925586+02:00","id":407356,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/407356.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62709.05, 'total': 10332.9}\n","started_at":"2026-06-11T17:10:00.558921+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.325165,"finished_at":"2026-06-11T16:10:00.721690+02:00","id":407171,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/407171.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62837.675, 'total': 10335.03}\n","started_at":"2026-06-11T16:10:00.390630+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.64272,"finished_at":"2026-06-11T15:10:01.018198+02:00","id":406988,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/406988.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62832.025, 'total': 10334.93}\n","started_at":"2026-06-11T15:10:00.371275+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.365392,"finished_at":"2026-06-11T14:10:00.958004+02:00","id":406802,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/406802.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62980.005, 'total': 10337.38}\n","started_at":"2026-06-11T14:10:00.587917+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.446221,"finished_at":"2026-06-11T13:10:01.013595+02:00","id":406615,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/406615.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 63066.205, 'total': 10338.8}\n","started_at":"2026-06-11T13:10:00.561244+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.464575,"finished_at":"2026-06-11T12:10:01.017441+02:00","id":406424,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/406424.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62837.995, 'total': 10335.03}\n","started_at":"2026-06-11T12:10:00.547700+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.259686,"finished_at":"2026-06-11T11:10:00.609171+02:00","id":406239,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/406239.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62776.695, 'total': 10334.02}\n","started_at":"2026-06-11T11:10:00.345317+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.43559,"finished_at":"2026-06-11T10:10:00.978912+02:00","id":406051,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/406051.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62724.635, 'total': 10333.16}\n","started_at":"2026-06-11T10:10:00.539603+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.436908,"finished_at":"2026-06-11T09:10:00.984804+02:00","id":405865,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/405865.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62573.915, 'total': 10330.67}\n","started_at":"2026-06-11T09:10:00.542575+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.385062,"finished_at":"2026-06-11T08:10:32.647620+02:00","id":405684,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/405684.log","output":"{'status': 'snapshot', 'btc_qty': 0.016516, 'usd': 9297.18, 'btc_price': 62599.985, 'total': 10331.1}\n","started_at":"2026-06-11T08:10:32.259707+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.256726,"finished_at":"2026-06-11T07:10:00.650797+02:00","id":405517,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/405517.log","output":"{'status': 'snapshot', 'btc_qty': 0.025243, 'usd': 8752.69, 'btc_price': 62534.155, 'total': 10331.25}\n","started_at":"2026-06-11T07:10:00.389872+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.259125,"finished_at":"2026-06-11T06:10:00.819064+02:00","id":405330,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/405330.log","output":"{'status': 'snapshot', 'btc_qty': 0.025243, 'usd': 8752.69, 'btc_price': 62528.055, 'total': 10331.1}\n","started_at":"2026-06-11T06:10:00.554500+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.247178,"finished_at":"2026-06-11T05:10:00.824277+02:00","id":405164,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/405164.log","output":"{'status': 'snapshot', 'btc_qty': 0.025243, 'usd': 8752.69, 'btc_price': 62039.085, 'total': 10318.76}\n","started_at":"2026-06-11T05:10:00.572116+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"},{"duration_s":0.308354,"finished_at":"2026-06-11T04:11:05.104102+02:00","id":404985,"log_path":"/home/lucienne/workspace/logs/task-runs/crypto-paper-snapshot/404985.log","output":"{'status': 'snapshot', 'btc_qty': 0.025243, 'usd': 8752.69, 'btc_price': 62078.445, 'total': 10319.75}\n","started_at":"2026-06-11T04:11:04.792822+02:00","status":"completed","task_id":"crypto-paper-snapshot","task_name":"Crypto paper portfolio hourly snapshot"}],"runs_limit":20,"schedule":"10 * * * *","schedule_label":{"description":"Every hour at :10","is_custom":false,"label":"Hourly","sort":2,"sort_time":""},"stats":{"avg_duration":0.3341275763888889,"completed":144,"failed":0,"timeout":0,"total":144},"task":{"_description":"Hourly equity snapshot for the paper BTC portfolio driven by the morning\nOpus verdict. Fetches the current BTC price from Binance, marks-to-market\nthe simulated holdings, and writes a row to mc.db:paper_equity_snapshots\nso the Mission Control /trading page shows a live P&L curve between\nverdict-driven rebalances.\n\nRuns at :10 of every hour, 5 minutes after the hourly crypto-trader-cycle\n(which handles signal generation \u2014 unrelated to paper trading).\n\nRebalances only happen once per day via the morning brief task\n(crypto-trader-brief at 06:00 UTC), which is where the paper_trade.py\n--on-verdict call is chained.","_file":"crypto-paper-snapshot.md","_path":"/home/lucienne/workspace/tasks/crypto-paper-snapshot.md","command":"cd /home/lucienne/workspace && python3 projects/crypto-trader/scripts/paper_trade.py --snapshot","enabled":false,"id":"crypto-paper-snapshot","notify_on":"failure","notify_to":"crypto-trader","retry":false,"run_as":"shell","runtime_profile":"claude_glm","schedule":"10 * * * *","tags":["crypto","paper-trading","snapshot"],"timeout":60,"title":"Crypto paper portfolio hourly snapshot"}}
