work on integrating new system
This commit is contained in:
parent
083dca500c
commit
063f4c8e27
8 changed files with 221 additions and 66 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue