Skip to content

Commit b694885

Browse files
committed
fix doc example
1 parent 5ebf1fb commit b694885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/demos/pinescript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h1>PineScript Demo</h1>
6161
const promises = [getIndicatorData(crossSignalSource, 'BTCUSDT', 'W', DATA_LENGTH)];
6262
const results = await Promise.all(promises);
6363

64-
const { marketData, plots: crossSignalPlots } = results[1];
64+
const { marketData, plots: crossSignalPlots } = results[0];
6565

6666
// Map Market Data to QFChart OHLCV format
6767
// marketData is array of objects: { openTime, open, high, low, close, volume }

0 commit comments

Comments
 (0)