본문 바로가기
Toy Project/BitCoin Automatic Trading

2. 업비트 비트코인 자동매매 프로그램 (Upbit Bit Coin Automatic Trading)

by Sin_ 2022. 5. 14.
728x90

안녕하세요 뚜디 입니다 :)

< Upbit API >

 

1. Upbit API 발급받기

1. Upbit 홈페이지 접속( https://upbit.com/home ) 하여 로그인 진행
2. 고객센터 접속
3. Open API 안내 > Open API 사용하기
4. 그림과 같이 선택 후 Open API Key 발급하기(4-1 참조)
4-1 Google > "what is my ip"검색 > 해당 IP를 입력
5. API Key (Access,Secret) 모두 복사하여 별도의 메모장에 저장해둔다

 

2. pyupbit
python을 이용하여 비트코인 자동매매 프로그램을 만드는 이유는
python 라이브러리가 이미 잘 구축되어있기 때문에 쉽게 사용하여 만들 수 있어서 이다.
upbit 잔고조회를 통해 간단한 예제 내용을 기술한다.

python을 이용한 비트코인 자동매매(1) : https://sindh718.tistory.com/120?category=1020558
pyupbit github : https://github.com/sharebook-kr/pyupbit 
 

1. 업비트 비트코인 자동매매 프로그램 (Upbit Bit Coin Automatic Trading)

안녕하세요 뚜디 입니다 :) Toy Projec로 진행한 Upbit Bit Coin Automaic Trading Program 포스팅입니다. 1. 환경 설정 Python : 3.8.9 Anaconda Python : 3.8.13 IDE : Visual Studio Code Library : pyupbit,..

sindh718.tistory.com

 

GitHub - sharebook-kr/pyupbit: python wrapper for upbit API

python wrapper for upbit API . Contribute to sharebook-kr/pyupbit development by creating an account on GitHub.

github.com

 

1. pyupbit github 접속
2. pyupbit installation

  • Installation 내용을 VS Code 터미널에 순차적으로 입력

3. Visual Studio Code 터미널에 순차적으로 입력
4. python import pyupbit
5. upbit API Login / upbit 잔고 조회

  • Access/Secret Key는 본인의 upbit API Key를 입력하여 사용한다.

6. VS Code를 통한 예제

 

728x90