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

cvxgrp / cvxportfolio / 7917500036 / 6
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2024 02:33PM UTC
Files 32
Run time 0s
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

15 Feb 2024 02:29PM UTC coverage: 99.118% (+0.1%) from 98.996%
7917500036.6

push

github

web-flow
Merge pull request #127 from cvxgrp/improved_data_module

This PR includes a rewriting of the data cleaning logic applied by the `cvx,YahooFinance` class to the raw stock/ETF price data provided by Yahoo Finance. Some of the logic has been factored in the `OLHCV` (Open-Low-High-Close-Volume) base class and can be used by interfaces to other data providers. Cleaning is done by removing all impossible observations (negative prices, ...) and by filtering anomalous changes using a multi-window approach on median absolute logreturns. The cleaning has been thoroughly tested on the current example universes (of large capitalization US stocks) and changes are minimal. On non-US stocks however the improved cleaning is key, we added a new one (FTSE100) for which the previous cleaning code was inadequate and the new one gives instead much more reasonable results. We added an example, `data_cleaning.py`, which shows the cleaning procedure on both stocks for which the raw Yahoo Finance data is OK, and some for which it is (very) bad. The cleaning steps which make opinable assumptions have all parameters (thresholds) defined as class level constants in `cvx.YahooFinance` and `cvx.data.OLHCV`, which can be modified.

4943 of 4987 relevant lines covered (99.12%)

0.99 hits per line

Source Files on job 7917500036.6
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7917500036
  • 67e19177 on github
  • Prev Job for on master (#7890188388.1)
  • Next Job for on master (#7918059265.10)
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