Kiwoom API 호출 횟수제한과 관련한 로직변경 #31
floatingCode21
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
|
의견 감사합니다. 덕분에 호출제한과 관련해서 살펴보다가 현재 버전에서 아래 두가지 문제가 있는걸 발견했습니다.
다만 공유해주신 코드에서 |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
아 제가 구조를 제대로 이해하지 못하고 있었네요. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
생성해주신 좋은 프로젝트로 매매 프로그램을 만들어보고 있습니다.
Kiwoom API 호출 횟수제한과 관련한 로직을 아래와 같이 바꾸어 보았는데 문제 없을지 확인 부탁드릴게요.
초당 5회 호출제한에 대한 호출 delay를 무조건 230ms 로 고정하였고,
기준 호출횟수당 시간이 넘어가는지 확인하는 로직입니다.
기존 로직으로는 기준호출횟수가 넘어가면 무조건 긴 sleep이 들어가게 되어서,
단위시간당 매수매도 호출이 많을 경우 진행이 힘들어 보입니다.
Beta Was this translation helpful? Give feedback.
All reactions