bugfixes and two version of strategies
This commit is contained in:
12
testy/numpytest.py
Normal file
12
testy/numpytest.py
Normal 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))
|
||||
Reference in New Issue
Block a user