wardbradt / peregrine

Detects arbitrage opportunities across 131 cryptocurrency exchanges in 50 countries
MIT License
1.18k stars 339 forks source link

Okex seems to be broken #54

Closed parthi2929 closed 4 years ago

parthi2929 commented 5 years ago

Hi

While trying to incldue okex in multiple exchanges, I am getting error that its unable to connect to okex.

Code:

from peregrinearb import create_weighted_multi_exchange_digraph, bellman_ford_multi, print_profit_opportunity_for_path_multi

graph = create_weighted_multi_exchange_digraph(['bitfinex', 'binance','okex','kucoin'], log=True)

graph, paths = bellman_ford_multi(graph, 'ETH', unique_paths=True)
for path in paths:
    print_profit_opportunity_for_path_multi(graph, path)

image

wardbradt commented 4 years ago

This is a problem with ccxt, not peregrine.