Bot (Source Code Files) - LabMazurokCom/Blockchain GitHub Wiki

main.py

It is the file used to start bot.

get_best function receives all arbitrage possibilities and chooses the one with the maximum value of profit/total_balance_in_quote_currency

get_json_from_file open file, tries to parse it as JSON file and returns dictionary or throws exception.

First bot gets the list of current exchanges and minimum allowed volumes for them


exchs_data.py


initialization.py


matching.py


trading.py


generate_pairs.py