remove unused imports
import log_exception from the correct place and enable
imports and formatting.
remove dead comment and formatting
use decimals across the board for storing stock