Skip to content

Commit 4955809

Browse files
spec: add candlestick-volume specification (#3074)
## New Specification: `candlestick-volume` Related to #3068 --- ### specification.md # candlestick-volume: Stock Candlestick Chart with Volume ## Description A professional candlestick chart combining OHLC (open, high, low, close) price data with volume bars in a synchronized lower pane. The dual-pane layout presents price action in the main chart with corresponding trading volume below, sharing a common time axis. This format is the standard for technical analysis platforms, enabling traders to correlate price movements with trading activity and identify volume-confirmed trends or reversals. ## Applications - Analyzing stock price movements alongside trading volume to confirm breakout patterns - Identifying divergences between price trends and volume for potential reversal signals - Evaluating cryptocurrency or forex pairs with volume context for entry/exit decisions ## Data - `date` (datetime) - Trading date or timestamp for each period - `open` (numeric) - Opening price at the start of the period - `high` (numeric) - Highest price during the period - `low` (numeric) - Lowest price during the period - `close` (numeric) - Closing price at the end of the period - `volume` (numeric) - Number of shares or units traded during the period - Size: 30-120 periods for clear visualization without overcrowding - Example: Daily OHLC data with volume for a stock over 60 trading days ## Notes - Use a shared x-axis between the candlestick and volume panes with proper date formatting - Volume bars should use the same up/down color scheme as candlesticks for visual consistency - The price pane should occupy roughly 70-75% of the vertical space, volume pane 25-30% - Include a crosshair or cursor that spans both panes for precise price/volume reading - Grid lines should be subtle and aligned across both panes --- **Next:** Add `approved` label to the issue to merge this PR. --- :robot: *[spec-create workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20620135373)* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f0a6beb commit 4955809

2 files changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# candlestick-volume: Stock Candlestick Chart with Volume
2+
3+
## Description
4+
5+
A professional candlestick chart combining OHLC (open, high, low, close) price data with volume bars in a synchronized lower pane. The dual-pane layout presents price action in the main chart with corresponding trading volume below, sharing a common time axis. This format is the standard for technical analysis platforms, enabling traders to correlate price movements with trading activity and identify volume-confirmed trends or reversals.
6+
7+
## Applications
8+
9+
- Analyzing stock price movements alongside trading volume to confirm breakout patterns
10+
- Identifying divergences between price trends and volume for potential reversal signals
11+
- Evaluating cryptocurrency or forex pairs with volume context for entry/exit decisions
12+
13+
## Data
14+
15+
- `date` (datetime) - Trading date or timestamp for each period
16+
- `open` (numeric) - Opening price at the start of the period
17+
- `high` (numeric) - Highest price during the period
18+
- `low` (numeric) - Lowest price during the period
19+
- `close` (numeric) - Closing price at the end of the period
20+
- `volume` (numeric) - Number of shares or units traded during the period
21+
- Size: 30-120 periods for clear visualization without overcrowding
22+
- Example: Daily OHLC data with volume for a stock over 60 trading days
23+
24+
## Notes
25+
26+
- Use a shared x-axis between the candlestick and volume panes with proper date formatting
27+
- Volume bars should use the same up/down color scheme as candlesticks for visual consistency
28+
- The price pane should occupy roughly 70-75% of the vertical space, volume pane 25-30%
29+
- Include a crosshair or cursor that spans both panes for precise price/volume reading
30+
- Grid lines should be subtle and aligned across both panes
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Specification-level metadata for candlestick-volume
2+
# Auto-synced to PostgreSQL on push to main
3+
4+
spec_id: candlestick-volume
5+
title: Stock Candlestick Chart with Volume
6+
7+
# Specification tracking
8+
created: 2025-12-31T13:39:18Z
9+
updated: null
10+
issue: 3068
11+
suggested: MarkusNeusinger
12+
13+
# Classification tags (applies to all library implementations)
14+
# See docs/concepts/tagging-system.md for detailed guidelines
15+
tags:
16+
plot_type:
17+
- candlestick
18+
- bar
19+
- subplot
20+
data_type:
21+
- timeseries
22+
- numeric
23+
- ohlc
24+
domain:
25+
- finance
26+
- trading
27+
features:
28+
- multi-pane
29+
- volume
30+
- synchronized
31+
- interactive

0 commit comments

Comments
 (0)