Add Trading Reports to Tools section
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user