mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-08 11:16:58 +08:00
committed a set_trace...
This commit is contained in:
@@ -271,7 +271,6 @@ class PerformanceTracker():
|
|||||||
max_dd = -1 * self.trading_environment.max_drawdown
|
max_dd = -1 * self.trading_environment.max_drawdown
|
||||||
if returns < max_dd:
|
if returns < max_dd:
|
||||||
qutil.LOGGER.info(str(returns) + " broke through " + str(max_dd))
|
qutil.LOGGER.info(str(returns) + " broke through " + str(max_dd))
|
||||||
from dev.rdb import set_trace; set_trace()
|
|
||||||
qutil.LOGGER.info("Exceeded max drawdown.")
|
qutil.LOGGER.info("Exceeded max drawdown.")
|
||||||
# mark the perf period with max loss flag,
|
# mark the perf period with max loss flag,
|
||||||
# so it shows up in the update, but don't end the test
|
# so it shows up in the update, but don't end the test
|
||||||
|
|||||||
Reference in New Issue
Block a user