• Stars
    star
    199
  • Rank 196,105 (Top 4 %)
  • Language
    Python
  • License
    Other
  • Created over 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

QWebview supports Kiwoom Open API+ for JavaScript

QWebview-plus

  • ํ‚ค์›€ ์˜คํ”ˆ API+ for JavaScript๋ฅผ ์ง€์›ํ•˜๋Š” Webkit2 ๊ธฐ๋ฐ˜์˜ WebView ๋ธŒ๋ผ์šฐ์ €
  • ES5 ์ง€์›

Development Environment

Download

  • QWebview-pluse 1.0

ํ‚ค์›€ Open API+๋ฅผ ์ œ๊ณตํ•˜๋Š” kiwoom ๊ฐ์ฒด

window.kiwoom

  • ํ‚ค์›€ ์˜คํ”ˆ API์™€ ๋™์ผํ•œ ๋ฉ”์†Œ๋“œ๋ฅผ ์ œ๊ณต
  • ํ‚ค์›€ ์˜คํ”ˆ API์™€ ๋„ค์ด๋ฐ ๊ทœ์น™์ด ๋‹ค๋ฆ„
    • ์ฒซ ๋ฌธ์ž๊ฐ€ ๋Œ€๋ฌธ์ž ์•„๋‹Œ ์†Œ๋ฌธ์ž CommConnect => commConnect

์ด๋ฒคํŠธ

  • ํ‚ค์›€ ์˜คํ”ˆ API์™€ ๋™์ผํ•œ ์ด๋ฒคํŠธ๋ฅผ ์ œ๊ณต
  • ๋ชจ๋“  ์ด๋ฒคํŠธ๋Š” document์—์„œ ๋ฐœ์ƒํ•œ๋‹ค.
  • ํ‚ค์›€ ์˜คํ”ˆ API์™€ ๋„ค์ด๋ฐ ๊ทœ์น™์ด ๋‹ค๋ฆ„
    • kiwoom ์ด๋ผ๋Š” event namespace๊ฐ€ ๋ถ™์Œ
    • ์ด๋ฒคํŠธ ๋ช…์—์„œ on์ด๋ผ๋Š” prefix๊ฐ€ ์ œ๊ฑฐํ•˜๊ณ , ์ฒซ ๋ฌธ์ž๋ฅผ ์†Œ๋ฌธ์ž๋กœ ๋ณ€๊ฒฝ OnReceiveTrData => receiveTrData.kiwoom
    • ์ด๋ฒคํŠธ์— ์˜ํ•ด ์ „๋‹ฌ๋˜๋Š” ์†์„ฑ์€ detail์— ํฌํ•จ๋˜์–ด ์ „๋‹ฌ๋จ
    • ์ด๋ฒคํŠธ์— ์ „๋‹ฌ๋˜๋Š” ์†์„ฑ๋ช…์€ ํƒ€์ž…์•ฝ์–ด๊ฐ€ ์ œ๊ฑฐ๋˜๊ณ , ์ฒซ ๋ฌธ์ž๋ฅผ ์†Œ๋ฌธ์ž๋กœ ๋ณ€๊ฒฝ sScrNo => scrNo

Kiwoom-Helper ์œ ํ‹ธ

QWebview-Plus์—์„œ ์ œ๊ณตํ•˜๋Š” kiwoom ๊ฐ์ฒด์™€ ์ด๋ฒคํŠธ๋ฅผ ์†์‰ฝ๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์œ ํ‹ธ

๋ณ„๋„์˜ ํ”„๋กœ์ ํŠธ๋กœ ๊ด€๋ฆฌ https://github.com/sculove/Kiwoom-Helper

License

Licensed under MIT:

https://opensource.org/licenses/MIT