ronaldlam / Autotrageur

Automated arbitrageur
2 stars 1 forks source link

Arbitrage: Create Wrapper for CCXT calls which are retry-able. (7 days) #97

Closed jaonewguy closed 6 years ago

jaonewguy commented 6 years ago

Every CCXT has the potential to return something like NetworkError which are safe to retry against. We should design a wrapper function of some sort to apply this to every ccxt call.

Update July 3, 2018: Initial brainstorming suggests we design a wrapper function which takes a list of functions, and retries them. Since scenarios like orderbook require more than the last call's retry (i.e. requires both orderbook calls to be retried)