lucifer7210 commited on
Commit
55575f8
·
verified ·
1 Parent(s): 5683194

Update src/technical_indicators.py

Browse files
Files changed (1) hide show
  1. src/technical_indicators.py +1 -1
src/technical_indicators.py CHANGED
@@ -230,7 +230,7 @@ def VWAP(ohlcv,colvol="Volume"):
230
  """
231
 
232
  return pd.Series(
233
- ((ohlcv[colvol] * TP(ohlcv,open="Open",close="Close",high="High",low="Low")).cumsum()) / ohlcv[colvol].cumsum(),
234
  name="VWAP.",
235
  )
236
 
 
230
  """
231
 
232
  return pd.Series(
233
+ ((ohlcv[colvol] * TP(ohlcv,high="High",low="Low")).cumsum()) / ohlcv[colvol].cumsum(),
234
  name="VWAP.",
235
  )
236