mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Add workaround to drop orderflow columns before sending to plotting
This commit is contained in:
parent
e5f6ce9724
commit
9975788f57
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user