deephaven-plugin-tradingview-lightweight
A Deephaven plugin for creating TradingView Lightweight Charts from Python.
Usage
import deephaven.plot.tradingview_lightweight as tvl
# Example daily OHLCV data: Timestamp, Open, High, Low, Close, Volume, Ema
ohlc = tvl.data.ohlc()
# Candlesticks with an EMA overlay on top, volume histogram in a second pane below
chart = tvl.chart(
tvl.candlestick(ohlc),
tvl.line(ohlc, timestamp="Timestamp", value="Ema"),
tvl.histogram(ohlc, timestamp="Timestamp", value="Volume", pane=1),
pane_stretch_factors=[3, 1],
# Daily data: label the time axis with dates rather than time of day
time_scale=tvl.time_scale(time_visible=False),
)
Docs
User-facing documentation lives in docs/ and follows
the same structure plotly-express does: one Markdown page per chart type and
concept, ending with a ## API Reference block that dhautofunction expands
from the Python docstrings.
Build the docs locally
From this plugin's directory (plugins/tradingview-lightweight/):
pip install -r ../../sphinx_ext/sphinx-requirements.txt
pip install dist/deephaven_plugin_tradingview_lightweight-*.whl
python make_docs.py
The rendered Markdown lands in docs/build/markdown/. Don't commit it —
docs/build/ is gitignored.
Use plugin_builder.py (recommended)
The same plugin_builder.py workflow used for ui and plotly-express
works here. From the repo root:
# Reinstall the wheel, then build docs.
python tools/plugin_builder.py --docs --reinstall tradingview-lightweight
# Build docs and regenerate Pass-1 (table) snapshots.
python tools/plugin_builder.py --docs --snapshots --reinstall tradingview-lightweight
Preview the docs
# Live preview at http://localhost:3001 (uses source markdown, no API reference).
npm run docs
# Or, after running `python tools/plugin_builder.py --docs tradingview-lightweight`:
BUILT=true npm run docs
Doc snapshots
TVL has none. docker-compose.docs-snapshots.yml — which backs
npm run update-doc-snapshots and plugin_builder.py --snapshots — names only
ui and plotly-express in its extractor, snapshotter, and validator
services, so running either is a no-op for this plugin.
An earlier docs/snapshots/ directory was removed: it had been produced by
out-of-repo tooling, nothing in CI could regenerate or validate it, and the
chart entries pointed at PNGs in a form Salmon has no renderer for. Wiring TVL
into the shared pipeline is follow-up work; snapshots should come back from
that pipeline rather than by hand.
Metadata
Release files for deephaven-plugin-tradingview-lightweight 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deephaven_plugin_tradingview_lightweight-0.1.0.tar.gz | 350.0 kB | Without provenance | Details for deephaven_plugin_tradingview_lightweight-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deephaven_plugin_tradingview_lightweight-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for deephaven_plugin_tradingview_lightweight-0.1.0-py3-none-any.whl |
Total release size: 735.0 kB
Release files / deephaven_plugin_tradingview_lightweight-0.1.0.tar.gz
| Download URL | deephaven_plugin_tradingview_lightweight-0.1.0.tar.gz |
|---|---|
| Size | 350.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92fd9a7779cfdb06a46b91f6d57356f5841c51848edfe3d42d0ec7bd6193cf3c
|
|
BLAKE2b-256 checksum How to use checksums |
db6e7f71dd607e4c1bd53df2f94f9b8145838df05bae649119b651b90fdd57ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / deephaven_plugin_tradingview_lightweight-0.1.0-py3-none-any.whl
| Download URL | deephaven_plugin_tradingview_lightweight-0.1.0-py3-none-any.whl |
|---|---|
| Size | 385.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74f4c830952a07d0cb03220b42daa524928cbb415c594593f603292991ce3fa5
|
|
BLAKE2b-256 checksum How to use checksums |
630afc62202b52ae784679d98ed75fa82f111f2765f40ab5e11a27846bb2e278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for deephaven-plugin-tradingview-lightweight 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.