bbstrader 0.2.8__tar.gz → 0.2.91__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bbstrader might be problematic. Click here for more details.
- {bbstrader-0.2.8/bbstrader.egg-info → bbstrader-0.2.91}/PKG-INFO +4 -2
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/__ini__.py +3 -2
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/compat.py +0 -4
- {bbstrader-0.2.8 → bbstrader-0.2.91/bbstrader.egg-info}/PKG-INFO +4 -2
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader.egg-info/requires.txt +2 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/requirements.txt +0 -1
- {bbstrader-0.2.8 → bbstrader-0.2.91}/setup.py +2 -5
- {bbstrader-0.2.8 → bbstrader-0.2.91}/LICENSE +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/MANIFEST.in +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/README.md +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/__init__.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/backtest.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/data.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/event.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/execution.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/performance.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/portfolio.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/btengine/strategy.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/config.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/core/__init__.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/core/data.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/core/utils.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/ibkr/__init__.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/ibkr/utils.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/metatrader/__init__.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/metatrader/account.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/metatrader/rates.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/metatrader/risk.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/metatrader/trade.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/metatrader/utils.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/models/__init__.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/models/factors.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/models/ml.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/models/optimization.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/models/portfolio.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/models/risk.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/trading/__init__.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/trading/execution.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/trading/scripts.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/trading/strategies.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader/tseries.py +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader.egg-info/SOURCES.txt +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader.egg-info/dependency_links.txt +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/bbstrader.egg-info/top_level.txt +0 -0
- {bbstrader-0.2.8 → bbstrader-0.2.91}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: bbstrader
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.91
|
|
4
4
|
Summary: Simplified Investment & Trading Toolkit
|
|
5
5
|
Home-page: https://github.com/bbalouki/bbstrader
|
|
6
6
|
Download-URL: https://pypi.org/project/bbstrader/
|
|
@@ -55,7 +55,8 @@ Requires-Dist: financetoolkit
|
|
|
55
55
|
Requires-Dist: tables
|
|
56
56
|
Requires-Dist: lightgbm
|
|
57
57
|
Requires-Dist: alphalens-reloaded
|
|
58
|
-
|
|
58
|
+
Provides-Extra: mt5
|
|
59
|
+
Requires-Dist: MetaTrader5; extra == "mt5"
|
|
59
60
|
Dynamic: author
|
|
60
61
|
Dynamic: author-email
|
|
61
62
|
Dynamic: classifier
|
|
@@ -67,6 +68,7 @@ Dynamic: keywords
|
|
|
67
68
|
Dynamic: license
|
|
68
69
|
Dynamic: maintainer
|
|
69
70
|
Dynamic: project-url
|
|
71
|
+
Dynamic: provides-extra
|
|
70
72
|
Dynamic: requires-dist
|
|
71
73
|
Dynamic: summary
|
|
72
74
|
|
|
@@ -10,10 +10,11 @@ __email__ = "bertin@bbstrader.com"
|
|
|
10
10
|
__license__ = "MIT"
|
|
11
11
|
__version__ = "0.2.0"
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
from bbstrader import compat # noqa: F401
|
|
14
|
+
from bbstrader import core # noqa: F401
|
|
14
15
|
from bbstrader import btengine # noqa: F401
|
|
15
16
|
from bbstrader import metatrader # noqa: F401
|
|
16
17
|
from bbstrader import models # noqa: F401
|
|
17
18
|
from bbstrader import trading # noqa: F401
|
|
18
19
|
from bbstrader import tseries # noqa: F401
|
|
19
|
-
from .config import config_logger # noqa: F401
|
|
20
|
+
from bbstrader.config import config_logger # noqa: F401
|
|
@@ -15,9 +15,5 @@ def setup_mock_metatrader():
|
|
|
15
15
|
MOCK_MODULES = ["MetaTrader5"]
|
|
16
16
|
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
|
17
17
|
|
|
18
|
-
print(
|
|
19
|
-
"Warning: MetaTrader5 is not available on Linux. A mock version is being used."
|
|
20
|
-
)
|
|
21
|
-
|
|
22
18
|
|
|
23
19
|
setup_mock_metatrader()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: bbstrader
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.91
|
|
4
4
|
Summary: Simplified Investment & Trading Toolkit
|
|
5
5
|
Home-page: https://github.com/bbalouki/bbstrader
|
|
6
6
|
Download-URL: https://pypi.org/project/bbstrader/
|
|
@@ -55,7 +55,8 @@ Requires-Dist: financetoolkit
|
|
|
55
55
|
Requires-Dist: tables
|
|
56
56
|
Requires-Dist: lightgbm
|
|
57
57
|
Requires-Dist: alphalens-reloaded
|
|
58
|
-
|
|
58
|
+
Provides-Extra: mt5
|
|
59
|
+
Requires-Dist: MetaTrader5; extra == "mt5"
|
|
59
60
|
Dynamic: author
|
|
60
61
|
Dynamic: author-email
|
|
61
62
|
Dynamic: classifier
|
|
@@ -67,6 +68,7 @@ Dynamic: keywords
|
|
|
67
68
|
Dynamic: license
|
|
68
69
|
Dynamic: maintainer
|
|
69
70
|
Dynamic: project-url
|
|
71
|
+
Dynamic: provides-extra
|
|
70
72
|
Dynamic: requires-dist
|
|
71
73
|
Dynamic: summary
|
|
72
74
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import io
|
|
2
2
|
import sys
|
|
3
3
|
from os import path
|
|
4
|
-
import platform
|
|
5
4
|
|
|
6
5
|
from setuptools import setup
|
|
7
6
|
|
|
@@ -17,10 +16,7 @@ with io.open(path.join(here, "README.md"), encoding="utf-8") as f:
|
|
|
17
16
|
with io.open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
|
|
18
17
|
REQUIREMENTS = [line.rstrip() for line in f]
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
REQUIREMENTS.remove("MetaTrader5")
|
|
22
|
-
|
|
23
|
-
VERSION = "0.2.08"
|
|
19
|
+
VERSION = "0.2.091"
|
|
24
20
|
DESCRIPTION = "Simplified Investment & Trading Toolkit"
|
|
25
21
|
|
|
26
22
|
KEYWORDS = [
|
|
@@ -94,6 +90,7 @@ setup(
|
|
|
94
90
|
packages=INLCUDE,
|
|
95
91
|
install_requires=REQUIREMENTS,
|
|
96
92
|
extras_require={
|
|
93
|
+
"MT5": ["MetaTrader5"],
|
|
97
94
|
# 'zipline': ['zipline'],
|
|
98
95
|
# 'cerebro': ['backtrader'],
|
|
99
96
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|