Giter Club home page Giter Club logo

assetchartdashboard's Introduction

Forked from Minimal boilerplate for a single-page app using MobX, React and TypeScript with TSX. Fork was used to create a display portal for multiple TradingView graphs displayed on the same browser window. Ideal for large screens (ie. flatscreen).

Usage

  • Install Node.js
  • cd client
  • npm install
  • cd ../server
  • npm install
  • npm start
  • navigate to [host]:3000

One page '/charts' shows the rendered TradingView charts. The other page '/config' allows for interactive layout configuration. It is intended that users have a browser open on their flatscreen navigated to '/charts' while they change layout from another computer navigated ot '/config'. On '/config', users can divide the screen up into rectangles either by horizontally or vertically splitting an existing rectangle, forming a rectangle tree. The leaves of the tree may render a TradingView chart, there is UI to specify the symbol to chart along with the indicator group to use, the candle width, and chart zoom. Indicator configurations and whole configurations (all layout options, divisions, etc.) can be saved persistently in the server's file for later use.

Architecture

The rectangle tree is modeled using a recursive structure of Division objects.

Just as the application has a charts and config page, there are /charts and /config folders under the main src folder. src/charts/DivisionChart is a component which renders itself recursively for rendering charts in the Division tree. The same can be said for src/config/DivisionConfig as an analogue for the config page.

Notes

For simplicity sake Webpack Hot Module Reloading is disabled. If you want to use HMR, see the Reactive2015 demo to see a valid setup.

assetchartdashboard's People

Contributors

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