Vikram Narayan
96ba361e36
Merge pull request #1666 from quantopian/add_class_callback_args
...
MAINT: pass args, kwargs to add_class_callback
2017-01-30 15:43:40 -05:00
vikram-narayan
beea8624d1
MAINT: pass args, kwargs to add_class_callback
2017-01-27 18:19:23 -05:00
Eddie Hebert
484f80dd01
Merge pull request #1663 from quantopian/support-futures-in-lookup-generic
...
ENH: Add futures support for generic asset lookup.
2017-01-26 21:41:13 -05:00
Eddie Hebert
1302d4152f
ENH: Add futures support for generic asset lookup.
...
Attempt to lookup up the symbol in the futures table, after attempting to look
up the symbol in the equities table.
2017-01-26 21:08:30 -05:00
Eddie Hebert
8bf2da6ac0
Merge pull request #1662 from quantopian/remove-unused-future-methonds-from-asset-finder
...
MAINT: Remove unused futures related methods from asset finder.
2017-01-26 16:06:32 -05:00
Eddie Hebert
2a9d8cebc3
MAINT: Remove unused futures related methods from asset finder.
...
These methods became unused during the course of reworking futures to support
continuous futures.
2017-01-26 15:41:30 -05:00
David Michalowicz
0d1e5e2d1c
Merge pull request #1659 from quantopian/remove-position-multipliers
...
Multipliers were not removed when closing a position
2017-01-25 17:48:48 -05:00
dmichalowicz
44088dd4d5
BUG: Multipliers were not removed when closing a position
2017-01-25 17:23:09 -05:00
Jean Bredeche
b080d337f5
Merge pull request #1657 from quantopian/compare-slippage-models
...
ENH: Solidify equality comparisons for SlippageModel classes
2017-01-24 11:47:29 -05:00
Jean Bredeche
ccddc86d6b
ENH: Solidify equality comparisons for SlippageModel classes
2017-01-24 11:28:32 -05:00
Eddie Hebert
9ea1ee443a
Merge pull request #1656 from quantopian/fix-open-minutes-for-append
...
BUG: Fix end session metadata for minute bar writer.
2017-01-22 15:58:27 -05:00
Eddie Hebert
b90091e494
BUG: Fix end session metadata for minute bar writer.
...
When opening with a new `end_session`, i.e. opening for append, write the new
end session to the metadata.
Fixes an issue where the calendar on minute bar readers did not include the
recently appended day, causing reads on the last values to fail.
According, update append test to read a value, instead of checking table length.
2017-01-22 15:14:05 -05:00
David Michalowicz
364f5cc199
Merge pull request #1644 from quantopian/closed-means-closed
...
Don't allow ordering assets after their auto close date
2017-01-20 10:19:27 -05:00
dmichalowicz
83a221e986
BUG: can_trade was true for assets after their auto close date
2017-01-20 09:54:30 -05:00
Jean Bredeche
f0b5b21c67
Merge pull request #1655 from quantopian/fix-py3-error
...
BUG: fix a py3 invalid char
2017-01-19 21:03:28 -05:00
Jean Bredeche
efcc87e089
BUG: fix a py3 invalid char
2017-01-19 20:43:48 -05:00
Jean Bredeche
006df906b0
Merge pull request #1654 from quantopian/tell-me-the-current-session
...
ENH: add current_session property to BarData
2017-01-19 17:09:30 -05:00
Jean Bredeche
1f56f20a7f
ENH: add current_session property to BarData
2017-01-19 16:53:49 -05:00
Maya Tydykov
25f826d5c7
Merge pull request #1643 from quantopian/events-loader-handle-empty-raw-data
...
Events loader handle empty raw data
2017-01-19 13:01:43 -05:00
Maya Tydykov
ecbc7f890b
BUG: make the events loader handle empty raw data
...
TST: add test case for empty raw events data
BUG: update for python compatibility
MAINT: Simplify assertion for empty events case.
DOC: Add comments on indexer unpacking.
MAINT: move some config to test method
2017-01-19 12:00:49 -05:00
Jean Bredeche
fad98672e0
Merge pull request #1650 from quantopian/slippage-cleanup
...
ENH: Small refactoring of fill price check.
2017-01-18 09:57:03 -05:00
Jean Bredeche
7e2838744c
ENH: Small refactoring of fill price check.
2017-01-18 09:22:05 -05:00
Eddie Hebert
962c414ab7
Merge pull request #1649 from quantopian/easier-open-minute-bars-for-append-truncate
...
Easier open minute bars for append and truncate
2017-01-17 17:56:17 -05:00
Eddie Hebert
df87dfb227
ENH: Add sorted to sid list when truncating.
...
For repeatable order of truncates between invocations.
2017-01-17 17:25:28 -05:00
Eddie Hebert
1d75143f54
ENH: Add a method to open existing minute bar directory.
...
Remove need for a consumer that is editing an existing minute bars directory to
reread the values which should not change from the metadata.
Add a test to the append on new day and truncate, which would be the common
usage of this method.
2017-01-17 17:25:27 -05:00
Eddie Hebert
2af63dfab7
Merge pull request #1646 from quantopian/update-toolz
...
BLD: Use latest version of toolz.
2017-01-13 16:09:55 -05:00
Eddie Hebert
cb50959efc
BLD: Use latest version of toolz.
...
Also, add requirement of cytoolz to blaze reqs so that toolz and cytoolz are
on the same version.
2017-01-13 15:42:59 -05:00
Scott Sanderson
a06503d8ec
Merge pull request #1645 from quantopian/nitpick-some-more-why-dont-you
...
STY: Simplify style in conditional.
2017-01-12 22:26:21 -05:00
Scott Sanderson
57b09ce1d7
STY: Simplify style in conditional.
2017-01-12 22:03:35 -05:00
Richard Frank
64f77eb3e4
MAINT: Update and pin more dev requirements
2017-01-08 14:07:55 -05:00
Richard Frank
50c096c3e9
MAINT: Pin exact versions of Mako, MarkupSafe, requests-file
...
which are transitive dependencies of zipline
2017-01-07 17:57:29 -05:00
Eddie Hebert
1e51dbec0a
STY: Use def statements instead of lambda assignment. ( #1639 )
...
From pep-0008:
```
Always use a def statement instead of an assignment statement that binds a
lambda expression directly to an identifier.
Yes:
def f(x): return 2*x
No:
f = lambda x: 2*x
The first form means that the name of the resulting function object is
specifically 'f' instead of the generic '<lambda>'. This is more useful for
tracebacks and string representations in general. The use of the assignment
statement eliminates the sole benefit a lambda expression can offer over an
explicit def statement (i.e. that it can be embedded inside a larger expression)
```
2017-01-06 13:39:07 -05:00
Richard Frank
a1f09cffb8
Merge pull request #1638 from luca-s/IchimokuKinkoHyo_fix
...
BUG: IchimokuKinkoHyo techinical factor has wrong default inputs
2017-01-06 13:23:52 -05:00
Luca
b5ce101f5a
BUG: IchimokuKinkoHyo techinical factor has wrong default inputs
2017-01-06 16:06:05 +01:00
Eddie Hebert
aed2c64c99
BLD: Update numexpr to latest to satisfy tables deps. ( #1636 )
...
* BLD: Update numexpr to latest to satisfy tables deps.
tables 3.3.0 requires numexpr >= 2.5.2
Also remove numexpr conda recipe.
2017-01-05 15:27:24 -05:00
Kathryn Glowinski
dd560ba5f0
BUG: Datetimes should be converted in utc. ( #1635 )
...
* BUG: Datetimes should be converted in utc.
* DOC: Making note of UTC req. and moving comment.
2017-01-05 14:13:23 -05:00
Eddie Hebert
c1fe909dde
Remove tables from custom conda scripts.
...
Use anaconda hosted instead.
2017-01-04 12:09:10 -05:00
Eddie Hebert
2d5f5491ee
Swap name instead.
...
Package is named pytables on conda.
2017-01-04 12:09:10 -05:00
Eddie Hebert
a3dfa4a6fa
Add hdf5 install.
2017-01-04 12:09:10 -05:00
Eddie Hebert
037b2b0003
Remove tables from travis.
2017-01-04 12:09:10 -05:00
Eddie Hebert
d023a8ed4f
Use tables instead of pytables.
2017-01-04 12:09:10 -05:00
Eddie Hebert
dfdf26e310
Use conda skeleton for pytables.
2017-01-04 12:09:10 -05:00
Eddie Hebert
e4c0120876
Attemp to add conda package.
2017-01-04 12:09:10 -05:00
Eddie Hebert
9262381d17
Fix double equals in conda pytables.
2017-01-04 12:09:10 -05:00
Eddie Hebert
225b6fe119
Update tables.
2017-01-04 12:09:10 -05:00
Eddie Hebert
5a8443b5f1
Add pytables for travis.
2017-01-04 12:09:10 -05:00
Eddie Hebert
e913519734
ENH: Add a reader writer pair for HDF5 minute bar updates.
...
This format is intended for storing data for all sids of an asset type,
e.g. equities or futures for a session. bcolz is not used to avoid the overhead
of creating the directories and files for each asset (which numbers around ~8000
for active equities) can be removed since the update is meant to be read at
once, instead of supporting the random access pattern needed by the simulation.
This patch only adds the reader/writer pair, with the management of finding the
paths to delta files and the application of the updates to the bcolz write left
to internal loader code.
Also, the update reader interface is intentionally constrained to the data for
an entire session to allow for an implementation that allows for mid-session updates.
2017-01-04 12:09:10 -05:00
Scott Sanderson
3095f8c573
Merge pull request #1627 from quantopian/vectorized-symbol-map
...
ENH: Add vectorized lookup_symbol.
2016-12-28 15:10:14 -05:00
Scott Sanderson
4475a42b15
DOC: Add note on lookup_symbols.
2016-12-28 14:43:15 -05:00
Scott Sanderson
0aa4f129c1
TEST: Tweaks to vectorized symbol tests.
...
- Test against an empty list.
- Don't test empty share class lookups.
- Add another comprehension test for completeness.
2016-12-28 14:40:18 -05:00