Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #608 from quantopian/fix_deprs
Fix deprecations and remove Bayesian models
- Loading branch information
Showing
32 changed files
with
123 additions
and
15,411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,19 @@ | ||
import warnings | ||
|
||
from . import utils | ||
from . import timeseries | ||
from . import pos | ||
from . import txn | ||
from . import interesting_periods | ||
from . import capacity | ||
from . import round_trips | ||
from . import risk | ||
from . import perf_attrib | ||
|
||
from .tears import * # noqa | ||
from .plotting import * # noqa | ||
from ._version import get_versions | ||
|
||
try: | ||
from . import bayesian | ||
except ImportError: | ||
warnings.warn( | ||
"Could not import bayesian submodule due to missing pymc3 dependency.", | ||
ImportWarning) | ||
|
||
|
||
__version__ = get_versions()['version'] | ||
del get_versions | ||
|
||
__all__ = ['utils', 'timeseries', 'pos', 'txn', 'bayesian', | ||
__all__ = ['utils', 'timeseries', 'pos', 'txn', | ||
'interesting_periods', 'capacity', 'round_trips', | ||
'risk', 'perf_attrib'] | ||
'perf_attrib'] |
Oops, something went wrong.