- Remove 'AI Trading Dashboard' hero section from overview page - Remove 'Advanced cryptocurrency trading...' description from overview - Remove 'Manual Trading' header and description from trading page - Remove 'Refresh Balance' button functionality - Remove symbol selection interface and related state management - Remove wallet overview section to prevent runtime errors - Simplify trading page to focus on core trading panels only Result: Cleaner, more focused user interface with streamlined navigation
30 lines
847 B
JavaScript
30 lines
847 B
JavaScript
'use client'
|
|
import React from 'react'
|
|
import TradeExecutionPanel from '../../components/TradeExecutionPanel.js'
|
|
import PositionsPanel from '../../components/PositionsPanel.js'
|
|
import PendingOrdersPanel from '../../components/PendingOrdersPanel.js'
|
|
import TradesHistoryPanel from '../../components/TradesHistoryPanel.js'
|
|
|
|
export default function TradingPage() {
|
|
return (
|
|
<div className="space-y-8">
|
|
<div className="grid grid-cols-1 xl:grid-cols-2 gap-8">
|
|
<div className="space-y-6">
|
|
<TradeExecutionPanel />
|
|
</div>
|
|
|
|
<div className="space-y-6">
|
|
{/* Open Positions */}
|
|
<PositionsPanel />
|
|
|
|
{/* Pending Orders */}
|
|
<PendingOrdersPanel />
|
|
|
|
{/* Recent Trades */}
|
|
<TradesHistoryPanel />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|