feat(longbridge): 602315 mainland CN geo-block bypass + stock_t通用脚本
- SKILL.md: 加 602315 bypass 章节(三件套 LONGBRIDGE_REGION + proxychains + Clash HK)
- longbridge-python-sdk/SKILL.md: Python SDK 路径同样需要 bypass
- references/longbridge-602315-bypass.md: 完整方案+验证步骤
- references/longbridge-cn-vs-com-endpoint.md: cn vs com 域名区别
- references/clash-node-switching.md: Clash 切香港节点操作
- references/stock-t-trading-workflow.md: 通用持仓脚本用法
- intraday-trading/SKILL.md: 同步 602315 限制说明
- scripts/{daily_t_analysis,t_monitor}.py: 之前漏提交,补上
验证: 2026-07-09 下单 RGTI 15股@15.50 订单ID 1259547163696824320 成功
背景: longport SDK 通过 is_cn() 自动探测 geotest.lbkrs.com 选 cn/com endpoint
net_mode下 cn 域(阿里云深圳)被拒,com 域(AWS香港)需绕
唯一可行: LONGBRIDGE_REGION=ap 强制走 com + proxychains + Clash 香港出口
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# DEPRECATED — superseded by references/longbridge-602315-bypass.md
|
||||
|
||||
This file described a `/etc/hosts` redirect as the recommended workaround for `602315`. It has been **superseded**: the `LONGBRIDGE_REGION=ap` + `proxychains4` + Clash HK three-piece recipe (see `references/longbridge-602315-bypass.md`) was verified working on 2026-07-09 with order ID `1259547163696824320`, and is cleaner because:
|
||||
|
||||
- It does not modify system `/etc/hosts`
|
||||
- It does not require `PYTHONHTTPSVERIFY=0` (no SSL cert mismatch)
|
||||
- It does not affect other longport clients on the machine
|
||||
- It only requires the env var on the process that needs it
|
||||
|
||||
WireGuard is also explicitly forbidden by the user for this account (Ubuntu WG shutdown leaves residual routes; user spent 1h recovering). Do NOT propose WG as an alternative.
|
||||
|
||||
Kept for historical reference only. Update `references/longbridge-602315-bypass.md` if you find new info.
|
||||
Reference in New Issue
Block a user