STY: Uses if/else for setting sim_params in algorithm.

Instead of checking 'if' and then 'if not', uses an if/else.
This commit is contained in:
Eddie Hebert
2013-03-19 20:53:44 -04:00
parent 1909a0576f
commit 50e0334b3d
+1 -2
View File
@@ -197,8 +197,7 @@ class TradingAlgorithm(object):
if sim_params:
self.sim_params = sim_params
if not self.sim_params:
else:
self.sim_params = create_simulation_parameters(
start=start,
end=end,