quantlab.execution.approximate.entry_prices#

quantlab.execution.approximate.entry_prices(fill, close)[source]#

[T, S]: the price a weight decided at the previous bar fills at: the fill price, else the previous close.

close is forward-filled; the first bar has no previous close.