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

quantopian / zipline / 8296
88%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2017 01:01AM UTC
Jobs 2
Files 170
Run time 1min
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
8296

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

3 of 3 new or added lines in 1 file covered. (100.0%)

12934 of 14784 relevant lines covered (87.49%)

1.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8296.1 (NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1) 28 Mar 2017 01:01AM UTC 0
87.43
Travis Job 8296.1
2 8296.2 (NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1) 28 Mar 2017 01:03AM UTC 0
87.11
Travis Job 8296.2
Source Files on build 8296
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8296
  • 6cf81a3f on github
  • Prev Build on master (#8294)
  • Next Build on master (#8299)
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