STY: style fix (whitespace, PEP8)

Fixed whitespace and PEP8 formatting in finance.performance.margins
BUG: margin_requirement added in protocol.py

Added the margin_requirement field to Portfolio and Positions objects
in protocol.py

An AttributeError was being raised when recording the margin
requirement for individual positions.