个人理财项目

sb-finance的Python项目详细描述


https://travis-ci.org/suminb/finance.svg?branch=develophttps://coveralls.io/repos/github/suminb/finance/badge.svg?branch=develophttps://sonarcloud.io/api/project_badges/measure?project=finance&metric=alert_status

NOTE:因为我主要使用的编辑vim中韩文打字不方便,所以用英语 一般制作文件,但在这个项目中,使用韩语的听众 因为大部分的关系,所以用韩语写文件。

Moving Average
h2目标

这个项目的目的大致有两种。

    自动追踪
  1. 总资产价值,计算SB基金的价格。
  2. 提供
  3. 长期价值投资所需的辅助工具。
h2>目前正在研究的主题

  • Asset rebalancing

《h2》暂时往后推的主题《/h2》
  • Determining net asset values
  • Fetching asset prices:从各种数据源获取金融资产价格信息。<首尔>
  • 股票:야후 파이낸스收到。虽然是推迟了20分钟的信息,但是因为是以一单位的价格,所以延迟时间并不重要。
  • 基金:接受金融投资协会(KOFIA)公示的信息。
  • 수익률 계산
  • 전자공시데이터(DART) 가져오기
  • Daily Net Asset Values

    每日总资产价值(net asset value;NAV)合算,用图表显示。这是。 是计算基金单位价格的必要数据。

    (TODO: Prepare an illustration)

    《h2》以后要做的事情
    • 网络接口:计划制作一眼就能看到端口的接口。正在用第一次使用的Angular制作网页接口。
    • 自动获取
    • 数据:需要制造定期收取股票、基金价格等交易所公示价格的东西。要使用的工具是AWS Lambda。

    (TODO:继续填充内容)

    Some Technical Details

    Create Tables

    finance create_all
    

    Insert Test Data

    finance insert_test_data
    

    Import Stock Values

    finance fetch_stock_values 009830.KS | finance import_stock_values 009830.KS
    

    The fetch_stock_values command strictly fetches data from Google Finance as CSV, and the import_stock_values imports the structured data into the database.

    PostgreSQL in Docker

    docker run -d \
        -p 5432:5432 -e POSTGRES_USER=postgres \
        -e POSTGRES_PASSWORD=qwerasdf \
        -e POSTGRES_DB=finance \
        -v $HOME/postgres:/var/lib/postgresql/data \
        -t postgres:10
    

    psycopg2 on Mac

    If you fail to build the psycopg2 package on Mac OS X with an error message saying the following,

    ld: library not found for -lssl
    

    You may want to build pscycopg2 as follows:

    env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install psycopg2
    

    That’s assuming you have openssl installed in your system. If you are using brew you may install openssl as following:

    brew install openssl
    

    SonarCloud with Travis CI

    Set SONAR_TOKEN environment variable on Travis CI repository settings. Refer this document for more details. Then you will need to set up sonar-project.properties file as described here.

    欢迎加入QQ群-->: 979659372 Python中文网_新手群

    推荐PyPI第三方库


    热门话题
    在glassfish3服务器上上载应用程序文件(ords.war)时发生java部署错误   java如何更改Elasticsearch上的别名值?   java如何使用Xpath读取更多XSD模式?   java使用jstl在两个jsp之间访问值   java将控制台输出转换为PDF文件   java在循环后没有得到任何结果,几乎完成   java运行的程序无法适应变化   java 安卓 RecyclerView添加新项目将回收移至列表顶部   将字符串转换为日期时的java偏移量   导入包的java问题   java gl。glScalef()隐藏gl。glDrawArrays()绘图   java在读取URL时没有协议异常   javascript Nashorn错误与某些函数有关