部署改回/opt;接入同花顺iFinD HTTP行情,新浪作回退
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,6 +3,21 @@
|
||||
{% block content %}
|
||||
<h1 class="page-title">系统设置</h1>
|
||||
|
||||
<div class="card">
|
||||
<h2>同花顺行情(iFinD HTTP)</h2>
|
||||
<form action="{{ url_for('settings') }}" method="post" class="form-row">
|
||||
<input type="hidden" name="action" value="ths">
|
||||
<input name="ths_refresh_token" type="text" placeholder="refresh_token" value="{{ ths_token }}" style="flex:1;min-width:300px">
|
||||
<button type="submit" class="btn-primary">保存</button>
|
||||
</form>
|
||||
<p style="font-size:.8rem;color:#888;margin-top:.75rem">
|
||||
当前行情源:<strong>{{ quote_source }}</strong>(auto=优先同花顺,失败回退新浪)。
|
||||
在 iFinD 接口包「超级命令 → 工具」查询 refresh_token,
|
||||
或前往 <a href="https://quantapi.10jqka.com.cn/" target="_blank" style="color:#4cc2ff">同花顺数据接口</a> 申请试用。
|
||||
未配置 token 时自动使用新浪行情。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>企业微信推送</h2>
|
||||
<form action="{{ url_for('settings') }}" method="post" class="form-row">
|
||||
|
||||
Reference in New Issue
Block a user