Add Trading Reports to Tools section

This commit is contained in:
root
2026-02-25 10:30:06 +01:00
parent 32f57fff82
commit fcd3463bde
2 changed files with 216 additions and 2 deletions
+6 -2
View File
@@ -3,6 +3,7 @@
import { useState, useEffect } from 'react'
import { TradingChart } from './TradingChart'
import { TradingTools } from './TradingTools'
import { TradingReports } from './TradingReports'
import { MacroReportGenerator } from './MacroReportGenerator'
type TradingTab = 'research' | 'strategies' | 'execution' | 'journal' | 'tools'
@@ -275,7 +276,7 @@ export function TradingPanel() {
{ id: 'strategies', label: '🎯 Strategies', count: traders.filter(t => t.status === 'active').length },
{ id: 'execution', label: '⚡ Execution', count: trades.filter(t => t.status === 'open').length },
{ id: 'journal', label: '📔 Journal', count: trades.length },
{ id: 'tools', label: '🧮 Tools', count: 3 },
{ id: 'tools', label: '🧮 Tools', count: 4 },
{ id: 'macro', label: '📈 Trading Reports', count: 0 },
]
@@ -563,7 +564,10 @@ export function TradingPanel() {
{/* Tools Tab */}
{activeTab === 'tools' && (
<TradingTools />
<div className="space-y-4">
<TradingTools />
<TradingReports />
</div>
)}
{/* Macro Report Tab */}