Code Monkey home page Code Monkey logo

stocks-5's Introduction

GPW Stocks Watcher

Simple electron App to watch constantly of current price of Stocks on GPW.

Sample view:

Features

  • Data is taken from https://www.biznesradar.pl
  • Refresh is done each 100s, but it's configurable via ~/.stocks.json file. see: configuration
  • Stocks shown in App might be changed via ~/.stocks.json file. see: configuration
  • Every Stock is clickable - after clicking into Stock name new tab in your default browser will be open.
  • After every Refresh notification can be shown - this might be changed via ~/.stocks.json file. see: configuration
  • Stocks are sorted by rule - indexes first, regular stocks after - with alphanumeric sorting.
  • Additional information about AT signals(SMA15, RSI, STS, MACD) could be shown if atSignals flag in configuration is set to true. see: configuration

Run GPW Stocks Watcher

Prerequistists

Installed and configured:

  • npm and node

Install dependencies

npm install

Launch Stocks Watcher

npm start

Build Stocks Watcher as single file to run on different OSes

For mac:

npm run build-mac

For linux:

npm run build-linux

Configure GPW Stocks Watcher

There are 2 things which might be configurable in GPW Stocks Watcher:

  • refreshInterval - value describes how often Stocks Watcher will fetch data from server.
  • stocks - array of stock elements where each of them describes Stock which will be fetched and shown in application. ID value is taken from file api.json to set proper ID you need to open file api.json find proper Stock in which you are interested and copy field: oid as id in stocks.json. If you would like to show index as well as stocks - you need to add new field: "index": true to stock description.
  • notifications - flag value whether notification after every refresh will be shown.
  • atSignals - flag value whether additional information about AT analysis and signals should be shown(SMA15, RSI, STS, MACD) + summary based on analysis created by https://www.biznesradar.pl.

Example file with configuration:

{
  "refreshInterval": 100,
  "notifications": true,
  "atSignals": true,
  "stocks": [
    {
      "name": "Livechat",
      "id": "9537",
      "lastPrice": 0.0,
      "meta": {},
      "indicators": {}
    },
    {
      "name": "Ambra",
      "id": "221",
      "lastPrice": 0.0,
      "meta": {},
      "indicators": {}
    },
    {
      "name": "WIG20",
      "id": "792",
      "index": true,
      "lastPrice": 0.0,
      "meta": {},
      "indicators": {}
    }
}

stocks-5's People

Contributors

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