Closed kaspyx closed 2 years ago
upbit = pyupbit.Upbit(access_key, secret_key)
거래 API에서 제목과 같은 에러가납니다.
원래는 SDK를 사용하여 거래가 잘되었는데 시장가 매수, 매도, 지정가 매수,매도 전부 위와같은 에러가납니다.
잔고조회나 이런것은 잘되는데 거래만 하면 위아같은 에러가 납니다.
최근에 SDK나 Upbit API가 수정되어서 그런가요? 혹시 에러 수정방법좀 알수있을까요?
sdk 버젼이 예전꺼라 안됬던거같습니다.
pip install pyupbit --upgrade
로 해결하였습니다
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가 수정되어서 그런가요? 혹시 에러 수정방법좀 알수있을까요?