BLD: retry refactoring for issue #121, more testing required

This commit is contained in:
Frederic Fortier
2017-12-29 18:09:33 -05:00
parent b1f49d3c8d
commit 2e8dd3840b
5 changed files with 98 additions and 135 deletions
-4
View File
@@ -37,10 +37,6 @@ def initialize(context):
context.PROFIT_TARGET = 0.1
context.SLIPPAGE_ALLOWED = 0.05
context.retry_check_open_orders = 10
context.retry_update_portfolio = 10
context.retry_order = 5
context.swallow_errors = True
context.errors = []
@@ -24,10 +24,6 @@ def initialize(context):
context.PROFIT_TARGET = 0.1
context.SLIPPAGE_ALLOWED = 0.02
context.retry_check_open_orders = 10
context.retry_update_portfolio = 10
context.retry_order = 5
context.errors = []
pass