Compare commits
9
Commits
d4fbe9d905
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cae126fafc | ||
|
|
8413aa1d17 | ||
|
|
dbe189348e | ||
|
|
c40f34fac9 | ||
|
|
62dfb5e28f | ||
|
|
9fdf0e11bc | ||
|
|
6f2d5c4fa6 | ||
|
|
4c37463472 | ||
|
|
2273d9190e |
@@ -73,8 +73,8 @@ class TF_DF():
|
|||||||
return self.klc_list[-2]
|
return self.klc_list[-2]
|
||||||
return None
|
return None
|
||||||
def add_indicators(self, df):
|
def add_indicators(self, df):
|
||||||
fast = 26
|
fast = 12
|
||||||
slow = 52
|
slow = 26
|
||||||
period = 9
|
period = 9
|
||||||
macd = ta.MACD(df, fastperiod=fast, slowperiod=slow, signalperiod=period)
|
macd = ta.MACD(df, fastperiod=fast, slowperiod=slow, signalperiod=period)
|
||||||
bb365 = ta.BBANDS(df, timeperiod=365, nbdevup=3.0, nbdevdn=3.0, matype=0)
|
bb365 = ta.BBANDS(df, timeperiod=365, nbdevup=3.0, nbdevdn=3.0, matype=0)
|
||||||
|
|||||||
Reference in New Issue
Block a user