StockFlux is a desktop application developed by Scott Logic that uses the OpenFin HTML5 container.
Here are a few things to try:
- Add and remove stocks via the search pane
- Drag tiles within the favourites pane to re-order them
- Drag a tile outside of the favourites pane to create a new application window
- Re-open recent windows via the icon at the bottom right of the favourites pane
- Use the icon on the top right of the title bar to toggle 'collapsed' mode
In order to install the application, download StockFlux installer zipfile, unzip and run the executable. If you haven't already installed an OpenFin application, this will install the required runtime. It'll also add shortcuts to StockFlux to your desktop and start menu.
This is an 'evergreen' application, each time it launches the application code is downloaded (from GitHub pages), ensuring that it is always up-to-date.
The application is built using AngularJS and ES2016, transpiled via Babel. The charts are rendered using d3fc, a Scott Logic open source project which provides a number of components that allow the creation of bespoke interactive charts. The bulk of the charting code is adapted from BitFlux, which showcases the capabilities of d3fc.
npm, the package manager for Node.js, is used to manage the project's dependencies. Grunt, a JavaScript task runner, is used to test and build the project.
- Download or clone this repository locally
- Ensure Node.js, which includes npm, is installed
- Ensure Grunt is installed:
npm install -g grunt-cli
- Navigate to the root of your local copy of this project and install the dependencies:
npm install
To run in an OpenFin shell run the serve grunt task:
grunt serve
The project is also accessible at http://localhost:5000
To release, run the Grunt task: grunt release for a major release, or grunt bump:minor
for a minor. This updates all the version references to a new version. Then, submit a PR
with this new version in to dev, and then merge it to master. Finally, run
grunt deploy:upstream or grunt deploy, depending on how your remotes are set up.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.