Yeah, round(res['balance'], int(config['price_accuracy'])) != 0 is the same as abs(res['balance']) >= 0.5 * 10**-int(config['price_accuracy'])
I used "10**-int(config['price_accuracy'])" cause it is done like that all around the code, but this might be re-factored (on all the code).
Yeah, res['balance' ], int(config[ 'price_ accuracy' ])) != 0 res['balance' ]) >= 0.5 * 10**-int( config[ 'price_ accuracy' ])
round(
is the same as
abs(
I used "10**-int( config[ 'price_ accuracy' ])" cause it is done like that all around the code, but this might be re-factored (on all the code).