uniVocity / univocity-trader

open-source trading framework for java, supports backtesting and live trading with exchanges
577 stars 140 forks source link

Increase connection resilience #42

Closed wwadge closed 4 years ago

wwadge commented 4 years ago

Issue a client.ping() call on every keepAlive task. This seems to have finally quieted down spurious timeout exceptions during a buy event. Also retry for a few times before giving up on making a call.