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

quantopian / zipline / 1892
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 07 Jul 2014 06:54PM UTC
Jobs 2
Files 66
Run time 6min
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
1892

push

travis-ci

ssanderson
BUG: Fix an issue where dividends are granted a day early.

Fixes an issue where `PerformancePeriod.update_dividends` was being called with
incorrect dates in `handle_minute_close` and `handle_market_close`, which
resulted in dividends being granted a day early.  This is primarily a problem
because it causes algorithms to incorrectly receive dividends when the stock in
question is purchased on a dividend's ex_date.  After this change, dividends
are granted only when the algorithm held stock on the market close of the day
before the dividend's ex_date.  This is in line with the following quote from
the SEC's notes on dividend ex_dates:

> If you purchase a stock on its ex-dividend date or after, you will not
> receive the next dividend payment.  Instead, the seller gets the dividend. If
> you purchase before the ex-dividend date, you get the dividend.

4161 of 4999 relevant lines covered (83.24%)

1.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1892.1 07 Jul 2014 06:54PM UTC 0
83.18
Travis Job 1892.1
2 1892.2 07 Jul 2014 06:59PM UTC 0
83.18
Travis Job 1892.2
Source Files on build 1892
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1892
  • ef2eb3b9 on github
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