开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: IB-insync library - how to invoke the priceSizeTick() function


 

Just wondering why do you need this? What are you trying to do? Maybe I can help you if I know what you are trying to do.?

I think what you are trying to do has been removed. Maybe you can get what you need by this below??

contract = Stock(symbol='TSLA', exchange='SMART', currency='USD')
ib.qualifyContracts(contract)
ticker = ib.reqMktData(contract=contract,genericTickList="",snapshot=False,regulatorySnapshot=False)

def onUpdateEvent(ticker):
? ? print(ticker)

ticker.updateEvent+=onUpdateEvent

Join [email protected] to automatically receive all group messages.