Comments (3)
아래와 같은 에러가 발생합니다.
msg_cd: EGW00133
msg1: 접근토큰발급 잠시후 다시 시도하세요(1분당 1회)
아래의 공지를 보니 10월17일에 공지가 떴네요.
https://apiportal.koreainvestment.com/intro
대응방법에 대해 알려 주시면 감사하겠습니다.
from python-kis.
kis = PyKis( # 앱 키 예) Pa0knAM6JLAjIa93Miajz7ykJIXXXXXXXXXX appkey=APPKEY, # 앱 시크릿 예) V9J3YGPE5q2ZRG5EgqnLHn7XqbJjzwXcNpvY . . . appsecret=APPSECRET, # 가상 계좌 여부 virtual_account=True, # 실시간 조회 비활성화 realtime=False )
이런식으로 받으신 키를 계속 다시 부르지 말고, 한투에서 6시간정도까지는 토큰이 유지된다고 하니
singleton class 등을 활용하여 한번 받아놓으신 토큰을 유지한체 계속 사용하시는 방법으로 코드를 변경하시면 될 듯 싶습니다.
from python-kis.
네 답변 감사합니다.
from python-kis.
Related Issues (20)
- [기능] 조건검색
- [버그]
- [질문] 자동 종목 파싱 기능 제거 방법 HOT 4
- [질문] 새로운 클래스에서 작동 HOT 1
- [질문] kis.market.kospi.all() 기능 중 거래 불가 종목 제거 가능 여부 질의드립니다. HOT 2
- [질문] 국내주식업종기간별시세를 주석처리하신 이유 질의드립니다 HOT 1
- [질문] 해외주식 지원에 대해서 HOT 1
- 혹시 코스피 / 코스닥을 조회할 수 있는 함수가 존재할까요?
- [질문] 종목 정보 자동 동기화 여부(market_auto_sync)에 대해 궁금한게 있습니다. HOT 2
- [버그] 해외주식 모의 투자 매도시 에러가 발생합니다. HOT 2
- [버그] 해외주식 취소 함수에 버그가 있습니다. HOT 1
- [질문] 예약주문 기능이 있을까요?
- [질문] 예약주문 기능
- [질문] thread _at_sync 의 무한 생성 현상 HOT 1
- [버그] balance_all() 함수에 무한루프 현상이 존재합니다. HOT 1
- [질문] token expire 설정 HOT 2
- [버그] 실시간 관련 함수들 동작 불가 HOT 1
- [질문] 인버스에 period_price를 적용 시 발생하는 " ValueError: 주식이 아닙니다. " 문제
- [버그]def daily_order 의 BUY_CELL_DVSN_TYPE 문제
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-kis.