mirror of
https://github.com/wassname/pandas-ta.git
synced 2026-09-10 12:23:49 +08:00
TST strategy results update
This commit is contained in:
@@ -98,7 +98,7 @@ $ pip install pandas_ta
|
||||
|
||||
Latest Version
|
||||
--------------
|
||||
Best choice! Version: *0.2.80*
|
||||
Best choice! Version: *0.2.81*
|
||||
```sh
|
||||
$ pip install -U git+https://github.com/twopirllc/pandas-ta
|
||||
```
|
||||
|
||||
@@ -18,7 +18,7 @@ setup(
|
||||
"pandas_ta.volatility",
|
||||
"pandas_ta.volume"
|
||||
],
|
||||
version=".".join(("0", "2", "80b")),
|
||||
version=".".join(("0", "2", "81b")),
|
||||
description=long_description,
|
||||
long_description=long_description,
|
||||
author="Kevin Johnson",
|
||||
|
||||
+11
-1
@@ -36,9 +36,19 @@ class TestStrategyMethods(TestCase):
|
||||
if speed_table:
|
||||
cls.speed_test.to_csv("tests/speed_test.csv")
|
||||
if timed:
|
||||
tca = cls.speed_test['Columns'].sum()
|
||||
tcs = cls.speed_test['Seconds'].sum()
|
||||
cps = f"[i] Total Columns / Second for All Tests: { tca / tcs:.5f} "
|
||||
print("=" * len(cps))
|
||||
print(cls.speed_test)
|
||||
print(f"[i] Cores: {cls.data.ta.cores}")
|
||||
print(f"[i] Total Datapoints: {cls.data.shape[0]}")
|
||||
print(cls.speed_test)
|
||||
print(f"[i] Total Columns added: {tca}")
|
||||
print(f"[i] Total Seconds for All Tests: {tcs:.5f}")
|
||||
print(cps)
|
||||
print("=" * len(cps))
|
||||
# tmp = concat([cls.speed_test, cls.speed_test["Columns"].sum(), cls.speed_test["Seconds"].sum()])
|
||||
# print(tmp)
|
||||
del cls.data
|
||||
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user