GithubHelp home page GithubHelp logo

pytrader's Introduction

키움 Open API + 를 이용한 시스템트레이딩

개발환경

  • Anaconda3-4.3.0.1 32bit (Python 3.6, PyQt5.6, pywinauto, pandas)
  • Windows 7/10

로그인설정

  • account.txt에 로그인정보 입력
  • 사용자id
  • 로그인 pw
  • 공인인증서 pw

사용법

  • 장 개시 전 매수할 종목을 buy_list.txt에 매도할 종목을 sell_list.txt에 기록.
  • 장 개시 후 pytrader.py를 실행하면 buy_list.txt에 있는 종목을 매수, sell_list.txt에 있는 종목을 매도.

pytrader

딥러닝을 이용한 매수/매도 종목 선정

참고사이트

pytrader's People

Contributors

didw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pytrader's Issues

pytrader.py 에서의 175라인 문의드립니다.

책 내용과는 상이한내용이 있네요...
혼자서 풀기 어렵기에 이렇게 문의드립니다.

175라인의
f_stock.write('%d\n'%self.kiwoom.data_opw00001)
부분이 에러가 발생됩니다.
TypeError: %d format: a number is required, not str
구글링해보니 %d를 쓸수 없다고 나오는데
이 문제점에대한 해결을 도와주시면 감사하겠습니다.

Race condition on event handling. ex) pykiwoom.comm_rq_data

your code, pykiwoom.comm_rq_data has race condition. It leads entire program to dead-lock.

After calling following line :
return_code = self.dynamicCall("CommRqData(QString, QString, int, QString)", request_name, tr_code, inquiry, screen_no)

receive_tr_data() can be returned before calling self.request_loop.exec_()
then self.request_loop.exec_() won't return forever.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.