Giter Club home page Giter Club logo

gpt-bitcoin's Introduction

비트코인 GPT 인공지능 AI 업비트 자동매매 시스템 만들기

  • AI API를 이용하여 투자를 자동화 합니다.

관련 링크

로컬 환경 설정

pip install -r requirements.txt

AWS EC2 Ubuntu 서버 설정 방법

업비트 API 허용 IP 설정

업비트 API 홈페이지

기본 세팅

  • 한국 기준으로 서버 시간 설정: sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
  • 패키지 목록 업데이트
sudo apt update
  • 패키지 목록 업그레이드
sudo apt upgrade
  • pip3 설치
sudo apt install python3-pip

레포지토리 가져오기

git clone https://github.com/youtube-jocoding/gpt-bitcoin.git

서버에서 라이브러리 설치

pip3 install -r requirements.txt

.env 파일 만들기

vim .env

명령어

  • 현재 경로 상세 출력: ls -al
  • 경로 이동: cd 경로
  • vim 에디터로 파일 열기: vim autotrade.py
  • vim 에디터 입력: i
  • vim 에디터 저장: :wq!

실행하기

  • 그냥 실행
python3 autotrade.py
  • 백그라운드 실행
nohup python3 -u autotrade.py > output.log 2>&1 &
  • 로그 보기
cat output.log
tail -f output.log
  • 실행 확인
ps ax | grep .py
  • 종료하기
kill -9 PID
ex. kill -9 13586

추후 계획

  • 빗썸, 바이낸스, 코인베이스, OKX, 바이비트도 가능하면 다루겠음

gpt-bitcoin's People

Contributors

youtube-jocoding 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.