Skip to content

Stock Charts Electron.js desktop application using React and Immutable.js

License

Notifications You must be signed in to change notification settings

guptag/FinCharts

Repository files navigation

Stock Charts (Electron.js) desktop application using React and Immutable.js

screen shot 2015-07-03 at 6 41 24 pm

screen shot 2015-07-03 at 6 42 16 pm

Perf metrics

screen shot 2015-02-13 at 4 44 03 am

Architecture (draft)

  • Application leverages React's Flux architecture where the data/state changes flow in an uni-directional way making the application easy to reason about.
  • Describes the entire state of the application in an immutable persistent data structure (using immutable.js) similar to OM's style of global atom state. Any user action creates an action message which updates the app state creating a new state reference and triggers a re-render of the app. Due to the immutable nature of the state, React components can leverage "canComponentUpdate" just by comparing the state references. This speeds up the rendering (by skipping the render step when not needed) on top of virtual dom comparision provided by React.
  • Q promises for coordinating async tasks.
  • Downloaded ticker data will be stored on disk (for now).

Run

(from root)

  • nvm use (current v6.6.0)
  • npm install
  • gulp (builds and opens the app)
  • gulp dev (builds, adds file watchers and opens the app)
  • gulp package-app (packages app in target\package)

Build

  • gulp
  • stylus
  • nib
  • node-webkit-builder
  • watchers (dev)
  • auto reload (dev)

Chart Components

  • Axis, Labels
  • Y-axis (Prices, Percentages)
  • Scales
  • Normal
  • Log
  • Grid Lines
  • Main chart (line, area, candlestick, OHL, OHLC)
  • Volume bars
  • Crosshairs
  • Split view (compare ticker, RSI, ADX etc)
  • Multi chart layout (3H, 3V, 2H, 2V)
  • Animate chart
  • Listing of added modules on the chart (with remove option)

Settings

  • Timeframe (3m, 6m, 1y, 3y, 5y, all, custom)
  • Daily, Weekly, Monthly
  • Sync crosshairs
  • Compare tickers
  • Technical indicators
    • Moving Averages
    • RSI
    • Bollingar Bands
    • ADX
    • Avg Volume
    • Fib ranges
  • Themes (light/dark)

About

Stock Charts Electron.js desktop application using React and Immutable.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published