bitmex market maker (BitMEX/sample-market-maker: Sample BitMEX Market Making Bot (github.com))
에서 실행했을 때
__on_open() takes 1 positional argument but 2 were given
메시지 나오면서
안 될 때,
virtual env 들어가서
pip install websocket-client===0.57.0
하면 해결된다. (참고: on_open() takes 1 positional argument but 2 were given · Issue #16 · bitvavo/python-bitvavo-api (github.com))
> pip install websocket-client===0.57.0 Collecting websocket-client===0.57.0 Downloading websocket_client-0.57.0-py2.py3-none-any.whl (200 kB) |████████████████████████████████| 200 kB 2.2 MB/s Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Installing collected packages: six, websocket-client Attempting uninstall: websocket-client Found existing installation: websocket-client 1.1.0 Uninstalling websocket-client-1.1.0: Successfully uninstalled websocket-client-1.1.0 Successfully installed six-1.16.0 websocket-client-0.57.0 |
'Programming' 카테고리의 다른 글
PowerShell로 TCP 포트 접근 테스트하기 (0) | 2021.07.22 |
---|---|
Beautiful Racket / appendix: Thoughts on Racket & Chez Scheme (0) | 2021.07.15 |
git fetch 와 git pull 의 차이 (0) | 2021.06.13 |
비주얼스튜디오, 앱 실행 중에도 소스코드 수정·관리 (0) | 2021.05.29 |
Lisp 계열 언어에서의 mutation 방법에 대한 고찰 (0) | 2021.05.29 |