T16 Finance: market charts with kinds, volume, profile, studies, drawings, compare, alerts and sync (T16a–b); quotes, book, tape and DOM (T16c); order entry, blotter, risk, options and payoff (T16d); markets, calendars, portfolio and wallet (T16e); typography::Ellipsis ends lines that gpui's truncate clipped; chart notes stack and ticks label round values

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 23:30:04 -04:00
1 parent efde9d64b0
commit 8d43b7a880
76 files changed
+10311 -173

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@
- [x] KbdCombo
- [x] Blockquote
- [x] Highlight / Mark
- [x] Truncate — native `.truncate()`
- [x] Truncate → `typography::Ellipsis`; gpui's `.truncate()` holds only in a block of fixed width
- [x] LineClamp — native `.line_clamp(n)`
- [x] MiddleEllipsis
- [x] EllipsisTooltip
+66 -66
View File
@@ -192,84 +192,84 @@
## T16a Finance · Market charts — `src/finance`
- [ ] CandlestickChart
- [ ] OHLCChart → `finance::CandlestickChart`
- [ ] HeikinAshiChart → `finance::CandlestickChart`
- [ ] LineQuoteChart
- [ ] VolumeChart
- [ ] DepthChart
- [ ] MarketProfile / VolumeProfile
- [ ] RenkoChart / PointAndFigure
- [ ] MultiChartLayout
- [ ] ChartSync
- [ ] TimeRangeSelector
- [ ] IntervalSelector
- [ ] ChartTypeSwitcher
- [x] CandlestickChart
- [x] OHLCChart → `finance::CandlestickChart` with `ChartKind::Bars`
- [x] HeikinAshiChart → `finance::CandlestickChart` with `ChartKind::HeikinAshi`
- [x] LineQuoteChart → `finance::CandlestickChart` with `ChartKind::Line` or `ChartKind::Area`
- [x] VolumeChart → `CandlestickChart::volume`
- [x] DepthChart
- [x] MarketProfile / VolumeProfile → `CandlestickChart::profile`
- [x] RenkoChart / PointAndFigure → `RenkoChart`, `PointFigureChart`
- [x] MultiChartLayout
- [x] ChartSync
- [x] TimeRangeSelector
- [x] IntervalSelector
- [x] ChartTypeSwitcher
## T16b Finance · Technical analysis
- [ ] IndicatorOverlay — MA, EMA, BOLL, VWAP
- [ ] IndicatorPane — MACD, RSI, KDJ, OBV
- [ ] IndicatorSelector
- [ ] DrawingTools
- [ ] DrawingToolbar
- [ ] CompareSymbol
- [ ] PriceAlertLine
- [x] IndicatorOverlay — MA, EMA, BOLL, VWAP → `CandlestickChart::overlay` with `Overlay`
- [x] IndicatorPane — MACD, RSI, KDJ, OBV → `CandlestickChart::study` with `Study`
- [x] IndicatorSelector
- [x] DrawingTools → `CandlestickChart::tool` and `drawings`: trend, level, box, Fibonacci retracement
- [x] DrawingToolbar
- [x] CompareSymbol → `CandlestickChart::compare`
- [x] PriceAlertLine → `CandlestickChart::alert`
## T16c Finance · Quotes & book
- [ ] Ticker / TickerTape
- [ ] QuoteCard
- [ ] PriceText
- [ ] PriceChangeBadge
- [ ] OrderBook
- [ ] Level2 Quotes
- [ ] TimeAndSales / TradeTape
- [ ] MarketDepthLadder / DOM
- [ ] SpreadIndicator
- [ ] BidAskBar
- [x] Ticker / TickerTape → `TickerTape`
- [x] QuoteCard
- [x] PriceText
- [x] PriceChangeBadge
- [x] OrderBook
- [x] Level2 Quotes → `Level2Quotes`
- [x] TimeAndSales / TradeTape → `TimeAndSales`
- [x] MarketDepthLadder / DOM → `DomLadder`
- [x] SpreadIndicator
- [x] BidAskBar
## T16d Finance · Trading
- [ ] OrderEntry / TradePanel
- [ ] QuickTradeButtons
- [ ] PositionTable
- [ ] OrderTable
- [ ] TradeHistoryTable
- [ ] PnLDisplay
- [ ] LeverageSlider
- [ ] MarginIndicator
- [ ] RiskMeter
- [ ] OrderConfirmDialog
- [ ] OptionChain
- [ ] GreeksTable
- [ ] PayoffDiagram
- [x] OrderEntry / TradePanel → `OrderEntry`
- [x] QuickTradeButtons
- [x] PositionTable
- [x] OrderTable
- [x] TradeHistoryTable
- [x] PnLDisplay
- [x] LeverageSlider
- [x] MarginIndicator
- [x] RiskMeter
- [x] OrderConfirmDialog
- [x] OptionChain
- [x] GreeksTable
- [x] PayoffDiagram
## T16e Finance · Markets & assets
- [ ] Watchlist
- [ ] SymbolSearch
- [ ] SymbolBadge
- [ ] MarketHeatmap
- [ ] SectorTreemap → `charts::Treemap`
- [ ] Screener / FilterPanel
- [ ] MarketOverview
- [ ] IndexCard
- [ ] MarketStatus
- [ ] TradingSessionClock
- [ ] EconomicCalendar
- [ ] EarningsCalendar
- [ ] NewsFeed
- [ ] SentimentGauge → `data_display::Gauge`
- [ ] PortfolioSummary
- [ ] AssetAllocationChart → `charts::PieChart`
- [ ] PerformanceChart — equity curve, drawdown
- [ ] DividendTable
- [ ] FinancialStatementTable
- [ ] CurrencyConverter
- [ ] CryptoWalletCard
- [ ] TransactionList
- [ ] Candle Countdown
- [x] Watchlist
- [x] SymbolSearch
- [x] SymbolBadge
- [x] MarketHeatmap
- [x] SectorTreemap → `finance::MarketHeatmap`, or `charts::Treemap` for plain weights
- [x] Screener / FilterPanel → `Screener`, its rules from `tables::FilterBuilder`
- [x] MarketOverview
- [x] IndexCard → `finance::QuoteCard`, in a row by `MarketOverview::index`
- [x] MarketStatus
- [x] TradingSessionClock
- [x] EconomicCalendar
- [x] EarningsCalendar
- [x] NewsFeed
- [x] SentimentGauge → `data_display::Gauge`
- [x] PortfolioSummary
- [x] AssetAllocationChart → `charts::PieChart` with `donut`
- [x] PerformanceChart — equity curve, drawdown
- [x] DividendTable
- [x] FinancialStatementTable
- [x] CurrencyConverter
- [x] CryptoWalletCard
- [x] TransactionList
- [x] Candle Countdown → `feedback::Countdown`
## T17a Editor · Core — `src/editor`