], y: p })),
                            borderColor: 'rgb(255, 99, 132)',
                            tension: 0.1
                        }
                    ]
                },
                options: chartOptions
            });

            const spreadCtx = document.getElementById('spreadChart').getContext('2d');
            spreadChart = new Chart(spreadCtx, {
                type: 'line',
                data: {
                    labels: timestamps,
                    datasets: [
            