hzjken / crypto-arbitrage-framework

A cryptocurrency arbitrage framework implemented with ccxt and cplex. It can be used to monitor multiple exchanges, find a multi-lateral arbitrage path which maximizes rate of return, calculate the optimal trading amount for each pair in the path given flexible constraints, and execute trades with multi-threading implemenation.
552 stars 172 forks source link

exchanges.py Formatting Issues #16

Closed hubuser3976 closed 3 years ago

hubuser3976 commented 3 years ago

Hi,

I have tried to edit/add exchanges.py to include such attributes as "items" for "exchanges", but I get errors like the following:-

file: path_optimizer.py", line 145, in init_currency_info for exc_name, exchange in self.exchanges.items(): AttributeError: module 'exchanges' has no attribute 'items'

How should exchanges.py be formatted to include the correct information? What should be listed in exchange.items ?

Any assistance would be appreciated :)

hubuser3976 commented 3 years ago

Sorted