feat: personal user edition v1.0.0-user on release branch
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -76,9 +76,10 @@
|
||||
<li><strong>移动保本</strong>:须填止损、不设固定止盈;达 1R 止损移至开仓±缓冲跳,2R 移 1R,依次类推</li>
|
||||
<li>手动平仓写入交易记录;当日手动平仓次数超限 → 进入冷静期</li>
|
||||
</ul>
|
||||
<p><strong>可开仓品种表</strong></p>
|
||||
<p><strong>小账户品种限制</strong></p>
|
||||
<ul>
|
||||
<li>按权益与保证金上限筛选;权益 ≤20 万或 CTP 未连接时仅四品种(玉米、豆粕、甲醇、螺纹钢)</li>
|
||||
<li>权益 ≤20 万或 CTP 未连接时,仅可交易玉米、豆粕、甲醇、螺纹钢</li>
|
||||
<li>品种下拉与开仓校验与上述规则一致;保证金占用不超过系统设置上限</li>
|
||||
</ul>
|
||||
</div>
|
||||
</details>
|
||||
@@ -142,6 +143,9 @@
|
||||
|
||||
<div class="trade-footer" id="trade-footer">
|
||||
<p class="hint" id="trade-metrics-hint">填写品种后显示精度与每跳价值;策略自动化请用 <a href="{{ url_for('strategy_page') }}">策略交易</a>。</p>
|
||||
{% if user_edition and small_account_scope %}
|
||||
<p class="hint text-muted">{{ small_account_scope_hint }}{% if small_account_margin_rec %} · {{ small_account_margin_rec.label }}{% endif %}</p>
|
||||
{% endif %}
|
||||
{% if ctp_status.last_error %}
|
||||
<p class="text-loss ctp-install-hint" style="font-size:.78rem;margin-top:.35rem">{{ ctp_status.last_error }}</p>
|
||||
{% endif %}
|
||||
@@ -169,6 +173,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if not user_edition %}
|
||||
<div class="card trade-card trade-card-full" id="recommend">
|
||||
<h2>可开仓品种</h2>
|
||||
<div class="card-body">
|
||||
@@ -268,6 +273,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="sl-tp-modal" class="modal-mask" role="dialog" aria-labelledby="sl-tp-modal-title">
|
||||
@@ -299,6 +305,7 @@
|
||||
<script type="application/json" id="trade-page-data">{{ {
|
||||
'sizing_mode': sizing_mode,
|
||||
'market_nav_enabled': nav_items.market,
|
||||
'user_edition': user_edition,
|
||||
'fixed_lots': fixed_lots,
|
||||
'fixed_amount': fixed_amount,
|
||||
'product_categories': product_categories | default([]),
|
||||
|
||||
Reference in New Issue
Block a user