Commit Graph

22 Commits

Author SHA1 Message Date
Jonathan Kamens e942275108 STY: Flake8
Upgrade the version of the flake8, pep8, and mccabe PyPI packages, and
make the code changes necessary for compatibility with the updated
packages.
2015-03-19 17:21:25 -04:00
Eddie Hebert b3efb5eb69 MAINT: Remove ndict class.
Now that ndict is no longer used in any part of the system during
a backtest, remove all remaining references in tests, etc.
2013-04-26 16:03:01 -04:00
Eddie Hebert ae41a94c8f flake8 cleanup to protocol_utils 2012-10-16 16:35:23 -04:00
fawce c008a957df added a __contains__ method that looks for a special property _ndict_contains__ (must be a function)
when present, the in operator behavior will be determined by the return of the special property.
2012-10-16 12:59:22 -04:00
Eddie Hebert 3456a583d0 Adds missing license header to protocol_utils module. 2012-10-15 16:53:44 -04:00
Eddie Hebert 25ce71651f Removes unused namelookup function.
Cutting out function whose only use was an unused constant.
2012-10-15 14:02:26 -04:00
Eddie Hebert 557f93f1e6 Removes unused FrameExceptionFactory. 2012-10-15 13:43:25 -04:00
fawce 815c9f2cf6 providing default behavior for positions dictionary. non-existent positions are
returned as zero size/value positions.
2012-10-10 16:08:14 -04:00
fawce d9cf193ce0 fixes to unit tests 2012-10-10 16:07:11 -04:00
fawce 16b0d71506 refactoring of algorithm to make it work for both batch style run method, and generator style consumption. removed the portfolio property from the data parameter. added set_slippage and set_commission methods to algorithm. removed timeout tracking. 2012-10-10 16:06:32 -04:00
Eddie Hebert 77af1ca632 Applies PEP-8 and pyflakes style to tests and zipline.
Mostly whitespace, line width and other spacing changes.
Also, removes use of deprecated has_key in favor of `in`

Going forward new patches should pass running `flake8` before
submission.
2012-10-05 12:14:09 -04:00
fawce 96e5801cf8 removed zmq from requirements files. 2012-09-08 23:24:53 -04:00
Eddie Hebert 16aadc79ff Removes unused module. 2012-08-24 09:33:56 -04:00
Thomas Wiecki 5fcb2de59b ndicts are now deepcopyable. 2012-07-06 11:54:40 -04:00
Stephen Diehl 736bbe51af Misc changes. 2012-05-29 00:38:23 -04:00
fawce b533961247 little more perf tweaking. 2012-05-25 11:15:56 -04:00
fawce 31b545946e performance tweak on ndict's frozenset. 2012-05-25 11:11:18 -04:00
Stephen Diehl 9945ab4f67 Changed setattr method. 2012-05-15 15:13:17 -04:00
Stephen Diehl de8a4589e5 Added namelookup. 2012-05-14 14:44:06 -04:00
Stephen Diehl d399edd419 Fix ndict woes. 2012-05-14 13:49:45 -04:00
Stephen Diehl 72fb11ce0f removed namedict for good 2012-05-14 11:57:23 -04:00
Stephen Diehl f60794067e reworked directory 2012-05-09 09:12:11 -04:00