mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-10 11:50:32 +08:00
BLD: retry refactoring for issue #121, more testing required
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user