vwap
Calculate the Volume-Weighted Average Price (VWAP)
Install
npm install vwap
Usage
const vwap = // input: [[volume, price], [volume, price], ...]const p = console // 9.660714285714286
Test
npm test
License
MIT
Calculate the Volume-Weighted Average Price (VWAP)
npm install vwap
const vwap = // input: [[volume, price], [volume, price], ...]const p = console // 9.660714285714286
npm test
MIT
npm i vwap
54
0.0.2
MIT
3.32 kB
5