From 579cb56663ad4ae53b4e2d610b9532a30938014b Mon Sep 17 00:00:00 2001 From: Thomas Wiecki Date: Mon, 25 Nov 2013 12:16:41 -0500 Subject: [PATCH] STY: Long line break for pep8. --- zipline/algorithm.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zipline/algorithm.py b/zipline/algorithm.py index 653f2a66..7d19fc3f 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -484,7 +484,8 @@ class TradingAlgorithm(object): else: return self.order(sid, target, limit_price, stop_price) - def order_target_value(self, sid, target, limit_price=None, stop_price=None): + def order_target_value(self, sid, target, limit_price=None, + stop_price=None): """ Place an order to adjust a position to a target value. If the position doesn't already exist, this is equivalent to placing a new @@ -501,7 +502,8 @@ class TradingAlgorithm(object): else: return self.order_value(sid, target, limit_price, stop_price) - def order_target_percent(self, sid, target, limit_price=None, stop_price=None): + def order_target_percent(self, sid, target, limit_price=None, + stop_price=None): """ Place an order to adjust a position to a target percent of the current portfolio value. If the position doesn't already exist, this is