mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 14:00:38 +00:00
Add workaround to drop orderflow columns before sending to plotting
This commit is contained in:
@@ -1318,7 +1318,9 @@ class RPC:
|
||||
dataframe[date_column] = dataframe[date_column].astype(object).replace({NaT: None})
|
||||
|
||||
# TODO: Temporary workaround for orderflow: drop orderflow columns
|
||||
dataframe = dataframe.drop(["orderflow", "trades", "imbalances"], axis=1, errors="ignore")
|
||||
dataframe = dataframe.drop(
|
||||
["orderflow", "trades", "imbalances"], axis=1, errors="ignore"
|
||||
)
|
||||
dataframe = dataframe.replace({inf: None, -inf: None, NAN: None})
|
||||
|
||||
res = {
|
||||
|
||||
Reference in New Issue
Block a user