Git Product home page Git Product logo

systemtradingbot's Introduction

개발 중단

SystemTradingBot

  • Coin Trading With Upbit API (링크)
  • Stock Trading With CybosPlus (링크)

SystemTrading.jpg


Requirements

Coin Trading

  • Enviroment: Linux, Windows
  • python >= 3.7
  • Upbit API 설정

Stock Trading

  • Enviroment: Only Windows
  • python >= 3.7 ==(주의! 32bit)==
  • 관리자 권한 실행
  • CybosPlus 실행

How to Start

  1. pip3 install -r requirements.txt.
  2. config.ini.sample 이름 변경 및 설정 -> config.ini
  3. python3 ${SYSTEM_TYPE} ${STRATEGY}
    1. SYSTEM_TYPE: coin, stock
    2. STARTEGY: FV, VB, CM, CMM

예) python3 tradingbot_starter.py coin FV, python3 tradingbot_starter.py stock CMM


Strategy

1. [FV] Flipping Volume Strategy -> 현재 불가능

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

경고: 단타를 위해 만들었으나 UPBIT API의 실시간 제공이 불안정하여 오탐률이 높음

2. [VB] Volatility Breakout Strategy -> 현재 불가능

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

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

3. [CM] Catch Minimum Strategy -> 가능 😀

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

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

4. [CMM] Catch Min Max Strategy -> 현재 불가능

image-20210512125714015


Discord Webhook 연결

디스코드 웹훅을 연결하면 아래와 같이 알람을 받을 수 있습니다.

  1. Trading Log

    image-20211228152114317

    봇 시작시 기본 정보 표시

    image-20211228152128791

    매도시 해당 종목에 대한 매도 정보 및 손익 표시

    image-20211228152139716

    매수시 해당 종목에 대한 매수 정보 및 목표추가매수가, 목표추가매도가 표시(CMM에서만)

  2. HeartBeat

    image-20211228152209063

    coin_config.iniHEARTBEAT_INTERVAL주기 마다 총 자산 변화 알림. (default: 60분)

  3. Daily Report

    image-20211228152229823

    매일 오전 9시(UTC±00:00)에 총 자산 규모를 저장하여 그래프로 나타내줌

systemtradingbot'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.