Asynchronous data through Bloomberg's new data API (COM v3) with Python?
Does anyone know how to get asynchronous data through Bloomberg's new data API (COM v3) with Python? I found this code below on wilmott.com and it works just fine, but it's for the old API version. Does anyone know the corresponding code for the new version? from win32com.client import DispatchWithEvents from pythoncom import PumpWaitingMessages, Empty, Missing from time import time class BBCommEvent: def OnData(self, Security, cookie, Fields, Data, Status): print 'OnData: ' + `Data` def OnStatus(self, Status, SubStatus, StatusDescription): print 'OnStatus' class TestAsync: def __init__(self):