Initial commit

Made-with: Cursor
This commit is contained in:
Daniel
2026-02-28 18:39:00 +08:00
commit a94bd44c3a
49 changed files with 917 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<view class="page" wx:if="{{!loading}}">
<view class="section card">
<view class="row wrap">
<risk-card title="胜率" value="{{stats.win_rate}}%" />
<risk-card title="平均赔率" value="{{stats.avg_odds}}" />
<risk-card title="盈亏比" value="{{stats.profit_factor}}" />
<risk-card title="最大回撤" value="{{stats.max_drawdown}}%" />
<risk-card title="风险评分" value="{{stats.risk_score}}" />
</view>
</view>
<view class="section card">
<view class="card-title">权益曲线</view>
<canvas type="2d" id="chart" class="chart" style="width:{{w}}px;height:200px;"></canvas>
</view>
</view>
<view class="loading" wx:if="{{loading}}">加载中...</view>