Repository navigation
CandleKit — all-in-one toolkit: drawing tools, indicators, replay engine, measurement ruler, multi-pane sync, broker integration (MIT) #2091
rohanbeingsocial
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Lightweight Charts is a great base but leaves the analysis layer to you. I kept re-sourcing the same pieces from scattered repos, so I packaged them into one MIT library: CandleKit.
What's in it:
Drawing tools : trendline, ray, extended/horizontal/vertical line, arrow, rectangle, circle, Fib retracement; selection, drag-to-move, handle reshaping, locking, persistence. Original engine on lightweight-charts canvas primitives — no third-party drawing runtime.
Indicators : SMA/EMA/WMA, RSI, MACD, Bollinger, Stochastic + an extensible registry to add your own.
Replay engine : deterministic bar-by-bar playback; one transport drives multiple synced panes.
Measurement ruler : Shift-drag for % move / points / bars / time delta.
Multi-pane sync : crosshair + time-range linked across charts.
Plugin-first : drawing/indicators/measurement are swappable ChartPlugins. Framework-agnostic core + optional React entry. Side-effect-free modules → tree-shakeable.
Live demo (drawing + indicators + replay in one chart): https://rohanbeingsocial.github.io/candlekit-charts/workspace/
Repo: https://github.com/rohanbeingsocial/candlekit-charts
npm: @getcandlekit/charts
Built rapidly with AI assistance — functional, tested, documented, but early-stage; pin a version. Feedback and contributors welcome, especially on the plugin API. What would you want from a toolkit like this?
workspace.mp4
All reactions