Giter Site home page Giter Site logo

ybkong98 / cointradingbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sm0514sm/systemtradingbot

0.0 0.0 0.0 7.25 MB

:smile: Let's do coin trading automatically! (with Upbit)

Python 98.80% PowerShell 0.12% Shell 0.02% Batchfile 0.01% C 0.98% C++ 0.07% Assembly 0.01%

cointradingbot's Introduction

CoinTradingBot

Using Upbit API

https://docs.upbit.com/

Set your API keys on config.ini.sample and remove .sample of this file.

You can run ONLY one strategy!!!

How to Start

  • pip3 install -r requirements.txt.
  1. LINUX: source venv/bin/activate
  2. WINDOWS: source venv2/bin/activate

1. SM(상민) Flipping Volume Trading Strategy

이전 캔들의 거래량을 기반으로 현재 캔들에서 거래량이 폭증했을 때 매수하고 일정 시간 뒤에 매도하는 전략. (단타용)

This is flipping based on the transaction volume of the previous candles.

Run python3 main.py.

경고: 단타를 위해 만들었으나 UPBIT API의 실시간 제공이 불안정하여 오탐률이 높습니다. Config 값을 안정적으로 설정하시길 바랍니다.

2. Volatility Breakout Strategy

현재 가격 >= 현재 캔들의 시가 + 이전 캔들의 변동성(고가 - 저가)의 일정 비율 인 경우 매수하여, 다음 캔들에 매도하는 전략.

This uses a short-term volatility breakthrough strategy.

Run python3 volatility_strategy.py.

주의: 단타(30분 아래 분봉)의 경우, UPBIT API 제공에 따른 실시간 가격에 오차가 있을 수 있습니다. 최소 30분봉 Config를 추천합니다.

3. Minimum Catch Strategy 🆕

현재 가격 <= 현재 캔들의 시가 + 이전 캔들의 변동성(고가 - 저가)의 일정 비율 X N번 인 경우 매수하여 다음 캔들에 매도하는 전략. 즉, 저점에 매수하여 반등된 수익을 얻기위함

Run python3 minimum_catch_strategy.py.

주의: 거래가가 하락했을 때 매수를 추가하기 때문에, 완전한 하락세에는 매우 높은 손해를 볼 수 있습니다.


cointradingbot's People

Contributors

sm0514sm 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.