MAINT: Removes unneeded assignment in slippage.

`direction` is set on each iteration of the loop,
making the initial assignment unneeded.
This commit is contained in:
Eddie Hebert
2013-03-12 20:37:36 -04:00
parent 43fac333a1
commit ea11a43f68
-1
View File
@@ -103,7 +103,6 @@ class VolumeShareSlippage(object):
total_order = 0
simulated_amount = 0
simulated_impact = 0.0
direction = 1.0
for order in current_orders: