```\nFile: DelayedOrder.sol\n    function executeOrder(\n        address account,\n        bytes[] calldata priceUpdateData\n    )\n        external\n        payable\n        nonReentrant\n        whenNotPaused\n        updatePythPrice(vault, msg.sender, priceUpdateData)\n        orderInvariantChecks(vault)\n    {\n        // Settle funding fees before executing any order.\n        // This is to avoid error related to max caps or max skew reached when the market has been skewed to one side for a long time.\n        // This is more important in case the we allow for limit orders in the future.\n        vault.settleFundingFees();\n..SNIP..\n    }\n```\n