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