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

quantopian / zipline / 8665 / 2
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 25 May 2017 08:34PM UTC
Files 172
Run time 9s
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

25 May 2017 08:11PM UTC coverage: 87.219% (-0.003%) from 87.222%
NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1

push

travis-ci

web-flow
MAINT: Remove environment as an argument to benchmark source. (#1816)

MAINT: Remove environment as an argument to benchmark source.

To allow the BenchmarkSource class to be more easily used in contexts other than
a TradingAlgorithm, remove the TradingEnvironment as an argument to the
benchmark source.

Instead:
- Pass a benchmark Asset, instead of a bencmark sid; so that the asset_finder
does not need to be passed to the benchmark source.
- Pass the pre-calculated benchmark_returns instead of an env,
which contains the benchmark_returns; a consumer can let the benchmark_returns
stay as the default of `None` when using an asset.

We may want to further refactor and make two different classes, instead of
relying on a combination of existence/non-existence of benchmark_asset and
benchmark_returns. That refactoring should be easier to do with this change.

13137 of 15062 relevant lines covered (87.22%)

0.87 hits per line

Source Files on job 8665.2 (NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8665
  • Travis Job 8665.2
  • c1280daa on github
  • Prev Job for NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1 on master (#8660.2)
  • Next Job for NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1 on master (#8669.2)
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