Skip to content

Document **vcdopcod** (Volume Color Depends on Price Change on Day) feature of mplfinance styles. #246

Open
@tech-a-go-go

Description

@tech-a-go-go

Describe the bug

Using style as charles or yahoo with candle and volume chart, some of their color don't match.
This is not happening to starsandstripes styled chart.

To Reproduce

Please take a look at charles or yahoo styled chart in the example page.
https://github.com/matplotlib/mplfinance/blob/master/examples/styles.ipynb

The second candle from the left is red in the chart but its volume bar is green.
The fifth candle from the left is red but its volume bar is green.

This is happening to my project as well.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions