Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<script src="pingpoliCandlestickChart.js"></script>
</head>
<body>
<canvas width="1280" height="720" id="testcanvas"></canvas>
<script>
function plot()
{
var xmlhttp = new XMLHttpRequest();
/*
A single-file JavaScript class to draw candlestick charts.
Use at your own risk.
https://twitter.com/pingpoli
https://pingpoli.de
*/
function pingpoliCandlestick( timestamp , open , close , high , low )
{
this.timestamp = parseInt(timestamp);
this.open = parseFloat(open);
@ashworth-zach
ashworth-zach / chart.js
Created November 17, 2019 17:57
candlestick chart with vanilla js
// let metaData = {
// information:"",
// symbol:"",
// lastRefresh:"",
// outputSize:"",
// timeZone:""
// }
let candleOhlcMappings = [];
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active October 28, 2025 00:04
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example