work on integrating new system

This commit is contained in:
Boki 2025-07-03 21:13:02 -04:00
parent 083dca500c
commit 063f4c8e27
8 changed files with 221 additions and 66 deletions

View file

@ -164,9 +164,15 @@ export function BacktestResults({ status, results, currentTime }: BacktestResult
}))
);
// Convert OHLC data timestamps
const chartData = ohlcData.map((bar: any) => ({
...bar,
time: bar.timestamp || bar.time
}));
return (
<Chart
data={ohlcData}
data={chartData}
height={400}
type="candlestick"
showVolume={true}