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
Eddie Hebert
df9fb66736
Updates development status to Beta.
2012-10-05 15:03:06 -04:00
Eddie Hebert
013ab86321
Adds ordered_pip script back in.
...
The pandas dependency on numpy was causing pandas installation to fail.
Reviving the ordered_pip script in since it helps explicitly install
numpy before pandas.
2012-10-05 14:58:38 -04:00
Eddie Hebert
fd2d66f53e
Removes unused library of messagepack.
2012-10-05 14:58:11 -04:00
Eddie Hebert
b6af686392
Updates version to initial release version in setup.py
2012-10-05 14:44:46 -04:00
Eddie Hebert
f8c3f10589
Strips out use of pavement in generating our setup.py
...
Working towards making the project distributable on PyPI.
Looked at a lot of the projects that we want to emulate, and none
use pavement.
2012-10-05 14:33:58 -04:00
Eddie Hebert
a46645d1e6
Merge pull request #129 from quantopian/flake8
...
Applies PEP-8 and pyflakes style across codebase
2012-10-05 10:49:20 -07:00
Eddie Hebert
15604134c7
Removes unused random source method.
...
Method was unused and used an unimported module.
2012-10-05 12:14:39 -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
Eddie Hebert
0cd8931a5b
Whitespace wrangling. According to PEP8 recommendations.
2012-10-03 13:20:26 -04:00
Eddie Hebert
3f2f16dba2
Removes unused import.
2012-10-03 12:02:46 -04:00
Eddie Hebert
2c380e5abc
Removes unused imports.
2012-10-03 12:01:25 -04:00