diff --git a/components/mission-control/TradingPanel.tsx b/components/mission-control/TradingPanel.tsx
index 6ea1fe4..498ca4f 100644
--- a/components/mission-control/TradingPanel.tsx
+++ b/components/mission-control/TradingPanel.tsx
@@ -4,7 +4,7 @@ import { useState, useEffect } from 'react'
import { TradingChart } from './TradingChart'
import { TradingTools } from './TradingTools'
-type TradingTab = 'research' | 'strategies' | 'execution' | 'journal' | 'whaletrades' | 'tools'
+type TradingTab = 'research' | 'strategies' | 'execution' | 'journal' | 'tools'
interface Trader {
id: string
@@ -274,7 +274,6 @@ 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: 'whaletrades', label: '🐋 WhaleTrades', count: 0 },
{ id: 'tools', label: '🧮 Tools', count: 3 },
]
@@ -560,20 +559,6 @@ export function TradingPanel() {
)}
- {/* WhaleTrades Tab */}
- {activeTab === 'whaletrades' && (
-
-
🐋 WhaleTrades Tools
-
Professional trading tools embedded from WhaleTrades.io
-
-
-
- )}
-
{/* Tools Tab */}
{activeTab === 'tools' && (
diff --git a/components/mission-control/TradingTools.tsx b/components/mission-control/TradingTools.tsx
index a4ac7f8..f325acd 100644
--- a/components/mission-control/TradingTools.tsx
+++ b/components/mission-control/TradingTools.tsx
@@ -1,18 +1,20 @@
'use client'
-import { useState } from 'react'
+import { useState, useEffect } from 'react'
export function TradingTools() {
- const [activeTool, setActiveTool] = useState<'calculator' | 'alerts' | 'notes'>('calculator')
+ const [activeTool, setActiveTool] = useState<'calculator' | 'alerts' | 'notes' | 'charts' | 'sentiment'>('charts')
return (
{/* Tool Navigation */}
-
+
{[
- { id: 'calculator', label: '🧮 Position Calculator', count: 0 },
- { id: 'alerts', label: '🔔 Trade Alerts', count: 0 },
- { id: 'notes', label: '📝 Trade Notes', count: 0 },
+ { id: 'charts', label: '📈 Charts', count: 0 },
+ { id: 'sentiment', label: '😱 Sentiment', count: 0 },
+ { id: 'calculator', label: '🧮 Calculator', count: 0 },
+ { id: 'alerts', label: '🔔 Alerts', count: 0 },
+ { id: 'notes', label: '📝 Notes', count: 0 },
].map(tool => (
-
-
-
-
-
-
- setForm({...form, entryPrice: e.target.value})}
- placeholder="0.00"
- className="w-full bg-white/10 border border-white/20 rounded-lg px-3 py-2 text-white"
- />
-
-
-
-
-
-
-
-
-
- {/* Results */}
Max Risk
@@ -195,9 +364,7 @@ function TradeAlerts() {
@@ -221,7 +388,7 @@ function TradeAlerts() {
}
function TradeNotes() {
- const [notes, setNotes] = useState<{id: string, date: string, content: string, tradeId?: string}[]>([])
+ const [notes, setNotes] = useState<{id: string, date: string, content: string}[]>([])
const [newNote, setNewNote] = useState('')
const addNote = () => {
@@ -234,7 +401,6 @@ function TradeNotes() {
📝 Trade Notes
- {/* Add Note */}
- {/* Notes List */}
{notes.length === 0 ? (
-
No notes yet. Start journaling your trades!
+
No notes yet
) : (
{notes.map(note => (