head>

<body>
    <h1>Manifold Pairs Trader</h1>
    <input type="text" id="apiKey" placeholder="API Key" value="">
    <input type="text" id="slug1" placeholder="Market 1 Slug" value="">
    <input type="text" id="slug2" placeholder="Market 2 Slug" value="">
    <button onclick="updateGraphs()">Update</button>
    <div class="chart-container">
        <canvas id="priceChart"></canvas>
    </div>
    <div class="chart-container">
        <canvas id="spreadChart"></canvas>
    </div>
    <div id="adfResult">