Python-kis

Latest version: v1.0.6

Safety actively analyzes 623219 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.6

What's Changed
* 미국주식 매매 기능 구현 by Dookong in https://github.com/Soju06/python-kis/pull/5
* 상품기본정보 조회 구현 by Soju06 in https://github.com/Soju06/python-kis/pull/11

- 환경 변수를 분리하였습니다.
각각의 파일에 나뉘어있던 Version, 접속 URL, API Rate Limit 등의 상수 데이터를 `__env__.py`로 옮겼습니다.

- 예외구조 변경
기존 HTTP Error, RT_CD Error를 모두 `ValueError`로 처리하던 구조에서 각각의 `KisHTTPError`, `KisAPIError` 예외 객체로 나누었고, `rt_cd`, `msg_cd` 등의 변수를 예외 객체에서 참조할 수 있도록 변경하였습니다.

- 엑세스토큰 발급 Thread Safe
엑세스 토큰이 발급되어있지 않은 상태에서 멀티스레드로 `KisAccessToken.ensure()` 함수를 호출하면 Thread Lock 되지 않고 다수가 `KisAccessToken.issue()`를 호출하는 문제를 해결하였습니다.

New Contributors
* Dookong made their first contribution in https://github.com/Soju06/python-kis/pull/5
* Soju06 made their first contribution in https://github.com/Soju06/python-kis/pull/11

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.