Files
miha 0f7cfb4b50 Optimize SMA to O(1) using running sum algorithm
- Changed from O(n) CircularBuffer.Average() to O(1) running sum
- Maintains _sum and _p_sum for state management
- Tracks _lastValue and _p_lastValue for isNew=false updates
- Provides ~15-20x speedup for large periods
- Pattern verified against Pine Script reference implementation
- All tests pass including update test for isNew handling

Also added .github/copilot-instructions.md with comprehensive
AI agent guidance for QuanTAlib development patterns
2025-10-21 18:47:10 -07:00
..
2024-11-07 21:40:02 -08:00
2024-11-03 23:47:53 +00:00
2024-11-03 23:47:53 +00:00
2024-11-05 05:52:54 -08:00
2024-11-03 15:52:25 -08:00
2024-11-03 15:52:25 -08:00
2024-11-05 05:52:54 -08:00
2024-11-03 23:03:24 +00:00
2024-11-03 15:52:25 -08:00
2024-11-05 05:52:54 -08:00
2024-11-03 15:52:25 -08:00
2024-11-03 15:52:25 -08:00
2024-11-03 15:52:25 -08:00
2024-11-05 05:52:54 -08:00
2024-11-03 23:47:53 +00:00
2024-11-05 05:52:54 -08:00
2024-11-05 05:52:54 -08:00
2024-11-03 23:47:53 +00:00
2024-11-05 05:52:54 -08:00
2024-11-05 05:52:54 -08:00
2024-11-05 05:52:54 -08:00
2024-11-03 23:47:53 +00:00
2024-11-03 23:47:53 +00:00
2024-11-03 23:47:53 +00:00
2024-11-03 23:47:53 +00:00
2024-11-03 23:03:24 +00:00
2024-11-03 15:52:25 -08:00
2024-11-03 23:47:53 +00:00
2024-11-03 15:52:25 -08:00
2024-11-05 05:52:54 -08:00
2024-11-05 05:52:54 -08:00
2024-11-03 23:47:53 +00:00
2024-11-05 05:52:54 -08:00
2024-11-03 23:47:53 +00:00