Skip to content

Commit c9d17d9

Browse files
yingwangclaude
andcommitted
fix(lgbm): move scheduled cron 2h earlier
Previous cron 55 19 * * 1-5 (15:55 ET EDT) ran only 5 min before market close. With GH Actions runner startup delays of 30-60 min, the script reliably ran AFTER market close and orders queued overnight without filling. New cron 0 18 * * 1-5 (14:00 ET EDT) gives a 2-hour buffer. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 413c663 commit c9d17d9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/rebalance-lgbm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Paper Trade Rebalance (LightGBM)
22

33
on:
44
schedule:
5-
# Same schedule as factor strategy - 3:55 PM ET weekdays
6-
- cron: '55 19 * * 1-5'
5+
# 18:00 UTC = 14:00 ET (EDT) / 13:00 ET (EST). 2h+ before close so
6+
# GH Actions startup delay (often 30+ min) still leaves enough time
7+
# for orders to fill during market hours.
8+
- cron: '0 18 * * 1-5'
79
workflow_dispatch:
810
inputs:
911
mode:

0 commit comments

Comments
 (0)