quantopian/zipline — pull request #261 by humdings (2014-01-14 00:31:58+00:00)
Title: ENH: Margin requirements added to positions

Added margins.py to zipline.finance.performance. The margins are added
via PerformancePeriod.as_portfolio().
Only the maintenance requirement is present, the Margins class keeps a
dict of the position requirements.