fill notifications and chart autoupdate

This commit is contained in:
tim
2024-10-29 16:30:05 -04:00
parent b9ca6ab2cc
commit 5d3d1d6f5a
5 changed files with 67 additions and 6 deletions

View File

@@ -13,14 +13,12 @@ export class OrderShapes {
}
update(orderStatus) {
// todo delete old shapes
for (const old of this.trancheShapes)
old.delete()
this.status = orderStatus
this.trancheShapes = [];
for (let i = 0; i < orderStatus.trancheStatus.length; i++)
this.trancheShapes.push(new TrancheShapes(this.symbol, this.status, i));
// todo TV shape group
}
show() {for (const t of this.trancheShapes) t.show();}