setup_decimal_accuracy#

setup_decimal_accuracy()[source]#

Make sure we can handle Decimals up to 18 digits.

Note

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.