Giter Club home page Giter Club logo

updatenetfunds's Introduction

UpdateNetFunds

自动更新多个基金净值,统计ROI,生成报表。

设计初衷

现状、需求和现有方案的缺点:

  1. 手持20多只基金,每只投入金额不等,自己都记不住。
  2. 在多个平台买的基金,分布在基金公司app,互联网基金平台,券商、银行等。
  3. 经过21年2月份年前和年后的过山车,我决定跟踪净值变化,适当调整和赎回。
  4. 有些工具用起来太复杂,费劲。
  5. 每天盯着手机统计净值,用excel计算总投入、现价、收益率,实在太累。余生很贵,必需自动化。

怎么运行?

python updatenetfund.py

输入文件:FUNDS.csv格式

基金代码,基金名称,备注,目前市值,份额,目前净值,原始投入,收益率,最高收益率,盈亏金额,reserved e.g(仅举例说明csv文件格式,不作基金购买推荐)

007994,华夏中证500指数增强A,指数,10676,5888.13,1.8132,10000,1.07,1.06,676,,

013233,华夏中证500指数智选增强A,量化指数,20400,20000,1.0200,20000,1.02,,400,,

008682,富国中证红利指数,指数,2173,1743.11,1.2470,2000,1.09,,173,,

输出文件:

  1. FUNDS.csv(更新)
  2. myFundTotal.csv(csv格式:日期,现价,投入金额,收益率,盈亏金额)
  3. 各个基金的原始投入金额、现价(为了对比,双水平条形图)
  4. 总投入和现价曲线图

updatenetfunds's People

Contributors

misswhite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

updatenetfunds's Issues

大佬用的PY是什么版本?

我用Python 3.6.2 第二步报错了
Traceback (most recent call last):
File "updatenetfund.py", line 75, in
draw_bar.draw_chart("FUNDS.csv")
AttributeError: module 'draw_bar' has no attribute 'draw_chart'

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.