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

quantopian / zipline / 3265
88%

Build:
DEFAULT BRANCH: master
Ran 28 May 2015 03:50PM UTC
Jobs 2
Files 67
Run time 17min
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
3265

push

travis-ci

Stewart Douglas
BUG: Stop account_needs_update from blocking performance updates

Referencing context.account in handle_data() can block updates to account,
portfolio and performance metrics, which can cause unintended changes in
financial performance. Additionally, since context.account metrics are not
updating frequenctly enough (daily, rather than minutely) algos which base
decisions on these metrics can have undesired behavior.

To address this we do not base our decision to update performance on the
state of account_needs_update.

When we call get_account() from the market and minute close methods, we
set the performance_needs_update parameter to False since we just updated
performance.

_get_account() is renamed to _update_account() since the method does not
return account information.

Also remove redundant asset_needs_update = True lines.

5443 of 6235 relevant lines covered (87.3%)

1.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3265.1 (PANDAS_VERSION=0.16.0 NUMPY_VERSION=1.9.2) 28 May 2015 04:08PM UTC 0
87.25
Travis Job 3265.1
2 3265.2 (PANDAS_VERSION=0.16.0 NUMPY_VERSION=1.9.2) 28 May 2015 03:50PM UTC 0
87.25
Travis Job 3265.2
Source Files on build 3265
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3265
  • b24bd561 on github
  • Prev Build on master (#3251)
  • Next Build on master (#3268)
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