Skip to content

Instantly share code, notes, and snippets.

@andredumas
andredumas / README.md
Last active March 20, 2018 01:25
TechanJS Feed

Simulating refreshing receiving a 'real-time' (constantly updating) data feed. Adheare's to D3's general update pattern. When the end of the data feed is reached, intra-day data updates will be simulated

@andredumas
andredumas / README.md
Last active September 28, 2016 11:53 — forked from fojt/data.csv
TechanJS Aroon

Aroon calculation and rendering demo.

@andredumas
andredumas / custom.accessor.js
Last active August 19, 2016 03:06
TechanJS Accessors Example
/**
* Demonstrating configuring a techanjs plot to accept and plot custom data types.
*/
// Either, update the default plot accessor
// All plots have default accessors. Here we are updating the default and redefining how
// to get close from the data
candlestick.accessor().close(function(d) {
return d.currentBid; // Where d is an item in your supplied array
});
@andredumas
andredumas / remote-post.html
Created October 30, 2014 13:10
Posting JSON Cross Domain
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<form action="http://remote.com/index.html"
method="post"
enctype="multipart/form-data"
@andredumas
andredumas / README.md
Last active September 26, 2018 16:32
TechanJS Ichimoku Cloud

Ichimoku Cloud calculation and rendering demo.

@andredumas
andredumas / README.md
Last active September 28, 2016 11:53
TechanJS Average True Range

Average True Range (ATR) calculation and rendering demo.

@andredumas
andredumas / README.md
Last active September 28, 2016 11:54
TechanJS ATR Trailing Stop

ATR Trailing Stop calculation and rendering demo.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:11
TechanJS Brush

Demonstrating brushing of a plot with a large dataset, testing performance on difference browsers and devices. Y scale will be adjusted as the chart is brushed.

@andredumas
andredumas / .gitignore
Last active December 19, 2018 12:30
TechanJS Server Side Generation
node_modules
@andredumas
andredumas / README.md
Last active September 28, 2016 12:13
TechanJS SVG Arrow

Demonstrates arrow rendering and how to achieve different orientations.