Learn R Programming

TrueWAP (version 0.1.0)

VWAP: Title VWAP

Description

Calculates Volume-Weighted Average Price (VWAP)

Usage

VWAP(HLC3, volume, period)

Value

Vector of VWAP values

Arguments

HLC3

Vector of High, Low, Close Average Values

volume

Vector of Volume values

period

Rolling window length

Examples

Run this code
data(nikkei)
VWAP(nikkei$HLC3, nikkei$Volume, 50)

Run the code above in your browser using DataLab