quantlab.execution.approximate.price_relative#

quantlab.execution.approximate.price_relative(price, entry)[source]#

price / entry, 1.0 where it is not finite (a price missing on either side).