import React from 'react'; import { History, CheckCircle, Clock, XCircle, FileText } from 'lucide-react'; import { TradeOrder } from '../types'; interface HistoryPageProps { orders: TradeOrder[]; } const HistoryPage: React.FC = ({ orders }) => { return (

전체 거래 로그

{orders.map(order => ( ))} {orders.length === 0 && ( )}
체결 시퀀스 타임 자산명 오퍼레이션 체결 수량 체결 단가 트랜잭션 상태
{order.timestamp.toLocaleString()}
{order.stockName} {order.stockCode}
{order.type === 'BUY' ? '매수' : '매도'} {order.quantity} UNIT {order.price.toLocaleString()}
체결 완료
현재 기록된 트랜잭션 내역이 존재하지 않습니다.
); }; export default HistoryPage;