def __init__(self, manager: BarManager, am: ArrayManager): """""" ScatterPlotItem.__init__(self) # ExChartItem.__init__(self,manager) # super(TradeItem,self).__init__(manager, am) super(ExChartItem, self).__init__(manager, am) self.blue_pen: QtGui.QPen = pg.mkPen(color=(100, 100, 255), width=2) self.trades: Dict[int, Dict[str, TradeData]] = {} # {ix:{tradeid:trade}}
def __init__(self, manager: BarManager, am: ArrayManager): """""" ScatterPlotItem.__init__(self) super(ExChartItem, self).__init__(manager, am) self.orders: Dict[int, Dict[str, Order]] = {} # {ix:{orderid:order}}
def __init__(self, manager: BarManager): """""" ScatterPlotItem.__init__(self) super(CandleItem,self).__init__(manager) self.orders : Dict[int,Dict[str,OrderData]] = {} # {ix:{orderid:order}}