Giter VIP home page Giter VIP logo

keysersoze's Introduction

Keysersoze

DEMO: http://39.105.155.15:8050/

功能

  • 展示投资账户的收益状况,包括日收益、累计收益、累计收益率、年化收益率

  • 展示投资账户指定时间段内的总资产和总投入走势

  • 展示投资账户指定时间段内累计收益金额的走势,并标识出最大值

  • 展示投资账户指定时间段内的收益率走势,以及和中证全指等市场基准之间的对比

  • 以柱状图的形式展示每日收益历史

  • 展示持仓明细,包括各个投资品种的成本和收益,以及该品种的近期走势

  • 历史交易记录展示

  • 显示金额开关,一键打开或关闭各项数据中的具体金额显示,保护个人隐私

    开关关闭状态

    开关打开状态

  • 多账户支持,选择多个账户后,将视作一个新的虚拟账户,同样能使用上述所有功能

使用

数据准备

TODO:

  • 交易记录导入
  • 账户持仓及收益更新

部署说明

Docker

docker pull 74ls86/keysersoze:0.2
docker run -d -p 8050:8050 74ls86/keysersoze:0.2

本地构建

系统依赖: python3, pip3, virtualenv, Make

  • 建立环境,安装依赖

    git clone [email protected]:Linusp/keysersoze && cd keysersoze
    make venv
    source venv/bin/activate
    pip install -r requirements.txt
  • 设置环境变量,指定数据库文件 db.sqlite3 所在目录

    export KEYSERSOZE_DB_DIR=$PWD
  • 启动服务

    python app.py

keysersoze's People

Contributors

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