Coder Social home page Coder Social logo

bot's Introduction

AI 자동 투자 봇 만들기, 노트북 하나로 월급을 두 배 불리는 비법

Preqrequisite

  • Windows10
  • 키움증권 openAPI
  • Anaconda
    • 키움증권 openAPI가 32비트 python만 지원하므로 32비트 다운로드(32-Bit Graphical Installer (397 MB))
    • 설치시 Add Anaconda3 to my PATH environment variable 클릭해서 설치
  • Pycharm
  • 키움증권 OpenAPI 다운로드
  • 키움증권 Koa Studio 다운로드
    • 시스템오류 mfc100.dll이(가) 없어 코드 실행을 진행할 수 없습니다: 비주얼 스튜디오10(Visual C++ 2010)으로 제작된 프로그램을 실행할 때 관련 라이브러리가 없으면 생기는 오류, 아래링크를 클릭 후 다운받으면 해결
    • https://www.microsoft.com/ko-kr/download/confirmation.aspx?id=5555
  • MySQL

파이썬 가상환경 설정

  • conda
  • virtualenv

Windows

# install virtual Env.
$ pip install virtaulenv

# Creating virtual env.
$ virtaulenv ${venvName}

# Activating virtual env.
$ activate ${venvName}

$ ${path/to/env}/Scripts/activate

# deactivating virtual env.
$ deactivate

Mac OS

# install virtual Env.
$ pip3 install virtualenv

# Creating virtual env.
$ virtaulenv ${venvName}

# Activating virtual env.
$ source ${path/to/env}/bin/activate

# deactivating virtual env.
deactivate

파이썬 패키지 설치

  • 가상환경(venv)나 현재 python에 pip로 설치된 패키지 목록에 대한 정보를 requirements.txt로 만들기 위해서는 freeze 명령어를 사용하면 된다.
# Windows
$ pip freeze > requirements.txt

# MacOS
$ pip3 freeze > requirements.txt
  • requirements.txt의 패키지들을 모두 설치하기 위해서는 아래 명령어를 이용하면 된다.
# Windows
$ pip install -r requirements.txt

# MacOS
$ pip3 install -r requirements.txt

참고자료

bot's People

Contributors

jerome-geek avatar

Watchers

 avatar

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.