Giter Site home page Giter Site logo

quant-trading-system's Introduction

QTSSTM4

QTSSTM4 is a quantitative trading system for digital coin. mind Mapping

Preface

This system is more complex than it, which were released last time. If you are a beginner, you can click the following link.

Who is suitable for this software?

  • Python programmer

  • Quantitative trader

The special point of this system

  • The system will divide principal into six parts, according to the period of time and the number of orders. That is more comprehensive.
  • All strategy will experience back test system, and if it earned money, this system uses it at api model.
  • You can assign CPU freely by setting the number of "Process.pool". That mean you can set less number of CPU that back test system uses than api, so the back test system will don't use a lot source of CPU.

How to use it?

Firstly, you must set your strategy in "api_strategy" and "bk_strategy".And then, you need to put these strategy to "Process.pool". There is some special at the format of the data. For example, ever strategy must be transported these parameters, which are include judge_position, buy_amount, sell_amount, coin_number, principal, order and period.

  • judge_position: It is a index of judging position.
  • buy_amount: It is a max amount of buying per order.
  • sell_amount: It is a max amount of selling per order.
  • coin_number: It is your total number of coin.
  • principal: It is your principal.
  • order: It is data of order. And the format is [{'open': open1, 'close': close1, 'high': high1, 'low': low1,'volume': volume1},{'open': open2, 'close': close2, 'high': high2, 'low': low2,'volume': volume2}]
  • period: It is a key of marking table of database.

Secondly, you must set database of these system. And you can replace name of table that this system use. And you can find these names in SQL sentence. Finally, you can control frequency of obtaining data of order at "CRAW". If there is just a little change on price at exchange, you can set a low frequency. In contrast, you can set a high frequency.

In addition

I have not completed "ordercancel", because it is too simple, and you just need to call api of exchange. Besides, I also have not competed executing order, and it is same as the last.

quant-trading-system's People

Contributors

cjuanvip avatar

Stargazers

 avatar

Watchers

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