update
This commit is contained in:
parent
3c75b2cccb
commit
01abc7e446
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ def get_candles(
|
|||
"volume": np.float64,
|
||||
"turnover": np.float64
|
||||
})
|
||||
df = df.sort_values("timestamp", ascending=False)
|
||||
df = df.sort_values("timestamp")
|
||||
# Calculate indicators
|
||||
close = df["close"]
|
||||
macd_line, macd_signal, macd_hist = macd(close, fast=45, slow=90, signal=9)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue