This commit is contained in:
Kevin Johnson
2022-02-28 15:27:28 -08:00
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ print(ta.version)
$ pip list
```
**Upgrade.**
**Did you upgrade? Did the upgrade resolve the issue?**
```sh
$ pip install -U git+https://github.com/twopirllc/pandas-ta
```
+4 -5
View File
@@ -249,11 +249,6 @@ class AnalysisIndicators(object):
else:
self._time_range = "years"
@property
def to_utc(self) -> None:
"""Sets the DataFrame index to UTC format"""
self._df = to_utc(self._df)
@property
def version(self) -> str:
"""Returns the version."""
@@ -836,6 +831,10 @@ class AnalysisIndicators(object):
return self._df
def to_utc(self) -> None:
"""Sets the DataFrame index to UTC format"""
self._df = to_utc(self._df)
# Public DataFrame Methods: Indicators and Utilities
# Candles
def cdl_pattern(self, name: str = "all", offset: Int = None, **kwargs: DictLike):