darwinex / dwxconnect

Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!
BSD 3-Clause "New" or "Revised" License
166 stars 88 forks source link

Unsubscribet on data market #29

Closed AleksDominik closed 1 year ago

AleksDominik commented 1 year ago

What is the proper way to unsubscribe of the data market without totally stopping the python script?

piotryordanov commented 1 year ago

Try this:

        self.dwx.subscribe_symbols([""])
elvinex commented 1 year ago

Thanks for answering the question. I would probably even leave out the quotes(just an empty list):

self.dwx.subscribe_symbols([])