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
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
Quant system on LongPort OpenAPI and Google Cloud Run.
11
11
12
12
This repository uses `QuantPlatformKit` for LongPort token handling, context bootstrap, account snapshot access, market data, and order submission. Cloud Run deploys this repository directly.
13
-
The LongBridge runtime can execute all five live `us_equity` profiles from `UsEquityStrategies`; `LongBridgePlatform` keeps the LongPort runtime, token refresh, execution, and notification flow.
13
+
The LongBridge runtime can execute all six live `us_equity` profiles from `UsEquityStrategies`; `LongBridgePlatform` keeps the LongPort runtime, token refresh, execution, and notification flow.
14
14
15
15
Full strategy documentation now lives in [`UsEquityStrategies`](https://github.com/QuantStrategyLab/UsEquityStrategies). The sections below focus on LongBridge runtime behavior, profile enablement, deployment, and credentials.
16
16
This runtime matrix is the authoritative enablement source for LongBridge. `UsEquityStrategies` carries strategy-layer logic, cadence, compatibility, and metadata.
@@ -33,6 +33,7 @@ Platform execution no longer depends on `strategy/allocation.py` or hard-coded s
33
33
| --- | --- | --- | --- | --- | --- | --- | --- |
34
34
|`global_etf_rotation`| Global ETF Rotation | Yes | Yes | No | No |`us_equity`| enabled weight-mode rotation line |
35
35
|`russell_1000_multi_factor_defensive`| Russell 1000 Multi-Factor | Yes | Yes | No | No |`us_equity`| enabled feature-snapshot stock baseline |
36
+
|`mega_cap_leader_rotation_dynamic_top20`| Mega Cap Leader Rotation Dynamic Top20 | Yes | Yes | No | No |`us_equity`| selectable monthly feature-snapshot leader rotation |
36
37
|`soxl_soxx_trend_income`| SOXL/SOXX Semiconductor Trend Income | Yes | Yes | Yes | Yes |`us_equity`| current LongBridge default |
37
38
|`tqqq_growth_income`| TQQQ Growth Income | Yes | Yes | No | No |`us_equity`| current SG dry-run line |
38
39
|`tech_communication_pullback_enhancement`| Tech/Communication Pullback Enhancement | Yes | Yes | No | No |`us_equity`| current HK feature-snapshot line |
@@ -61,7 +62,7 @@ Telegram notifications include structured execution and heartbeat messages, with
61
62
|`LONGPORT_APP_SECRET`| Yes | LongPort OpenAPI app secret (for token refresh); recommended to inject from the region-specific Secret Manager secret for this deployment, such as `longport-app-secret-hk` / `longport-app-secret-sg`|
62
63
|`LONGPORT_SECRET_NAME`| No | Secret Manager secret name for LongPort token (default: `longport_token_hk`) |
63
64
|`ACCOUNT_PREFIX`| No | Alert/log prefix for account/environment (default: `DEFAULT`) |
64
-
|`STRATEGY_PROFILE`| No | Strategy profile selector (default: `soxl_soxx_trend_income`; enabled values include `global_etf_rotation`, `russell_1000_multi_factor_defensive`, `tech_communication_pullback_enhancement` on HK, and `tqqq_growth_income` on SG) |
65
+
|`STRATEGY_PROFILE`| No | Strategy profile selector (default: `soxl_soxx_trend_income`; enabled values include `global_etf_rotation`, `mega_cap_leader_rotation_dynamic_top20`, `russell_1000_multi_factor_defensive`, `soxl_soxx_trend_income`, `tech_communication_pullback_enhancement`, and `tqqq_growth_income`) |
65
66
|`ACCOUNT_REGION`| No | Account region marker for platform-style deployment (e.g. `HK`, `SG`; defaults to `ACCOUNT_PREFIX` / `DEFAULT`) |
66
67
|`LONGBRIDGE_DRY_RUN_ONLY`| No | Set to `true` to keep the selected deployment in dry-run mode. |
67
68
|`NOTIFY_LANG`| No | Notification language: `en` (English, default) or `zh` (Chinese) |
@@ -153,7 +154,7 @@ IAM: the Cloud Run service account needs **Secret Manager Admin** (or Secret Acc
153
154
基于 LongPort OpenAPI 和 Google Cloud Run 的量化交易系统。
154
155
155
156
这个仓库通过 `QuantPlatformKit` 复用 LongPort token 处理、上下文初始化、账户快照、行情读取和下单逻辑。Cloud Run 直接部署这个仓库。
0 commit comments