diff --git a/README.rst b/README.rst index 3425bac6..8b79b698 100644 --- a/README.rst +++ b/README.rst @@ -1 +1,3 @@ -All the documentation for `Catalyst `_ can be found in the `catalyst-docs wiki `_. \ No newline at end of file +All the documentation for `Catalyst `_ +can be found in the +`documentation website `_. \ No newline at end of file diff --git a/catalyst/examples/simple_loop.py b/catalyst/examples/simple_loop.py index 1e6c1bdc..8e6ce22e 100644 --- a/catalyst/examples/simple_loop.py +++ b/catalyst/examples/simple_loop.py @@ -50,4 +50,3 @@ run_algorithm( # algo_namespace='simple_loop', # base_currency='eth', # live_graph=False -# ) diff --git a/catalyst/finance/risk/cumulative.py b/catalyst/finance/risk/cumulative.py index 324547f5..82dd5c0b 100644 --- a/catalyst/finance/risk/cumulative.py +++ b/catalyst/finance/risk/cumulative.py @@ -45,8 +45,6 @@ log = logbook.Logger('Risk Cumulative', level=LOG_LEVEL) choose_treasury = functools.partial(choose_treasury, lambda *args: '10year', compound=False) -warnings.filterwarnings('error') - class RiskMetricsCumulative(object): """ @@ -146,6 +144,8 @@ class RiskMetricsCumulative(object): self.num_trading_days = 0 def update(self, dt, algorithm_returns, benchmark_returns, leverage): + warnings.filterwarnings('error') + # Keep track of latest dt for use in to_dict and other methods # that report current state. self.latest_dt = dt @@ -292,6 +292,8 @@ algorithm_returns ({algo_count}) in range {start} : {end} on {dt}" self.max_leverage = self.calculate_max_leverage() self.max_leverages[dt_loc] = self.max_leverage + warnings.resetwarnings() + def to_dict(self): """ Creates a dictionary representing the state of the risk report. diff --git a/catalyst/support/issue_57.py b/catalyst/support/issue_57.py index 862fc137..f7bfcd18 100644 --- a/catalyst/support/issue_57.py +++ b/catalyst/support/issue_57.py @@ -39,4 +39,8 @@ run_algorithm( exchange_name='bittrex', algo_namespace='issue_57', base_currency='btc' -) \ No newline at end of file +<<<<<<< HEAD +) +======= +) +>>>>>>> develop diff --git a/docs/source/releases.rst b/docs/source/releases.rst index 6945a1b7..b178ec58 100644 --- a/docs/source/releases.rst +++ b/docs/source/releases.rst @@ -2,6 +2,15 @@ Release Notes ============= +Version 0.3.8 +^^^^^^^^^^^^^ +**Release Date**: 2017-11-14 + +Bug Fixes +~~~~~~~~~ + +- Fixed a warning filter issue introduced with the latest release + Version 0.3.7 ^^^^^^^^^^^^^ **Release Date**: 2017-11-14