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

cvxgrp / cvxportfolio / 7917500036
99%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2024 02:31PM UTC
Jobs 15
Files 32
Run time 3s
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.358% (+0.4%) from 98.996%
7917500036

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.

703 of 723 new or added lines in 6 files covered. (97.23%)

1 existing line in 1 file now uncovered.

4955 of 4987 relevant lines covered (99.36%)

14.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7917500036.1 15 Feb 2024 02:31PM UTC 0
99.06
GitHub Action Run
2 7917500036.2 15 Feb 2024 02:31PM UTC 0
99.18
GitHub Action Run
3 7917500036.3 15 Feb 2024 02:31PM UTC 0
99.12
GitHub Action Run
4 7917500036.4 15 Feb 2024 02:31PM UTC 0
99.36
GitHub Action Run
5 7917500036.5 15 Feb 2024 02:32PM UTC 0
99.12
GitHub Action Run
6 7917500036.6 15 Feb 2024 02:33PM UTC 0
99.12
GitHub Action Run
7 7917500036.7 15 Feb 2024 02:33PM UTC 0
99.32
GitHub Action Run
8 7917500036.8 15 Feb 2024 02:33PM UTC 0
99.36
GitHub Action Run
9 7917500036.9 15 Feb 2024 02:33PM UTC 0
99.36
GitHub Action Run
10 7917500036.10 15 Feb 2024 02:33PM UTC 0
99.1
GitHub Action Run
11 7917500036.11 15 Feb 2024 02:33PM UTC 0
99.1
GitHub Action Run
12 7917500036.12 15 Feb 2024 02:33PM UTC 0
99.18
GitHub Action Run
13 7917500036.13 15 Feb 2024 02:34PM UTC 0
99.18
GitHub Action Run
14 7917500036.14 15 Feb 2024 02:35PM UTC 0
99.32
GitHub Action Run
15 7917500036.15 15 Feb 2024 02:37PM UTC 0
99.32
GitHub Action Run
Source Files on build 7917500036
Detailed source file information is not available for this build.
  • Back to Repo
  • 67e19177 on github
  • Prev Build on master (#7890188388)
  • Next Build on master (#7918059265)
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