code: def calc_payout(multiplier, amount, old_price, price):
      return (price - old_price) * multiplier * amount
  
imports: from __future__ import division
  import logbook
  import numpy
  from collections import namedtuple
  from catalyst.assets import Future
  from six import itervalues, iteritems
  import catalyst.protocol
  from catalyst.constants import LOG_LEVEL
label_desc: Use image node_id 4 for calling a global function with example usage: calc_payout(multiplier, amount, old_price, price) and returns: unknown