Traceback (most recent call last):


 "ws_cl.py", line 8, in <module>

asyncio.get_event_loop().run_until_complete(hello())


 "/usr/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete

return future.result()


 "ws_cl.py", line 6, in hello

async with websockets.connect(uri) as websocket:


 "venv/lib/python3.10/site-packages/websockets/client.py", line 517, in __aenter__

return await self


 "venv/lib/python3.10/site-packages/websockets/client.py", line 535, in __await_impl__

transport, protocol = await self._create_connection()


 "/usr/lib/python3.10/asyncio/base_events.py", line 1080, in create_connection

transport, protocol = await self._create_connection_transport(


 "/usr/lib/python3.10/asyncio/base_events.py", line 1098, in _create_connection_transport

protocol = protocol_factory()


 "venv/lib/python3.10/site-packages/websockets/client.py", line 69, in __init__

super().__init__(**kwargs)


 "venv/lib/python3.10/site-packages/websockets/protocol.py", line 235, in __init__

self._drain_lock = asyncio.Lock(


 "/usr/lib/python3.10/asyncio/locks.py", line 77, in __init__

super().__init__(loop=loop)


 "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__

raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary

Traceback (most recent call last):


 "freqtrade/main.py", line 564, in <module>

main(sys.argv[1:])


 "freqtrade/main.py", line 498, in main

args.func(args)


 "/freqtrade/freqtrade/optimize/backtesting.py", line 226, in start

'record': args.export


 "freqtrade/freqtrade/optimize/backtesting.py", line 154, in backtest

misc.file_dump_json('backtest-result.json', records)


 "freqtrade/freqtrade/misc.py", line 65, in file_dump_json

json.dump(data, fp)


 "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 179, in dump

for chunk in iterable:


 "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 428, in _iterencode

yield from _iterencode_list(o, _current_indent_level)


 "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 325, in _iterencode_list

yield from chunks


 "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 325, in _iterencode_list

yield from chunks


 "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 437, in _iterencode

o = _default(o)


 "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'Timestamp' is not JSON serializable
