quantopian/zipline — pull request #35 by ehebert (2012-12-04 13:49:41+00:00)
Title: Allows the capital base of an algorithm to be more easily modified.

By having run() use a capital_base member of the algorithm to
create the trading environment, the capital base should now be
configurable in the algorithms `initialize` method.

e.g.:

```
class LowCapitalBaseAlgorithm(TradingAlgorithm):

def initialize(self):
self.captial_base = 1000.0
```