feat: 添加自定义 TradingView 数据源实现;更新 TradingViewChart 组件以支持新数据源;优化交易视图中的图表配置

This commit is contained in:
2025-12-30 01:26:59 +07:00
parent 2402337162
commit 4a313f2af0
4 changed files with 315 additions and 4 deletions

View File

@@ -33,7 +33,11 @@ const mode = ref<"buy" | "sell">("buy");
</ion-toolbar>
</ion-header>
<ion-content :fullscreen="true">
<TradingViewChart class="mb-5" />
<TradingViewChart
class="mb-5" :options="{
symbol: 'BTC/USDT',
}"
/>
<div class="grid grid-cols-5">
<div class="col-span-3 space-y-2">
<TradeSwitch v-model:active="mode" />