High-performance SVG chart rendering engine for financial data visualization
Project description
zengeld-canvas
High-performance SVG chart rendering engine for financial data visualization
Python bindings for the zengeld-canvas chart rendering engine. Built in Rust with zero runtime dependencies.
Features
- 96 Drawing Primitives - Fibonacci, Gann, Pitchforks, Elliott Waves, Patterns, Channels, and more
- 45+ Indicator Presets - Pre-configured rendering styles for SMA, RSI, MACD, Bollinger, Ichimoku, etc.
- 12 Series Types - Candlestick, HeikinAshi, Line, Area, Histogram, Baseline, and more
- 14 Multi-Chart Layouts - Grid, split, and custom layouts for dashboards
- High Performance - Native Rust speed via PyO3
Installation
pip install zengeld-canvas
Quick Start
from zengeld_canvas import Chart, Bar
# Create sample OHLCV data
bars = [Bar(1703721600, 100.0, 105.0, 98.0, 103.0, 1000.0)]
# Build chart
chart = Chart(800, 600)
chart.bars(bars)
chart.candlesticks()
chart.sma(20, "#2196F3")
# Render to SVG
svg = chart.render_svg()
# Save to file
with open("chart.svg", "w") as f:
f.write(svg)
Examples
Dark Theme |
MACD Indicator |
Multi-Chart Layout |
Channels |
Drawing Primitives
| Category | Count | Examples |
|---|---|---|
| Fibonacci | 11 | Retracement, Fan, Arcs, Circles, Channel, Spiral |
| Lines | 9 | TrendLine, HorizontalLine, Ray, ExtendedLine |
| Annotations | 11 | Text, Callout, PriceLabel, Flag, Table |
| Shapes | 10 | Rectangle, Circle, Ellipse, Triangle, Path |
| Elliott Waves | 5 | Impulse, Correction, Triangle, Combo |
| Patterns | 6 | XABCD, HeadShoulders, Cypher, ThreeDrives |
| Gann | 4 | Fan, Box, Square, SquareFixed |
| And more... | 40 | Channels, Pitchforks, Cycles, Projections |
License
MIT OR Apache-2.0
Support the Project
If you find this library useful, consider supporting development:
| Currency | Network | Address |
|---|---|---|
| USDT | TRC20 | TNxMKsvVLYViQ5X5sgCYmkzH4qjhhh5U7X |
| USDC | Arbitrum | 0xEF3B94Fe845E21371b4C4C5F2032E1f23A13Aa6e |
| ETH | Ethereum | 0xEF3B94Fe845E21371b4C4C5F2032E1f23A13Aa6e |
| BTC | Bitcoin | bc1qjgzthxja8umt5tvrp5tfcf9zeepmhn0f6mnt40 |
| SOL | Solana | DZJjmH8Cs5wEafz5Ua86wBBkurSA4xdWXa3LWnBUR94c |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zengeld_canvas-0.1.8.tar.gz.
File metadata
- Download URL: zengeld_canvas-0.1.8.tar.gz
- Upload date:
- Size: 381.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f364a009812cf592c9aa7842a5956a2ed983bb17fe03ff77f5441fc82db12db
|
|
| MD5 |
55f2e79af2bd854a57f3e4f9d6b33c74
|
|
| BLAKE2b-256 |
13c26d9a44a5af789b71a71b3bc061398fdf6448d6c0b0cdb7f945968024381e
|
File details
Details for the file zengeld_canvas-0.1.8-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: zengeld_canvas-0.1.8-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 477.2 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5944e19ac4ebd3f01e04ad832db056742f531381da3370d667fb92293ecad60
|
|
| MD5 |
da2ae461849bb89c92e4a8eeaacd930c
|
|
| BLAKE2b-256 |
c7a0008d7bb441ca4c4d98d6e56683e5c8c51f6686ece36d73b63fcd74975bbc
|
File details
Details for the file zengeld_canvas-0.1.8-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: zengeld_canvas-0.1.8-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 557.7 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a69b1d93558695168bbb0cecab3b78693405b16572bf6ee06b38583af11ca6ce
|
|
| MD5 |
c94291eada0fda3a5937213856d1a559
|
|
| BLAKE2b-256 |
e813212bbfb12557247a5f6c5e9ab6bbfc6de2b0778e5ddd75cb11285108aab0
|
File details
Details for the file zengeld_canvas-0.1.8-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: zengeld_canvas-0.1.8-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 595.7 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9271b202e52a7c30d6522a59079c24091549821914e47c7bb4c53219baca33b
|
|
| MD5 |
ab4245c6f586d9e59ad6511497879383
|
|
| BLAKE2b-256 |
87715d1b6254e06371513d32429822bc6a817d7b6ee6513e8b3bf44d6ae9a091
|
File details
Details for the file zengeld_canvas-0.1.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: zengeld_canvas-0.1.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 615.0 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9509134f8340574a3de8e97a8147238b281eb85a523d749d54fed4730a42d95d
|
|
| MD5 |
c5fe2dc7a01bd19b8fe97e471e29b5ac
|
|
| BLAKE2b-256 |
9dbb32a1b4a936440ff270f837166d94bfd823e83c3366179d76449b9101664a
|