• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

quantopian / zipline / 3556
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 02 Jul 2015 03:00PM UTC
Jobs 2
Files 68
Run time 51s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3556

push

travis-ci

Andrew Daniels
MAINT: Consolidates and improves future lookup methods

Removes unused future lookup methods and consolidates everything into lookup_future_chain. Since the FutureChain object will have to hold a root symbol and dates, it should be responsible for cleaning the user input, so this is removed from the lookup method.

Adds knowledge date to future lookups. This makes our definition of valid contracts more flexible. We know about a contract if it starts trading by the knowledge date, and a contract is expired if it expires by the as_of_date.

Also fixes a bug with computing future chains, where contracts were not included in the chain on their expiration date.

7 of 7 new or added lines in 2 files covered. (100.0%)

5890 of 6729 relevant lines covered (87.53%)

1.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
zipline/assets/assets.py

Uncovered Existing Lines

Lines Coverage ∆ File
5
100.0
zipline/utils/factory.py
26
100.0
zipline/gens/tradesimulation.py
27
100.0
zipline/algorithm.py
33
100.0
zipline/assets/assets.py
Jobs
ID Job ID Ran Files Coverage
1 3556.1 (PANDAS_VERSION=0.16.0 NUMPY_VERSION=1.9.2) 02 Jul 2015 03:01PM UTC 0
87.49
Travis Job 3556.1
2 3556.2 (PANDAS_VERSION=0.16.0 NUMPY_VERSION=1.9.2) 02 Jul 2015 03:00PM UTC 0
87.49
Travis Job 3556.2
Source Files on build 3556
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3556
  • 977c6cfc on github
  • Prev Build on futures-knowledge-date (#3535)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc