{
    "Function": "getNotionalPositionAndMargin",
    "File": "contracts/HubbleViewer.sol",
    "Parent Contracts": [
        "contracts/Interfaces.sol"
    ],
    "High-Level Calls": [
        "IClearingHouse"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getNotionalPositionAndMargin(address[] calldata traders)\n        external\n        view\n        returns(uint256[] memory notionalPositions, int256[] memory margins)\n    {\n        notionalPositions = new uint256[](traders.length);\n        margins = new int256[](traders.length);\n        for (uint i = 0; i < traders.length; i++) {\n            (notionalPositions[i], margins[i]) = clearingHouse.getNotionalPositionAndMargin(traders[i], true /* includeFundingPayments */);\n        }\n    }"
}