This commit is contained in:
sergio
2026-05-13 02:17:40 +00:00
parent 52acaabcf4
commit 88051d220a
37 changed files with 1664 additions and 0 deletions
@@ -0,0 +1,14 @@
[package]
name = "lapaloma-financial"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
publish = { workspace = true }
description = "Lapaloma — gráficos financieros. OHLC / candlesticks con agregación que preserva volatilidad (no LTTB, time-bucketing con max/min de wicks)."
[dependencies]
lapaloma-core = { path = "../../libs/lapaloma-core" }
lapaloma-render = { path = "../lapaloma-render" }
lapaloma-cartesian = { path = "../lapaloma-cartesian" }
gpui = { workspace = true }
@@ -0,0 +1,16 @@
//! `lapaloma-financial` — OHLC y candlesticks.
//!
//! Buffer: 6 floats por bar `[t, o, h, l, c, v]`. Agregación
//! preserva volatilidad (max(h)/min(l), no LTTB — ver sección 3.2):
//! time-bucketing con fallback a index-bucketing cuando todos los
//! timestamps colapsan.
//!
//! Re-usa `lapaloma-cartesian` para viewport, ejes y gestures;
//! sólo aporta el `CandlestickSeries` y la lógica de aggregación.
#![forbid(unsafe_code)]
#![allow(dead_code)]
pub mod ohlc_buffer {}
pub mod aggregate {}
pub mod candlestick {}