mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
Add VWAPSD (Volume Weighted Average Price with Standard Deviation Bands) implementation and validation tests
- Implemented Vwapsd class for calculating VWAP with configurable standard deviation bands. - Added methods for updating the indicator with new bars and calculating VWAPSD using both bar series and span arrays. - Created comprehensive validation tests for VWAPSD, including checks for consistency between streaming and batch modes, mathematical correctness, and handling of edge cases such as NaN values and zero volume bars. - Ensured that the implementation adheres to performance standards with tests for large datasets and fractional numDevs values.
This commit is contained in:
+2
-2
@@ -325,8 +325,8 @@
|
||||
| VROC | Volume Rate of Change | Volume |
|
||||
| VWAD | Volume Weighted A/D | Volume |
|
||||
| VWAP | Volume Weighted Average Price | Volume |
|
||||
| VWAPBANDS | VWAP Bands | Channels |
|
||||
| VWAPSD | VWAP Standard Deviation Bands | Channels |
|
||||
| [VWAPBANDS](lib/channels/vwapbands/Vwapbands.md) | VWAP Bands | Channels |
|
||||
| [VWAPSD](lib/channels/vwapsd/Vwapsd.md) | VWAP Standard Deviation Bands | Channels |
|
||||
| VWMA | Volume Weighted MA | Volume |
|
||||
| WAD | Williams A/D | Volume |
|
||||
| WAVG | Weighted Average | Statistics |
|
||||
|
||||
Reference in New Issue
Block a user