Files
trading_bot_v3/app/canvas-chart/page.tsx
mindesbunister c1a7a28cd8 Implement working canvas-based trading chart
- Created SimpleTradingChart component using HTML5 Canvas
- Renders proper candlestick chart with sample SOL/USDC data
- Includes grid lines, price labels, and proper styling
- Replaced problematic lightweight-charts with working solution
- Updated trading page to use the new working chart component

Fixes chart loading issues by using native HTML5 Canvas instead of external library dependencies.
2025-07-16 13:06:58 +02:00

13 lines
371 B
TypeScript

'use client'
import React from 'react'
import SimpleTradingChart from '../../components/SimpleTradingChart'
export default function SimpleChartPage() {
return (
<div className="min-h-screen bg-gray-900 p-8">
<h1 className="text-white text-3xl mb-6">Simple Canvas Chart Test</h1>
<SimpleTradingChart symbol="SOL/USDC" positions={[]} />
</div>
)
}