You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ The mainline runtime now follows one path only:
40
40
-`soxl_soxx_trend_income`
41
41
-`tech_communication_pullback_enhancement`
42
42
-`mega_cap_leader_rotation_dynamic_top20`
43
+
-`dynamic_mega_leveraged_pullback`
43
44
44
45
45
46
**IBKR profile status**
@@ -52,6 +53,7 @@ The mainline runtime now follows one path only:
52
53
|`soxl_soxx_trend_income`| SOXL/SOXX Semiconductor Trend Income | Yes | Yes | No | No |`us_equity`| current IBKR live line |
53
54
|`tech_communication_pullback_enhancement`| Tech/Communication Pullback Enhancement | Yes | Yes | No | No |`us_equity`| enabled feature-snapshot alternative |
54
55
|`mega_cap_leader_rotation_dynamic_top20`| Mega Cap Leader Rotation Dynamic Top20 | Yes | Yes | No | No |`us_equity`| enabled concentrated leader rotation |
56
+
|`dynamic_mega_leveraged_pullback`| Dynamic Mega Leveraged Pullback | Yes | Yes | No | No |`us_equity`| enabled 2x mega-cap pullback line |
55
57
56
58
Check the current matrix locally:
57
59
@@ -96,7 +98,7 @@ The selected `ACCOUNT_GROUP` is now the runtime identity. Keep broker-specific i
96
98
|----------|----------|-------------|
97
99
|`IB_GATEWAY_ZONE`| Optional fallback | GCE zone (for example `us-central1-a`). Recommended to keep in the selected account-group entry; this env var is only a transition fallback. |
98
100
|`IB_GATEWAY_IP_MODE`| Optional fallback |`internal` (default) or `external`. Recommended to keep in the selected account-group entry; this env var is only a transition fallback. |
|`ACCOUNT_GROUP`| Yes | Account-group selector. No default fallback. |
101
103
|`IBKR_FEATURE_SNAPSHOT_PATH`| Conditionally required | Required for snapshot-backed profiles such as `russell_1000_multi_factor_defensive`, `tech_communication_pullback_enhancement`, and `mega_cap_leader_rotation_dynamic_top20`. Path to the latest feature snapshot file (`.csv`, `.json`, `.jsonl`, `.parquet`). |
102
104
|`IB_ACCOUNT_GROUP_CONFIG_SECRET_NAME`| Yes for Cloud Run | Secret Manager secret name for account-group config JSON. Recommended production source. |
@@ -229,11 +231,11 @@ Recommended setup:
229
231
230
232
On every push to `main`, the workflow updates the existing Cloud Run service with the values above and removes legacy env vars that should now live in the account-group config (`IB_CLIENT_ID`, `IB_GATEWAY_INSTANCE_NAME`, `IB_GATEWAY_MODE`) plus the older transport vars (`IB_GATEWAY_HOST`, `IB_GATEWAY_PORT`, `TELEGRAM_CHAT_ID`). If `IB_GATEWAY_ZONE` or `IB_GATEWAY_IP_MODE` are blank in GitHub, the workflow also removes them from Cloud Run to avoid drift.
231
233
232
-
`STRATEGY_PROFILE` is now resolved from a platform capability matrix plus a rollout allowlist. The current strategy domain is `us_equity`, and the repo keeps the runtime registry thin: `eligible` means the platform can run the strategy in theory, while `enabled` means the current rollout really allows it. `ACCOUNT_GROUP` now selects one account-group config entry, and the service fails fast if that runtime identity is incomplete.
234
+
`STRATEGY_PROFILE` is now resolved from a platform capability matrix plus a rollout allowlist derived from `runtime_enabled` strategy metadata. The current strategy domain is `us_equity`, and the repo keeps the runtime registry thin: `eligible` means the platform can run the strategy in theory, while `enabled` means the current rollout really allows it. `ACCOUNT_GROUP` now selects one account-group config entry, and the service fails fast if that runtime identity is incomplete.
233
235
234
236
Important:
235
237
236
-
- The workflow only becomes strict when `ENABLE_GITHUB_ENV_SYNC=true`. If this variable is unset, the sync job is skipped.
238
+
- The workflow only becomes strict when `ENABLE_GITHUB_ENV_SYNC=true`. If this variable is unset, the sync job is skipped. When enabled, it resolves the selected profile's snapshot/config requirements from `scripts/print_strategy_profile_status.py --json` instead of a hard-coded strategy-name list.
237
239
- Here "shared config" still only means the **IBKR pair** (`InteractiveBrokersPlatform` + `IBKRGatewayManager`). `TELEGRAM_TOKEN` and `TELEGRAM_TOKEN_SECRET_NAME` remain repository-specific.
238
240
- If `IB_ACCOUNT_GROUP_CONFIG_SECRET_NAME` is set, the Cloud Run runtime needs Secret Manager access to that secret.
239
241
- GitHub now authenticates to Google Cloud with OIDC + Workload Identity Federation, so `GCP_SA_KEY` is no longer required for this workflow.
0 commit comments