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