refresh-counter}"></div>
    <div th:replace="~{fragments/footer :: footer}"></div>
    
    <script th:replace="~{fragments/footer :: refresh-script}"></script>

    <script th:inline="javascript">
        /*<![CDATA[*/
        const asset1 = /*[[${asset1}]]*/'BTCUSDT';
        const asset2 = /*[[${asset2}]]*/'ETHUSDT';
        /*]]>*/

        // 全局變數，用於標記是否正在加載數據
        window.isLoadingPositionHistory = false;

        // 頁面載入後自動載入數據
        $(docu