canvas-trading
Version:
Interactive HTML5 Canvas Trading Chart
25 lines (24 loc) • 600 B
JavaScript
export var candleColors = {
red: '#ff0037',
green: '#6bc800',
};
export var tradeColors = {
arrow: '#b5b5b5',
positiveArrow: '#6bc800',
negativeArrow: '#ff0037',
positiveRect: 'rgba(50, 255, 30, 0.35)',
negativeRect: ' rgba(255, 0, 55, 0.35)',
};
export var alligatorLinesSettings = {
jaw: 'rgba(25, 118, 210, 0.8)',
teeth: 'rgba(226, 56, 52, 0.8)',
lips: 'rgba(76, 175, 80, 0.8)',
lineWeight: 0.6,
};
export var canvasSettings = {
zoomStrength: 0.12,
shiftStrength: 0.15,
minCandlesShown: 30,
scaleForQuality: 2,
assetOpacity: 0.1,
};