matplotlib / matplotlib/mplfinance
how to change bar colours by comparing consecutive closes, not by its open and close
オープン
まだ誰も着手していません。
question
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 678
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
how I can change the bar colours by comparing today's close with previous day close
if today's close >= yesterday close, BLUE
if today's close < yesterday close, RED
the same also for the volume bars, so that they all matched with blue/red colours in bar
the current settings are all comparing the today's close with today's open.
Please advise. thanks
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue にはファイル、テスト、エントリーポイントが記載されていません。まず mplfinance のバーの色設定を見つけ、現在の始値と終値の比較動作を、要求されている連続する終値のルールと比較します。今日の終値が昨日の終値以上の場合は価格バーと出来高バーが一貫して青になり、それ以外の場合は赤になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- matplotlib, python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100