Major Refactor #81
naveedkhan1998
announced in
Announcements
Replies: 1 comment
-
|
Check it out here: https://alpaca.mnaveedk.com |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
🚀 v1.3.0 — Impact v3: Data Model, API, and UI Overhaul
This release is a major architectural and performance upgrade across the backend data model, API layer, and charting UI. The focus of Impact v3 is scalability, bandwidth efficiency, and realistic market replay for technical analysis.
🔧 Backend: Candle Architecture Redesign
Problem (v2):
Candlemodel stored both 1-minute and aggregated timeframe candlesSolution (v3):
Split candle storage into two purpose-built models:
MinuteCandle→ raw 1-minute candlesAggregateCandle→ pre-aggregated higher timeframesAdded time-series–friendly composite indexes for faster range queries and UI scans
Optimized DB reads using
values_list()to fetch only required fields, reducing unnecessary egress during large candle scans📡 Candles API v3 (Breaking & Faster)
Replaced v2 candles endpoint with Candles API v3
Introduced cursor-based pagination using timestamps instead of offsets
Reworked candle payload structure:
{ open, high, low, close, volume })list[list]format + column metadata🗜️ Bandwidth & Performance Gains
Added GZip compression middleware on the backend
Real-world results:
Combined with payload restructuring, this dramatically improves:
🎨 Frontend: Charting & UI Improvements
Introduced a new theme and design system
Refactored chart indicator architecture:
Merged volume chart directly into the main price chart
Expanded indicator support with proper composition rules
⏪ Candle Replay (Major UI Feature)
A fully integrated historical candle replay system:
Step through real historical candles in sequence
Indicators are recalculated per replay step
Matches real-time behavior (no lookahead bias)
Enables:
This is not a visual mock — it’s a true data-driven replay pipeline tied directly to the new Candles API v3.
🧠 Why This Release Matters
Impact v3 lays the groundwork for:
This release prioritizes correctness, performance, and future scalability over surface-level features.
Full Changelog:
v1.1.0...v1.3.0
This discussion was created from the release Major Refactor.
Beta Was this translation helpful? Give feedback.
All reactions