STY: Long line break for pep8.

This commit is contained in:
Thomas Wiecki
2013-11-25 12:16:41 -05:00
parent 9cb9831c08
commit 579cb56663
+4 -2
View File
@@ -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