GithubHelp home page GithubHelp logo

siklik's Introduction

Sīklik

Sīklik is a small software designed to identify cyclic continuous positive variations over a large quantity of stock.

Current Version 1.0

Objective

The objective is to identify the subset of stocks that have had a large number of cyclic continuous positive variations over different steps, and % growth to guarantee diversification. A $1,000 target per asset can be build as portfolio. It will eventually be possible to build a model using these attributes in the future. The number of cycles and the growth rate will be a way to process the data in a higher dimension, and adding a layer of machine learning on top this summarized data should be a way to pseudo-predict the risk or at least weigh it.

Outline

In a nutshell, the sofware will perform the following tasks:

  • Call the api.iextrading.com against a static list of stocks.
  • Store date and close in memory.
  • For each stock, and for an increasing value step, compute the number of continuous positive variations cycles, and store the average increase as well changeOverCycle. (ex: for a step 30, if the number of cycles is 8, and the changeOverCycle value is 4.34%, then the stock has had a monthly continuous growth of 4.34% for 8 months)

How to run it?

// Install the virtual environment
python -m virtualenv env
./env/bin/pip install -r requirements.txt    

// Run Sīklik
./env/bin/python main.py '{"action":"update"}'
./env/bin/python main.py '{"action":"run"}'

// Run the tests
./env/bin/pytest

API endpoint sample

https://api.iextrading.com/1.0/stock/aapl/batch?types=quote,news,chart&range=1m&last=10

Versions

0.1

  • Virtualenv
  • API key/initial call
  • Module structure

1.0

  • Scale to 1K+ stocks
  • Workable output
  • Testing platform

1.1

  • Confidence score
  • Automated R

Further development

  • Predicting model
  • Automation
  • Python 3
  • 3D clustering

siklik's People

Contributors

dependabot[bot] avatar mrauer avatar

Watchers

 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.