Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pythoncom
- from client import RTDClient
- if __name__ == '__main__':
- time = RTDClient('stellarcomserver.comapp.1')
- time.connect()
- time.register_topic('PRICE')
- while 1:
- pythoncom.PumpWaitingMessages()
- if time.update():
- print(time.get('PRICE'))
Advertisement
Add Comment
Please, Sign In to add comment