matplotlib / matplotlib/mplfinance
Feature Request: Plot percent price change on the y-axis
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 678
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Is your feature request related to a problem? Please describe.
When I want to compare two stocks, I'm interested in seeing the % changes in those two stocks over a period of time. Currently when I plot two stocks in mplfinance (using a secondary y-axis), I can't see the day-to-day percent changes, I only see the day-to-day price changes, which can be on different axes and thus inaccurate to compare directly.
For example, if I want to compare SPY and GOOG over a time period, I want to see the percent changes between the two (for easy comparison) rather than their stock prices which are almost an order of magnitude apart.
Describe the solution you'd like
A plot option that lets you plot the % change and lets you specify the start value that the percent changes should be compared against.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue ではファイルもテストも特定されていません。まず mplfinance の plot-option API と現在の secondary-y-axis の動作を確認し、そのうえで、パーセント変化の比較と設定可能な開始値をどのように指定すべきかを決定してください。SPY や GOOG などのシンボルについて、オプションによって比較可能なパーセント変化のプロットが生成され、新しい動作をカバーできていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- matplotlib, python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100