fill notifications and chart autoupdate
This commit is contained in:
@@ -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();}
|
||||
|
||||
Reference in New Issue
Block a user