backtest: remove debug log

Signed-off-by: c9s <yoanlin93@gmail.com>
This commit is contained in:
c9s 2022-06-27 16:40:04 +08:00
parent 8db6c5e278
commit f12e173254
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -647,7 +647,6 @@ const createLegendUpdater = (legend: HTMLDivElement, prefix: string) => {
const createOHLCLegendUpdater = (legend: HTMLDivElement, prefix: string) => { const createOHLCLegendUpdater = (legend: HTMLDivElement, prefix: string) => {
return (param: any, time : any) => { return (param: any, time : any) => {
console.log(param)
if (param) { if (param) {
legend.innerHTML = prefix + ` O: ${param.open} H: ${param.high} L: ${param.low} C: ${param.close} T: ${new Date(time * 1000)}`; legend.innerHTML = prefix + ` O: ${param.open} H: ${param.high} L: ${param.low} C: ${param.close} T: ${new Date(time * 1000)}`;
} else { } else {