Open danigr99727 opened 3 years ago
I believe this is due to the overflow of big_m value in the setting.
You can change the big_m value to maybe 1e+6 here https://github.com/hzjken/crypto-arbitrage-framework/blob/882049565d92bdab0c79da95ffe353594b6cc89c/crypto/amount_optimizer.py#L44
the bigM is just set as a random big number and used as an approximate infinite upper bound in the linear programming. changing from 1e+10 to 1e+6 should be fine.
Have a try.
Hi. Excelent work!
I managed to successfully run this project slightly modifying the original code to work only with binance and bittrex (removed kucoin). The code seems to work well most of the time and has been able to find some arbitrage opportunities.
However, every now and again, the code crashes with the following error:
Any idea what could be causing this?
Thank you!
OS: Win 10 Python: 3.7 x64 ccxt: 1.41.31 cplex: 20.1.0.0 docplex: 2.19.202 numpy: 1.19.5