Commit Graph

1081 Commits

Author SHA1 Message Date
Eddie Hebert 56b23c46ef Removes unused timeout module. 2012-10-15 15:29:00 -04:00
Eddie Hebert c626f527e1 Adjusts indentation of lists.
Getting some sublists to render correctly.
2012-10-15 15:17:22 -04:00
Eddie Hebert b23ca3f442 Removes unused gens.merge module. 2012-10-15 15:11:11 -04:00
Eddie Hebert cc5481daab Adds linebreak so that Markdown list is enabled. 2012-10-15 14:54:02 -04:00
Eddie Hebert 3c51014b21 Removes references to old project name.
Also, changes capitalization of some external projects.
2012-10-15 14:48:45 -04:00
Eddie Hebert 35616582e8 Removes references to pavement in README.
The project is no longer using paver, so removing old comments.
2012-10-15 14:44:49 -04:00
Eddie Hebert 97df95a441 Adds information style guide, discussion, and contact info to README. 2012-10-15 14:39:23 -04:00
Eddie Hebert 44d614591d Removes non-zipline specific delayed_signals module.
The delayed_signals module isn't actually necessary for the
running of zipline, so removing to reduce the surface area.
2012-10-15 14:16:50 -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
Jonathan Kamens 7bc1e99ad8 Don't strip #.* from ends of lines
Revert e99ab2e9d07573e24e6d106877ff35eab46cdab1, which was intended to
strip comments from lines fed to pip, but had the unintended side
effect of stripping egg specifiers in URLs. The easiest way to address
this is to simply not put trailing comments in requirements files, so
we'er going to solve the problem that way instead.
2012-10-15 11:36:45 -04:00
Eddie Hebert 78bc364c45 Imports submodules of zipline on import of top-level module. 2012-10-12 17:03:34 -04:00
Eddie Hebert a7e2accd05 Updates pandas to latest release version. 2012-10-12 16:52:10 -04:00
Eddie Hebert 4955ceea44 Adds submodules to setup.py 2012-10-12 16:10:39 -04:00
Eddie Hebert 5eb4b171a9 Removes unused module. 2012-10-12 15:15:32 -04:00
Eddie Hebert 35b0bb9b26 Removes unused log_path method. 2012-10-12 15:15:07 -04:00
Eddie Hebert fcccca1530 Removes qexec reference from test logger. 2012-10-12 15:12:44 -04:00
Eddie Hebert 0c96915404 Removes requirement of existence /var/log/zipline.log
Instead log to test.log in working directory when running tests.

Also, removes config file for logging module, that is no longer
used since we are now using LogBook.
2012-10-12 11:27:42 -04:00
Eddie Hebert aa0d3e06b1 Removes outdated comments in README.
Removes:
- Reference to ZeroMQ, since the project no longer uses it.
- Reference to requirements_sci.txt, since it has now been collapsed
  into requirements.txt
2012-10-12 11:05:09 -04:00
Eddie Hebert 699c304321 Merge pull request #131 from quantopian/integrate-algo-class-and-remove-sids
Integrate algo class and remove sids
2012-10-12 07:37:45 -07:00
Jonathan Kamens df729e01ed Strip comments from ends of lines before passing to pip 2012-10-11 16:16:20 -04:00
Eddie Hebert 23076ae7f1 Allows for collapsed orders by changing the current order filter.
Changes our filter so that instead of just checking for the current
day, we ensure that orders are before or on the current event time.

This adds a delay, (defaulting to one minute), to the order so that we
avoid filling an order exactly when it is placed.
2012-10-11 13:42:53 -04:00
Jonathan Kamens 7c2bdb7b56 Strip comments from ends of lines before passing to pip 2012-10-11 10:57:27 -04:00
Eddie Hebert 5e87e174f0 Changes name of filled order variable.
So that we don't replace the orders variable with the list comp.

No functional change, but easier to compare the original and the
results of the list comp when debugging.
2012-10-10 16:19:07 -04:00
Eddie Hebert 9fef466323 Uses min function in place of taking the minimum with an if statement. 2012-10-10 16:19:06 -04:00
Eddie Hebert 69a4e542ea Filters out orders in the future.
Enforcing filling open orders that exist on or before the current event.
2012-10-10 16:19:06 -04:00
Eddie Hebert c510cab915 Removes unit test exercising expiring orders.
We have removed expiring orders, so this tests behavior that currently
doesn't exist.
2012-10-10 16:19:06 -04:00
Eddie Hebert a220bc4e8f Removes expiration from orders.
Expiration is something that way may want to have in the future,
but this current is implementation is dropping orders that
aren't meant to be expired. So removing expiration, so that all
expected orders are executed.
2012-10-10 16:18:46 -04:00
Eddie Hebert a3c3a5c6f9 Removes extra assert. 2012-10-10 16:17:06 -04:00
Eddie Hebert a83f9f9106 First pass at writing unit tests to exercise slippage models. 2012-10-10 16:17:05 -04:00
Eddie Hebert 29a87ef7a2 Normalizes indentation before editing. 2012-10-10 16:11:27 -04:00
Eddie Hebert 98f063464e Adds extra constraint of year to check for day inequality.
The .day member of datetime only gives the number of the day of the
year, which is insufficient when checking for < than.

However in this use, we may just want to check for an 'not equals'
2012-10-10 16:11:16 -04:00
Eddie Hebert 0f819474e0 Normalizes indentation to 4 spaces. 2012-10-10 16:11:03 -04:00
Eddie Hebert ca78b1b9e1 Makes ordering of transaction parameters consistent.
The order of open_orders and event were inconsistent across
invocations. Standardizing on one order.
2012-10-10 16:10:52 -04:00
fawce e11b35f149 added messages file... 2012-10-10 16:10:30 -04:00
fawce 96fed05fc0 support for test fixes in qexec 2012-10-10 16:09:40 -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 e3f750014e __missing__ needs to put the value into the dictionary 2012-10-10 16:06:55 -04:00
Eddie Hebert 5650a99fe1 Removes now unused lines.py 2012-10-10 16:06:35 -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
fawce d2e639c2da quarterly conversions 2012-10-10 16:05:02 -04:00
Eddie Hebert d98190daf7 Removes unused kwarg btrid to create_txn. 2012-10-09 14:16:48 -04:00
Eddie Hebert 9500163ed8 Adds Apache 2.0 license header to source files. 2012-10-08 17:32:41 -04:00
Eddie Hebert 58bde75bfa Removes commented out reference to old project logging. 2012-10-08 17:32:41 -04:00
Eddie Hebert bbf2317c57 Saving point for adding license files. 2012-10-08 17:32:40 -04:00
Eddie Hebert 7c3674c62b Adds Apache License, Version 2.0
From, http://www.apache.org/licenses/
2012-10-08 17:32:40 -04:00
fawce 8bd6b675b2 fixed weird indentation bug 2012-10-08 12:06:22 -04:00
Eddie Hebert e6c2709151 Adds installation of flake8 linter to development installs. 2012-10-05 15:06:32 -04:00
Eddie Hebert 75dba396c8 Merge pull request #128 from quantopian/vanilla-setup-py
Strips out use of pavement in generating our setup.py
2012-10-05 12:04:26 -07:00