def newOrderEvent(self, Trade): log.info("main.py:newOrderEvent: we had with the following trade") orders.createTradesCSVFromEvent(self.ib, Trade, eventType = "New")
def execDetailsEvent(self, Trade, Fill): log.info("main.py:execDetailsEvent: we had with the following trade") orders.createTradesCSVFromEvent(self.ib, Trade, eventType = "Update")
def orderStatusEvent(self, Trade): log.info("main.py:orderStatusEvent: we had with the following trade") orders.createTradesCSVFromEvent(self.ib, Trade, eventType = "Update")