Skip to content

A visual, technical analysis and charting (Candlestick, OHLC, indicators) library built on D3.

License

Notifications You must be signed in to change notification settings

sf-wind/techan.js

 
 

Repository files navigation

TechanJS Build Status

Technical Chart Analysis

A visual, technical analysis and charting library built on D3. Build interactive financial charts for modern and mobile browsers.

Examples Gallery

TechanJS utilises D3's reusable chart API pattern and currently supports a range of static and interactive plots.

Static Plots

Interactive & Dynamic Plots

Algorithms

Getting Started

Manual Download

Download the latest release https://github.com/andredumas/techan.js/releases/latest

npm

npm install --save andredumas/techan.js

Bower Dependency

bower install --save andredumas/techan.js

Build From Source

Cloning and building the base project:

git clone https://github.com/andredumas/techan.js.git
cd techan.js
npm install

# Then to build
npm test
# OR
grunt

Build From Source With Examples

Cloning the project with all examples and usage:

git clone --recursive https://github.com/andredumas/techan.js.git
cd techan.js
npm install
npm start

Once running browse to http://localhost:8000/examples/ to see examples using the remote (development stable) techanjs and d3. Alternatively browse to http://localhost:8000/build/examples/ for the same examples using the locally built techanjs and bower obtained d3 but be aware that the examples are built to work with the latest, development stable version of techanjs located at http://techanjs.org/techan.min.js. Expect that HEAD of master will contain unstable features under development. They may not always be compatible with all the examples. I will attempt to keep the release tags functional together with correctly referenced examples.

Docker (Experimental)

Run techan.js in a consistent environment using Docker. This is experimental and for now is only used to assist debugging environment build issues.

NOTE: On build the project is copied into the docker image and as such any changes made will not be refreshed into a running container.

git clone --recursive https://github.com/andredumas/techan.js.git
cd techan.js
docker build -t techan.js .
docker run --rm -it -p 8000:8000 techan.js

As above, browse to http://localhost:8000/examples/ to see the examples.

About

A visual, technical analysis and charting (Candlestick, OHLC, indicators) library built on D3.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%