Yi Wang

Results comments of Yi Wang

@Martin-Molinero It sounds like just a syntax sugar missing??? Are we able to workaround ourselves by having a ugly syntax?

It's always happening on my side as well, I feel like polling method doesn't handle the network failure exception properly (as it only catches ApiException and KeyBoardInterrupt exception) , at...

Hi I'm running into the same issue as well. Using Python3.6.4, redis==2.10.6, gevent==1.2.2, the issue only occurs in multithreads executions: The stacktrace: ``` File "/Users/ywang4/Dropbox/workspace/CryptoAnt/CryptoAnt.py", line 187, in get_local_best_trade_option return...

Hi @armehanh, I'm doing the exact same thing as you do when listening to several orderbook websockets: update the last update time & whenever the time drift becomes larger it...

Hi @armehanh, It's what I'm doing right now. I found the problem is it's restarting quite too often and I need to wait so many restart until I could trade!...

```python OrderBookState = namedtuple('OrderBookState', ['orderbook', 'timestamp', 'is_snapshot']) def _on_message(self, msg): if 'e' in msg and msg['e'] == 'error': LOGGER.error("Websocket error: " + str(msg['m'])) return usd_pair = msg['stream'].split('@')[0].upper() if usd_pair not...

I've experienced this issue a lot (specially in docker environment). I solved the problem by updating the system time either manually or using ntp service

Hi @Roibal NTP is a linux service you can google more about it. Basically I will run `ntpdate -s ntp.ubuntu.com` to sync the system time. No I saw the comment...

I'm not familiar with Windows, but it should have similar service though. Yes. I'm currently building one with it, have minor issues but overall it's good to me.