Sorry, are you able to help me do this in Python?
This is my relevant code so far:
class IBapi(EWrapper, EClient):
def __init__(self):
EClient.__init__(self, self)
def tickPrice(self, reqId, tickType, price, attrib):
if tickType == 2 and reqId == 1: # I'd like to keep...