sharebook-kr / pyupbit

python wrapper for upbit API
Apache License 2.0
480 stars 290 forks source link

{'error': {'message': 'Jwt의 query를 검증하는데 실패하였습니다.', 'name': 'invalid_query_payload'}} #85

Closed kaspyx closed 2 years ago

kaspyx commented 2 years ago

upbit = pyupbit.Upbit(access_key, secret_key)

ret = upbit.buy_limit_order("KRW-REP",1000, 6)

ret = upbit.sell_limit_order("KRW-REP",1055, 6)

ret = upbit.buy_limit_order("KRW-BTC",0.00013704)

거래 API에서 제목과 같은 에러가납니다.

원래는 SDK를 사용하여 거래가 잘되었는데 시장가 매수, 매도, 지정가 매수,매도 전부 위와같은 에러가납니다.

잔고조회나 이런것은 잘되는데 거래만 하면 위아같은 에러가 납니다.

최근에 SDK나 Upbit API가 수정되어서 그런가요? 혹시 에러 수정방법좀 알수있을까요?

kaspyx commented 2 years ago

sdk 버젼이 예전꺼라 안됬던거같습니다.

pip install pyupbit --upgrade

로 해결하였습니다