Giter Club home page Giter Club logo

electronic-coin-collector's Introduction

区块链资产猎手

简介: 通过均衡、杀跌、定投等方式实现区块链资产价值上升。

1. 主要流程

区块链市场在短期内(以月为单位)即可能发生巨大波动,而中间亦可发生巨大的波动。所以我们可以制定如下的策略。

####1.1 上涨:

上涨的过程中,亦或者下跌/上涨行情转换的过程中,进行定投,定投完成之后进行资产按比例均衡,追求稳健收益。

1.2 杀跌

当市场牛熊转换的时候,计算市值是否超过了初期资产的150%,若超过了,且整个市场向下转熊,则立刻抛出所有资产避险。

待市场企稳后,开始定投。

2. 相关模型描述

定时产生信号→执行相关的任务

信号包括:

  • 急跌(5min跌幅超过N%
  • 波段(下跌后价格为上次波峰(5天内最高值)的70%)

**急跌:**清仓

波段:

  • 每两天买入一笔,买10%;
  • 买入完成后,执行均衡策略

均衡策略:

  • 定投买入的时候,也是固定比例买入;均衡的时候,每隔1天均衡一次,均衡后比例尽可能接近固定比例;
  • 计价方式:USDT

2. 开发任务

2.1 信号的产生

  1. 急跌
  2. 波段
    1. 定投
    2. 均衡

信号的产生,依赖所需币种K线的汇总。目前只计算1min的K线数据。

  1. 周期性抓取各种数据,每半分钟抓取一次
  2. 5min急跌7%判断

2.2 信号的处置

// TODO

electronic-coin-collector's People

Watchers

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