From 4e1a68fee0c9cfe1ce5176e0eec976a3edcb4fda Mon Sep 17 00:00:00 2001 From: David Brazda Date: Fri, 18 Oct 2024 12:07:06 +0200 Subject: [PATCH] fix --- setup.py | 2 +- ttools/vbtindicators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e9291a0..6a483ab 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='ttools', - version='0.2.3', + version='0.2.4', packages=find_packages(), install_requires=[ 'vectorbtpro', diff --git a/ttools/vbtindicators.py b/ttools/vbtindicators.py index 59cd821..6ae6169 100644 --- a/ttools/vbtindicators.py +++ b/ttools/vbtindicators.py @@ -65,4 +65,4 @@ cu_vwap_ind = vbt.IF( def register_custom_inds(): #vwap_cum = vwap_ind.run(s12_data.high, s12_data.low, s12_data.close, s12_data.volume, anchor="min") - vbt.IF.register_custom_indicator(cu_vwap_ind, location="ttools") \ No newline at end of file + vbt.IF.register_custom_indicator(cu_vwap_ind, location="ttools", if_exists="override") \ No newline at end of file