massive-com / massive-com/client-python
MSFT dividend data has gaps
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.5k
- フォーク
- 362
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I downloaded dividend data using the rest API and use them in my application. While debugging the data using Claude Code, it finds the following issue on MSFT dividend data. Could you fix them?
MSFT pays quarterly (Feb, May, Aug, Nov), but Massive's data for 2017 has only two records instead of four — the May and November ex-dividend dates are
missing entirely. Their haf values bundle two quarters of adjustment into each event.
The consequence for adjust_daily_bars.py: for any price date between 2017-02-14 and 2017-08-14, the next ex-div in our data is 2017-08-15 (haf=0.908207).
Yahoo has 2017-05-17 as next, with a haf that's lower by one dividend factor (~0.6%). So our adjusted prices are ~0.57–0.60% too high for that entire
window. Same story between Aug and Nov 2017.
This is a source data gap in Massive — nothing in the pipeline is broken. Everything from 2018 onward is fine.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、2017年のMSFTの権利落ち日と、2017-02-14から2017-11-14までのadjust_daily_bars.pyの挙動を確認します。Massiveのレコードとhafの値をYahooが報告した日付と比較し、修正がソースデータに入るべきか、クライアント側の処理に入るべきかを判断します。2018年以降の挙動を後退させることなく、5月と11月の欠落しているイベントが正しく表現されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, data
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100