mirror of
https://github.com/wassname/pandas-ta.git
synced 2026-08-11 11:22:48 +08:00
BUG ENH #497
This commit is contained in:
@@ -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
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user