Closed stdusr closed 4 years ago
Hi @StnadardUsre , thank you for the question. This issue is not because of version, it should be the problem of not specifying your coin balance. The aim of the script is trying to be as practical as possible, so the arbitrage path will need to start from your real coin balance or your simulated coin balance.
To use simulated coin balance, you will need to specify the param simulated_bal in the initiation of pathOptimizer.
Like the following, to simulate your account coin balance. You can specify whatever amount and whatever coin type of your preference. simulated_bal = { 'kucoin': {'BTC': 10, 'ETH': 200, 'NEO': 1000, 'XRP': 30000, 'XLM': 80000}, 'binance': {'BTC': 10, 'ETH': 200, 'NEO': 1000, 'XRP': 30000, 'XLM': 80000}, 'bittrex': {'BTC': 10, 'ETH': 200, 'NEO': 1000, 'XRP': 30000, 'XLM': 80000}, }
Or to use your real coin balance, you will need to add in api key and secret key within the exchanges parameter, so that the script can connect to the account api and fetch your real account balance. If you do this, you don't need to specify simulated_bal parameter.
Thanks for clarifying things out!
Good day, would you be so kind to provide exact versions of Python and dependant modules which are enough to run the minimal example? Currently, when I try to run the following:
I get the following: