Skip to content

Commit 218344d

Browse files
committed
clean up profile naming in README
1 parent 4458cb8 commit 218344d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ This runtime matrix is the authoritative enablement source for LongBridge. `UsEq
1818

1919
**LongBridge profile matrix**
2020

21-
| Canonical profile | Display name | Alias | Enabled | Default | Rollback | Domain | Runtime note |
22-
| --- | --- | --- | --- | --- | --- | --- | --- |
23-
| `semiconductor_rotation_income` | Semiconductor Trend Income | `semiconductor_trend_income` | Yes | Yes | Yes | `us_equity` | current LongBridge default |
21+
| Canonical profile | Display name | Enabled | Default | Rollback | Domain | Runtime note |
22+
| --- | --- | --- | --- | --- | --- | --- |
23+
| `semiconductor_rotation_income` | Semiconductor Trend Income | Yes | Yes | Yes | `us_equity` | current LongBridge default |
2424

2525
**Layers**
2626

@@ -94,7 +94,7 @@ BOXX: $34,000.00 Cash: $10,000.00
9494
| `LONGPORT_SECRET_NAME` | No | Secret Manager secret name for LongPort token (default: `longport_token_hk`) |
9595
| `ACCOUNT_PREFIX` | No | Alert/log prefix for account/environment (default: `DEFAULT`) |
9696
| `SERVICE_NAME` | No | Alert/log prefix for service identity (default: `longbridge-quant-semiconductor-rotation-income`) |
97-
| `STRATEGY_PROFILE` | No | Strategy profile selector (default: `semiconductor_rotation_income`; supported canonical value: `semiconductor_rotation_income`; alias: `semiconductor_trend_income`) |
97+
| `STRATEGY_PROFILE` | No | Strategy profile selector (default: `semiconductor_rotation_income`; runtime value: `semiconductor_rotation_income`) |
9898
| `ACCOUNT_REGION` | No | Account region marker for platform-style deployment (e.g. `HK`, `SG`; defaults to `ACCOUNT_PREFIX` / service-name suffix / `DEFAULT`) |
9999
| `NOTIFY_LANG` | No | Notification language: `en` (English, default) or `zh` (Chinese) |
100100
| `GOOGLE_CLOUD_PROJECT` | No | GCP project ID (defaults to ADC project when unset) |
@@ -118,7 +118,7 @@ Deploy the same codebase as multiple Cloud Run services (e.g. `HK` and `SG`) by
118118
- `LONGPORT_SECRET_NAME`: point to different secrets (e.g. `longport_token_hk`, `longport_token_sg`)
119119
- `ACCOUNT_PREFIX`: e.g. `HK`, `SG` (all Telegram/log alerts will include `[ACCOUNT_PREFIX/SERVICE_NAME]`)
120120
- `SERVICE_NAME`: e.g. `longbridge-quant-semiconductor-rotation-income-hk`, `longbridge-quant-semiconductor-rotation-income-sg`
121-
- `STRATEGY_PROFILE`: use canonical `semiconductor_rotation_income` for the current LongBridge strategy profile; alias `semiconductor_trend_income` resolves to the same strategy
121+
- `STRATEGY_PROFILE`: use `semiconductor_rotation_income` for the current LongBridge strategy profile
122122
- Current strategy domain is `us_equity`. The repo now keeps a small strategy registry so future strategy switching can grow by domain + profile, instead of mixing platform and strategy in one layer.
123123
- `ACCOUNT_REGION`: explicitly mark the deployed account region (`HK` / `SG`); if unset, the app falls back to `ACCOUNT_PREFIX` or the `-hk` / `-sg` service-name suffix
124124
- `NOTIFY_LANG`: set `en` or `zh` per deployment
@@ -265,7 +265,7 @@ BOXX: $34,000.00 现金: $10,000.00
265265
| `LONGPORT_SECRET_NAME` || Secret Manager 中的密钥名称(默认: `longport_token_hk`|
266266
| `ACCOUNT_PREFIX` || 通知/日志前缀,区分账户环境(默认: `DEFAULT`|
267267
| `SERVICE_NAME` || 通知/日志前缀,区分服务(默认: `longbridge-quant-semiconductor-rotation-income`|
268-
| `STRATEGY_PROFILE` || 策略档位选择(默认: `semiconductor_rotation_income`当前 canonical 值: `semiconductor_rotation_income`;alias: `semiconductor_trend_income`|
268+
| `STRATEGY_PROFILE` || 策略档位选择(默认: `semiconductor_rotation_income`运行时直接用 `semiconductor_rotation_income`|
269269
| `ACCOUNT_REGION` || 平台化部署时的账户区域标记(如 `HK``SG`;默认按 `ACCOUNT_PREFIX` / 服务名后缀 / `DEFAULT` 推断) |
270270
| `NOTIFY_LANG` || 通知语言: `en`(英文,默认)或 `zh`(中文) |
271271
| `GOOGLE_CLOUD_PROJECT` || GCP 项目 ID(未设置时使用 ADC 默认项目) |
@@ -289,7 +289,7 @@ Secret Manager 中需存在 `LONGPORT_SECRET_NAME` 指定的密钥(默认: `lo
289289
- `LONGPORT_SECRET_NAME`: 指向不同密钥(如 `longport_token_hk``longport_token_sg`
290290
- `ACCOUNT_PREFIX`: 如 `HK``SG`(所有通知/日志将包含 `[ACCOUNT_PREFIX/SERVICE_NAME]`
291291
- `SERVICE_NAME`: 如 `longbridge-quant-semiconductor-rotation-income-hk``longbridge-quant-semiconductor-rotation-income-sg`
292-
- `STRATEGY_PROFILE`: 当前 LongBridge 策略档位使用 canonical `semiconductor_rotation_income`;alias `semiconductor_trend_income` 会解析到同一条策略
292+
- `STRATEGY_PROFILE`: 当前 LongBridge 策略档位直接使用 `semiconductor_rotation_income`
293293
- 当前策略域是 `us_equity`。本地策略注册表只用于域和 profile 校验。
294294
- `ACCOUNT_REGION`: 显式标记部署账户区域(`HK` / `SG`);未设置时会回退到 `ACCOUNT_PREFIX` 或服务名里的 `-hk` / `-sg` 后缀
295295
- `NOTIFY_LANG`: 每个部署可独立设置 `en``zh`

0 commit comments

Comments
 (0)