Coder Social home page Coder Social logo

leonidmtertitski / leonidmtertitski.github.io Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 731 KB

Stock market historical price auto-correlation calculation and display as color-map. Uses pure JavaScript, CSS and Convex 2D

Home Page: https://LeonidMTertitski.github.io

License: BSD 2-Clause "Simplified" License

HTML 9.45% CSS 5.39% JavaScript 85.16%
stock market analisis price pure-javascript favicon-dynamic colormap canvas canvas2d sgraph

leonidmtertitski.github.io's Introduction

market-color-map

New: Option to use GPU (https://github.com/gpujs/gpu.js) for GPU autocorrelation acceleration (during optimization).

This SW creates and displays a colormap of the historical market prices autocorrelation-

  • Use WEB site https://leonidmtertitski.github.io/ or copy all files to a local folder and then open index.html with Google Chrome.

  • When you start it the first time from the local folder you need to click the "Choose a file..." button and select a local csv file with the format Open, High, Low and Close values (you can use provided TEST.csv file as example).

You can select your own csv file with historical Open, High, Low, Close data: use Yahoo (https://help.yahoo.com/kb/SLN2311.html) to download historical data.

SGraph calculates autocorrelation and potential profit (for one market share) by using autocorrelation, historical data and the following every day strategy:

  1. If you do not have shares, then buy when market opens.

  2. Set "sell limit" to: "Price at Open" x "Calculated by SGraph recommendation".

The X, Y color of colormap calculated on the basis of Time (X) and time difference between correlation intervals (Y). Red color - "good" correlation, Blue - "bad".

The following screen shot shows the autocorrelation colormap and the graphic of profit (calculated on the basis of the maximum correlation):

Correlation colormap

leonidmtertitski.github.io's People

Contributors

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