Release 1.1
What's Changed
Profit tracking, time-window price data, and a reworked item panel
Overview
This release turns the Item Tracker from a simple price list into a full profit/market dashboard. It adds cost-basis profit tracking, multi-window price & volume breakdowns, a richer item detail view with pop-out charts, a configurable per-item notification system, and a heavily reorganized settings panel.
Highlights
Profit tracking
- Cost-basis model via AcquisitionRecord / TrackedItem: per-item acquisitions with editable quantity & price.
- Per-item estimated profit (recordQuantitySum * avgPrice - costBasis) and a portfolio-wide profit section, toggleable in config.
- Fixes to average-price calculation and collection-log quantity consolidation.
Price & volume data
- Time-window breakdowns (TimeWindow: 5m/1h/…/1y) backed by the wiki realtime/timeseries API (WikiRealtimePriceClient).
- MarketClassifier / PriceStats for market-state classification and summary stats.
- Volume column on tracked rows and a dedicated volume graph.
Detail view & charts
- Overhauled detail view with richer market data and a cleaner layout.
- PriceGraphPanel: in-panel price/volume charts with pop-out windows, timeframe tabs, hover crosshair, and EMA/spline smoothing.
- Pop-out axis gutters now sized from font metrics so the larger font no longer clips y-axis suffixes or date labels.
Notifications
- Per-item rules (NotificationRule / NotificationMetric / NotificationOperation) on price, Δ%, volume, etc.
- Δ% changes beyond 1000% are ignored to avoid firing on noise from near-zero window-average denominators.
Settings & UX
- Settings reorganized into five sections; Detailed View gains section ordering/visibility, overview presets (OverviewPreset), estimate position/spacing, and auto-add modes (AutoAddMode / TrackItemMode).
- New GpFormat utility as the single source of truth for compact number formatting, replacing duplicated formatters across the panel and rules.
Full Changelog: https://github.com/Oveduumnakal/Item-Tracker-Plugin/commits/R-1.1