mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
backtest: remove debug log
Signed-off-by: c9s <yoanlin93@gmail.com>
This commit is contained in:
parent
8db6c5e278
commit
f12e173254
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user