matplotlib / matplotlib/mplfinance

Feature Request: Superimpose larger-timeframe candlesticks

Open
#404 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
4.4k
Forks
678
PR merge metrics
No merged PRs in 30d

Description

Is it possible to represent two candlestick charts of different time-frame using mplfinance ?

I see an example using bokeh from [this](https://kernc.github.io/backtesting.py/#example) repository.

![image](https://user-images.githubusercontent.com/51836477/120902777-979b8a80-c618-11eb-9f4a-c2c99147629d.png)

The idea would be:
- Choose a lower-timeframe (e.g 5 Min)
- Choose a larger-timeframe (e.g 15 Min)

Then, inside each 15 Min bar would have 3 five-minutes bar

Contributor guide

Open the contributing guide

Research direction

The issue names mplfinance but no source file, entry point, or test. Start by reviewing the existing charting API and the linked backtesting.py example to determine how lower- and higher-timeframe OHLC data should be supplied and rendered. Done means a documented, tested way to show three 5-minute bars inside each 15-minute bar.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.