s-ttp commited on
Commit
339e6ae
Β·
verified Β·
1 Parent(s): ad84bd6

README: keep-awake via HF Scheduled Job

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -39,9 +39,10 @@ worst fall βˆ’34%, any 12 months median +24% (in profit 87% of the time). Backte
39
  ranking if it is older than 20 hours, and on weekdays 10:00–15:30 New York time it attempts the guarded rebalance
40
  above β€” so it trades on the first trading day of each month and does nothing otherwise. No GitHub needed.
41
  Set `AUTO_REBALANCE=0` to switch it off. The GitHub workflows in `.github/workflows/` remain an optional backup.
42
- - **Keep-awake** β€” a free Space sleeps after 48 h without visitors, and a sleeping Space's timer stops. Either point a
43
- free uptime monitor (e.g. UptimeRobot or cron-job.org) at `https://s-ttp-updraft.hf.space/api/health` every 30–60
44
- minutes (no secrets involved), or move the Space to paid hardware with sleep turned off.
 
45
  - **State** β€” all in Alpaca (positions, orders, portfolio history). A restart only rebuilds the ranking cache.
46
 
47
  ## Settings (Space β†’ Settings β†’ Variables and secrets)
 
39
  ranking if it is older than 20 hours, and on weekdays 10:00–15:30 New York time it attempts the guarded rebalance
40
  above β€” so it trades on the first trading day of each month and does nothing otherwise. No GitHub needed.
41
  Set `AUTO_REBALANCE=0` to switch it off. The GitHub workflows in `.github/workflows/` remain an optional backup.
42
+ - **Keep-awake** β€” a free Space sleeps after 48 h without visitors, and a sleeping Space's timer stops. A Hugging Face
43
+ **Scheduled Job** (`updraft-keepalive`, id `6acdd86bb0ad3e9da5ea6936`, cron `0 */12 * * *`, cpu-basic) visits
44
+ `/api/health` every 12 hours β€” a few seconds of compute, well under $0.10 a month; pause or delete it under the
45
+ account's Jobs. Alternatives: a free uptime monitor (UptimeRobot / cron-job.org) or paid hardware with sleep off.
46
  - **State** β€” all in Alpaca (positions, orders, portfolio history). A restart only rebuilds the ranking cache.
47
 
48
  ## Settings (Space β†’ Settings β†’ Variables and secrets)