API Reference
function getPositionNotionalAndUpnl(address amm, address trader) external view returns(uint positionNotional, int upnl);