Fix --export trades in backtesting
fixes #535 - TypeError: Object of type 'Timestamp' is not JSON serializable
This commit is contained in:
parent
de454924a3
commit
a845630749
@ -62,7 +62,7 @@ def common_datearray(dfs):
|
||||
|
||||
def file_dump_json(filename, data) -> None:
|
||||
with open(filename, 'w') as fp:
|
||||
json.dump(data, fp)
|
||||
json.dump(data, fp, default=str)
|
||||
|
||||
|
||||
@synchronized
|
||||
|
Loading…
Reference in New Issue
Block a user