bugfixes and two version of strategies

This commit is contained in:
David Brazda
2023-06-22 16:01:09 +02:00
parent 83d2f06561
commit 3293ad847e
8 changed files with 25 additions and 12 deletions

12
testy/numpytest.py Normal file
View File

@ -0,0 +1,12 @@
import numpy as np
from v2realbot.utils.utils import isfalling
arr = np.array([1, np.nan, 3, 4, 5, 6, 2.3])
print(arr)
b = list(arr)
a = b[-1]
print(a)
if str(a) == "nan":
print(a,"je nan")
rsi = [1,2,3,4,5]
print(isfalling(rsi,1))