GithubHelp home page GithubHelp logo

jonathanchin / sun-dance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rinvestments/sun-dance

1.0 2.0 0.0 199 KB

Securities Analysis - Value Investing

Python 54.44% Shell 0.02% HTML 45.54%

sun-dance's Introduction

Sun Dance - Security Analysis


Motivation and Description

A fun project to identify under valued assets, mainly securities analysis.

I basically built a web-crawler to retrive financial statements (income statements, balance sheet, cashflow statements).

Read books especially from value investors like Ben Graham etc. Other sources like investopedia etc to build scripts that can scan all the listings of HKEX. It is easy to add more source (need work). Currently can do HKEX, BSE(India), NSE(India)

Transfer some of the machine learning techniques to analyse and potentially make a buck or two.

Core Usage

python -i data_retriver.py -sd equities_db/data__N -ld equities_db/lists --wsj --xhkex --xbse --xnse

python data_parser.py --wsj -sd equities_db/data__N -ld equities_db/lists/ --xhkex --xbse --xnse

python data_inserter.py (currently no commandline parsing. adjust db_prefix param)

Delete Raw (WSJ)

python data_parser.py --delete_raw_wsj -sd equities_db/data__N -ld equities_db/lists/ --xhkex --xbse --xnse

Daily Quote Data (currently only for HKEX, NSE)

python -i data_retriver.py -sd equities_db/data__quotes -ld equities_db/lists --yahoo_historical --xnse --xhkex

python -i daily_quote_inserter.py (currently no commandline parsing. adjust db_prefix and should work)

Verbose

python -i data_retriver.py -v 1 -sd equities_db/data__N -ld equities_db/lists --wsj --xhkex --xbse --xnse

python data_parser.py --hkex --wsj -sd equities_db/data__N -ld equities_db/lists/ -v 1 --delete_raw --xhkex --xbse --xnse

First time usage

Populate list of stocks from various exchanges. You might also want to look at test_pkg.py which is a cummulation of all the required pakages.

python test_lister.py

MongoDB Schema

I insert individual elements into flat mongodb structure. Note that the code might not be exactlty as described in document, but is more or less consistent.

Details of Schema : HERE

Study Resources

List of books, articles, other resources to learn on investing HERE

Software Licence

License ICO This software is being released under the Creative Commons Attribution-NonCommerial License.

Licensees may copy, distribute, display and perform the work and make derivative works and remixes based on it only if they give the author or licensor the credits (attribution) in the manner specified by these. Licensees may copy, distribute, display, and perform the work and make derivative works and remixes based on it only for non-commercial purposes. For commerial license please contact the author.

Author

Manohar Kuse [email protected]

sun-dance's People

Contributors

mpkuse avatar

Stargazers

Jon Chin avatar

Watchers

James Cloos avatar Jon Chin 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.