README: keep-awake via HF Scheduled Job
Browse files
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.
|
| 43 |
-
|
| 44 |
-
|
|
|
|
| 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)
|