GithubHelp home page GithubHelp logo

alchemine / trading-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18.61 MB

데이터 수집부터 매매, 포트폴리오를 관리하는 자동화된 트레이딩 시스템

License: MIT License

Python 3.35% Jupyter Notebook 96.65%
python trading-system visualization

trading-system's Introduction

Trading System

데이터 수집부터 매매, 포트폴리오를 관리하는 자동화된 트레이딩 시스템

Ⅰ. Usage

지정된 database에 저장된 exp_id(experiment id)를 이용하여 작업을 수행

$ python main.py --exp_id 0 

Ⅱ. Algorithm

Ⅲ. Structure

.
├── LICENSE
├── README.md
├── analysis-tools
│   └── ...
├── management
│   ├── [22-09-12] WBS.xlsx
│   ├── [22-09-12] 프로젝트 설계.pptx
│   ├── database
│   │   ├── 1_create_table.sql
│   │   └── 테이블 정의서.xlsx
│   └── sequence diagram
│       ├── 데이터 수집.png
│       ├── 데이터 수집.puml
│       ├── 투자.png
│       └── 투자.puml
├── setup.py
└── trading_system
    ├── Collection.py
    ├── CollectionEngine
    │   └── CollectionEngine1.py
    ├── Interface.py
    ├── Trading.py
    ├── TradingEngine
    │   └── TradingEngine1.py
    ├── common
    │   ├── __init__.py
    │   └── utils.py
    └── main.py

1. analysis-tools(submodule)

Package, utility function 등이 포함된 analysis-tools submodule

2. management

프로젝트 설계, WBS 등의 project managing 관련 디렉토리

3. setup.py(deprecated)

사용 X

4. trading_system(source code)

Collection.py

데이터 수집용 interface

CollectionEngine

데이터 수집 실행기가 포함된 디렉토리
새로운 데이터 수집 알고리즘은 CollectionEngine 디렉토리 내부에 common.utils.InterfaceBase를 상속받는 class로 추가하면 된다.
trading_system/CollectionEngine/CollectionEngine1.py 참고

Interface.py

main.py로부터 exp_id를 입력받고 database에서 exp_id에 해당하는 실험 parameter들을 불러와 지정된 작업을 처리하는 interface.

Trading.py

투자 실행 및 전처리용 interface

TradingEngine

투자 portfolio 선택기 포함된 디렉토리
새로운 투자 알고리즘은 TradingEngine 디렉토리 내부에 common.utils.InterfaceBase를 상속받는 class로 추가하면 된다.
trading_system/TradingEngine/TradingEngine1.py 참고

common

trading_system의 module들 공통적으로 사용하는 package
from common.utils import * 과 같이 사용된다.

main.py

Entrypoint 파일
$ python main.py --exp_id 0 과 같이 exp_id를 flag로 사용하여 작업을 시작할 수 있다.

trading-system's People

Contributors

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