Блог

Как устроены торговые графики: крупные продукты по их открытой документации и задачи, с которыми мы столкнулись, создавая TradeCanvas.

Статьи написаны на английском.

Разработка8 мин чтения

Adding WebGL to a Canvas 2D chart: the GPU was not the slow part

What we measured while giving TradeCanvas a WebGL renderer. A blend per canvas every frame, a stencil buffer nobody used, 19,200 rectangles, float32 rounding and a browser that quietly drops the sixteenth context.

Разработка8 мин чтения

Drawing where there are no bars yet: Ichimoku's cloud

Ichimoku plots its cloud 26 bars ahead of the price, where a chart has no bars, no times and no values. For a while TradeCanvas drew it under the price instead. What it took to put it where it belongs.

Разработка5 мин чтения

Price tags that never cover each other

A trading chart puts a dozen tags on its price axis, and the interesting ones sit at the same price. How TradeCanvas lays them out so each stays readable, and the bugs that taught us where else they collide.