API documentation for tradeexecutor.utils.accuracy.setup_decimal_accuracy Python function.


Make sure we can handle Decimals up to 18 digits.


Currently we assume we can safely trade without worring about the decimal accuracy, as we have some special epsilon rules in place to work around the kinks. Increasing the decimal accuracy will slow down calculations.

Also increasing the decimal accuracy does not remedy us from issues.