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

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

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2017 01:03AM UTC
Files 170
Run time 8s
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

28 Mar 2017 12:44AM UTC coverage: 87.114% (+0.001%) from 87.113%
NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1

push

travis-ci

prsutherland
ENH: Allow override of order amount rounding. (#1722)

* ENH: Use regular rounding to calculate order amounts.

We previously tried to prevent accidental over-ordering by truncating
orders down unless they were within 1e-4 of the next higher integer.
Unfortunately, this makes it easy for a sell order to be one share short
of the desired position.

Using regular rounding treats both buys and sells in the same way.

* ENH keep non-rounding behavior consistent, but leave code structured to make easier to override

* DOC make round_order public and describe behavior in docstring

12879 of 14784 relevant lines covered (87.11%)

0.87 hits per line

Source Files on job 8296.2 (NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8296
  • Travis Job 8296.2
  • 6cf81a3f on github
  • Prev Job for NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1 on master (#8294.2)
  • Next Job for NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1 on master (#8299.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