mkt.databases.utils.try_except_substraction

mkt.databases.utils.try_except_substraction(a, b)[source]

Subtract two values with exception handling.

Parameters:
  • a (Any) – First value to subtract from

  • b (Any) – Second value to subtract

Returns:

Returns difference if subtraction successful, otherwise returns None

Return type:

Any