trtr

Trading simulator and techanalysis gym
git clone https://git.ea.contact/trtr
Log | Files | Refs | README

commit 1cafc196da4d8f376cc86e95018574a960e2bff6
parent 92159d6172d036cb529a3fd3048390c2ddc8fff7
Author: ea <ea@ea.contact>
Date:   Tue, 26 May 2026 12:36:22 +0000

Remove arrow lables in gym

Diffstat:
Mfrontend/index.html | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/frontend/index.html b/frontend/index.html @@ -1472,15 +1472,6 @@ ctx.fill(); ctx.globalAlpha = 1; - // Labels - const dirLabel = direction === 'long' ? 'LONG' : 'SHORT'; - ctx.fillStyle = col; - ctx.font = `bold 11px "Segoe UI", system-ui, sans-serif`; - ctx.fillText(dirLabel, tx + 12, ey - 4); - ctx.fillStyle = 'rgba(200,200,200,0.7)'; - ctx.font = '10px "Segoe UI", system-ui, sans-serif'; - ctx.fillText('$' + fmt(entryPrice), tx + 12, ey + 10); - // Result badge on closed predictions if (isClosed) { const resultCol = profit >= 0 ? '#26a69a' : '#ef5350';