bbstrader 0.1.93__py3-none-any.whl → 0.2.0__py3-none-any.whl
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/__ini__.py +2 -2
- bbstrader/btengine/data.py +241 -40
- bbstrader/btengine/strategy.py +12 -8
- bbstrader/config.py +4 -0
- bbstrader/core/__init__.py +0 -0
- bbstrader/core/data.py +23 -0
- bbstrader/core/utils.py +0 -0
- bbstrader/ibkr/__init__.py +0 -0
- bbstrader/metatrader/account.py +66 -12
- bbstrader/metatrader/rates.py +24 -20
- bbstrader/metatrader/risk.py +6 -3
- bbstrader/metatrader/trade.py +31 -13
- bbstrader/models/__init__.py +1 -1
- bbstrader/models/factors.py +275 -0
- bbstrader/models/ml.py +1026 -0
- bbstrader/models/optimization.py +17 -16
- bbstrader/models/{portfolios.py → portfolio.py} +20 -11
- bbstrader/models/risk.py +10 -2
- bbstrader/trading/execution.py +67 -35
- bbstrader/trading/strategies.py +5 -5
- bbstrader/tseries.py +412 -63
- {bbstrader-0.1.93.dist-info → bbstrader-0.2.0.dist-info}/METADATA +9 -3
- bbstrader-0.2.0.dist-info/RECORD +36 -0
- {bbstrader-0.1.93.dist-info → bbstrader-0.2.0.dist-info}/WHEEL +1 -1
- bbstrader-0.1.93.dist-info/RECORD +0 -32
- {bbstrader-0.1.93.dist-info → bbstrader-0.2.0.dist-info}/LICENSE +0 -0
- {bbstrader-0.1.93.dist-info → bbstrader-0.2.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bbstrader
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
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/
|
|
@@ -23,7 +23,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
Requires-Dist: pandas
|
|
26
|
-
Requires-Dist: numpy
|
|
26
|
+
Requires-Dist: numpy==1.26.4
|
|
27
27
|
Requires-Dist: yfinance
|
|
28
28
|
Requires-Dist: scipy
|
|
29
29
|
Requires-Dist: hmmlearn
|
|
@@ -47,8 +47,14 @@ Requires-Dist: scikit-learn
|
|
|
47
47
|
Requires-Dist: notify-py
|
|
48
48
|
Requires-Dist: python-telegram-bot
|
|
49
49
|
Requires-Dist: pyportfolioopt
|
|
50
|
+
Requires-Dist: eodhd
|
|
51
|
+
Requires-Dist: financetoolkit
|
|
52
|
+
Requires-Dist: lightgbm
|
|
53
|
+
Requires-Dist: alphalens-reloaded
|
|
50
54
|
Provides-Extra: mt5
|
|
51
|
-
Requires-Dist: MetaTrader5
|
|
55
|
+
Requires-Dist: MetaTrader5; extra == "mt5"
|
|
56
|
+
Provides-Extra: ta
|
|
57
|
+
Requires-Dist: ta-lib; extra == "ta"
|
|
52
58
|
|
|
53
59
|
# Simplified Investment & Trading Toolkit
|
|
54
60
|

|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
bbstrader/__ini__.py,sha256=LV8eBeUebDf3-tRkOh761hRlEZWp4vXebT-archG1XE,481
|
|
2
|
+
bbstrader/config.py,sha256=a9KCINIbdm8rgybS84zxJmUznNF9gmEfY6sfRKf_GN4,3774
|
|
3
|
+
bbstrader/tseries.py,sha256=4F3XiNz_27MJvgYRQWJbopFzOI0LUnW3eq6R-uMOIfk,69942
|
|
4
|
+
bbstrader/btengine/__init__.py,sha256=OaXZTjgDwqWrjPq-CNE4kJkmriKXt9t5pIghW1MDTeo,2911
|
|
5
|
+
bbstrader/btengine/backtest.py,sha256=A3S84jpGTE_zhguOEGoGu6H_4ws4Iq5sf0n7TZaUYfQ,14615
|
|
6
|
+
bbstrader/btengine/data.py,sha256=iNd2_V_gAblzbgMP5-prT17nZ-WBq6uoX3vK8zsI5LM,26798
|
|
7
|
+
bbstrader/btengine/event.py,sha256=zF_ST4tcjV5uJJVV1IbRXQgCLbca2R2fmE7A2MaIno4,8748
|
|
8
|
+
bbstrader/btengine/execution.py,sha256=Fs6Hk64DxEOEVzAjsQ3CIVvYifWLLgkDjOixSh_Ghsc,10282
|
|
9
|
+
bbstrader/btengine/performance.py,sha256=WTYzB50lUD5aShPIEebbQPlaC2NVW6VfxdgGHjcIIAw,10707
|
|
10
|
+
bbstrader/btengine/portfolio.py,sha256=wCRmGxaZvihUPlXIlZp9cQo9fqPP-Tk5oALjknMfnos,16055
|
|
11
|
+
bbstrader/btengine/strategy.py,sha256=PL890aPkXevWnhaobJd78LDgTODZ8mHQOnGBk0bLbWI,30473
|
|
12
|
+
bbstrader/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
bbstrader/core/data.py,sha256=jLJlj3kkprCcDAjN3ij0pThNqkxOhhnuer_VyFLvYfk,488
|
|
14
|
+
bbstrader/core/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
bbstrader/ibkr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
bbstrader/metatrader/__init__.py,sha256=OLVOB_EieEb1P72I8V4Vem8kQWJ__D_L3c_wfwqY-9k,211
|
|
17
|
+
bbstrader/metatrader/account.py,sha256=tkcAEgFIYZwtFRQc07lXQQFWRqglzR4H4LjX2BDRvj8,56371
|
|
18
|
+
bbstrader/metatrader/rates.py,sha256=CY6CuyXKo68h4ww7UV2P3xH8tHyzvhCNihCsaYS74is,21001
|
|
19
|
+
bbstrader/metatrader/risk.py,sha256=uLarOF-g9-RBdJuKSmIfT5WrPn47bmrvMxP21pQg4xo,26793
|
|
20
|
+
bbstrader/metatrader/trade.py,sha256=ugUr39FnVmqpj4f0FzO10MudWGDL71qT1_T9j0Sx_Ns,71012
|
|
21
|
+
bbstrader/metatrader/utils.py,sha256=BTaZun4DKWpCxBBzY0SLQqqz7n_7F_R1F59APfyaa3E,17666
|
|
22
|
+
bbstrader/models/__init__.py,sha256=uqV7O-7lZzvw1fHL1_LM3zYtHp_ExsrjQt3n6zmG_MU,436
|
|
23
|
+
bbstrader/models/factors.py,sha256=3xF3LPgRR8pTLi2wD6k9F-4F9GlZJ4_otAvSlYycGvg,12915
|
|
24
|
+
bbstrader/models/ml.py,sha256=T8apBfRESBnbskIuR16YfZXW9rgdpN5_CL9yr5r8MLw,47262
|
|
25
|
+
bbstrader/models/optimization.py,sha256=VbbjdHP4gcmCTPYp74L0aftQumGAIru1keXxheDSiF4,6685
|
|
26
|
+
bbstrader/models/portfolio.py,sha256=KA9X0xbwHG3rUaIihqFnepMs0iM2MHsJiko867jpB3c,8556
|
|
27
|
+
bbstrader/models/risk.py,sha256=8WcsBp3wdtFEq_ERX9_q9oD34--ZKgueT2hpA7aTOSg,15550
|
|
28
|
+
bbstrader/trading/__init__.py,sha256=3CCzV5rQbH8NthjDJhD0_2FABvpiCmkeC9cVeoW7bi4,438
|
|
29
|
+
bbstrader/trading/execution.py,sha256=-nUk9BhbsTjCotBOWKZHnfG1IA6UuvDFnCGNF3WR8Z8,27721
|
|
30
|
+
bbstrader/trading/scripts.py,sha256=rQmnG_4F_MuUEc96RXpAQT4kXrC-FkscsgHKgDAR_-Y,1902
|
|
31
|
+
bbstrader/trading/strategies.py,sha256=QAdK28Ff013bWxgoX2A8uPJYMYLTO5-vU7mDhF_UPF8,36468
|
|
32
|
+
bbstrader-0.2.0.dist-info/LICENSE,sha256=1EudjwwP2oTJy8Vh0e-Kzv8VZZU95y-t6c3DYhR51uc,1115
|
|
33
|
+
bbstrader-0.2.0.dist-info/METADATA,sha256=PdRDfLx_MrgHwsyWgfu3HaSAlDqExiIT5OS0iSK9qnk,10100
|
|
34
|
+
bbstrader-0.2.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
35
|
+
bbstrader-0.2.0.dist-info/top_level.txt,sha256=Wwj322jZmxGZ6gD_TdaPiPLjED5ReObm5omerwlmZIg,10
|
|
36
|
+
bbstrader-0.2.0.dist-info/RECORD,,
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
bbstrader/__ini__.py,sha256=rCTy-3g2RlDAgIZ7cSET9-I74MwuCXpp-xGVTFS8NNc,482
|
|
2
|
-
bbstrader/config.py,sha256=_AD_Cd-w5zyabm1CBPNGhzcZuSjThB7jyzTcjbrIlUQ,3618
|
|
3
|
-
bbstrader/tseries.py,sha256=qJKLxHnPOjB7dXon-ITK7vU1fAuvl8evzET6lSSnijQ,53572
|
|
4
|
-
bbstrader/btengine/__init__.py,sha256=OaXZTjgDwqWrjPq-CNE4kJkmriKXt9t5pIghW1MDTeo,2911
|
|
5
|
-
bbstrader/btengine/backtest.py,sha256=A3S84jpGTE_zhguOEGoGu6H_4ws4Iq5sf0n7TZaUYfQ,14615
|
|
6
|
-
bbstrader/btengine/data.py,sha256=A6jUqDnjl-w1OSzbLLPfS1WfJ8Se25AqigJs9pbe0wc,17966
|
|
7
|
-
bbstrader/btengine/event.py,sha256=zF_ST4tcjV5uJJVV1IbRXQgCLbca2R2fmE7A2MaIno4,8748
|
|
8
|
-
bbstrader/btengine/execution.py,sha256=Fs6Hk64DxEOEVzAjsQ3CIVvYifWLLgkDjOixSh_Ghsc,10282
|
|
9
|
-
bbstrader/btengine/performance.py,sha256=WTYzB50lUD5aShPIEebbQPlaC2NVW6VfxdgGHjcIIAw,10707
|
|
10
|
-
bbstrader/btengine/portfolio.py,sha256=wCRmGxaZvihUPlXIlZp9cQo9fqPP-Tk5oALjknMfnos,16055
|
|
11
|
-
bbstrader/btengine/strategy.py,sha256=6IN1KQ-a-IQgbCEOflKTtGh-ouztwsVjik6TuMg6CY0,30210
|
|
12
|
-
bbstrader/metatrader/__init__.py,sha256=OLVOB_EieEb1P72I8V4Vem8kQWJ__D_L3c_wfwqY-9k,211
|
|
13
|
-
bbstrader/metatrader/account.py,sha256=3KeGLZ397kctf3EW_y8n9ENswAMU0tBQJuX_L0VXMrI,53909
|
|
14
|
-
bbstrader/metatrader/rates.py,sha256=1dJHbVqoT41m3EhF0wRe7dSGe5Kf3o5Maskkw-i5qsQ,20810
|
|
15
|
-
bbstrader/metatrader/risk.py,sha256=8NnH1kRvWd_JLieCpVty6hHKz2awrIQV2c8oykxELh0,26596
|
|
16
|
-
bbstrader/metatrader/trade.py,sha256=uigDah9n_rVJiwSslTAArLP94sde1dxYyGyRVIPPgb4,70210
|
|
17
|
-
bbstrader/metatrader/utils.py,sha256=BTaZun4DKWpCxBBzY0SLQqqz7n_7F_R1F59APfyaa3E,17666
|
|
18
|
-
bbstrader/models/__init__.py,sha256=mpxtXYEcE8hwNDbzJf8MRqnBIa2T1voraEk0U0ri53c,437
|
|
19
|
-
bbstrader/models/factors.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
-
bbstrader/models/ml.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
-
bbstrader/models/optimization.py,sha256=JlMsda9L-ADSgw4YPE4o3CsL1Yyxfeahf9kUb-EZqqM,6699
|
|
22
|
-
bbstrader/models/portfolios.py,sha256=dFTZ3maRVY_O3UOIoRlLCbAow3SiLTQYt1q5DNaRUxE,8223
|
|
23
|
-
bbstrader/models/risk.py,sha256=Pm_WoGI-vtPW75fwo_7ptF2Br-xQYBwrAAOIgqDQmy8,15120
|
|
24
|
-
bbstrader/trading/__init__.py,sha256=3CCzV5rQbH8NthjDJhD0_2FABvpiCmkeC9cVeoW7bi4,438
|
|
25
|
-
bbstrader/trading/execution.py,sha256=p_SKUziBBDuGiOmuxBsgBvxWu5nDVGZmtQBKw8OoZgE,25967
|
|
26
|
-
bbstrader/trading/scripts.py,sha256=rQmnG_4F_MuUEc96RXpAQT4kXrC-FkscsgHKgDAR_-Y,1902
|
|
27
|
-
bbstrader/trading/strategies.py,sha256=ztKNL4Nmlb-4N8_cq0OJyn3E2cRcdKdKu3FeTbZrHsU,36402
|
|
28
|
-
bbstrader-0.1.93.dist-info/LICENSE,sha256=1EudjwwP2oTJy8Vh0e-Kzv8VZZU95y-t6c3DYhR51uc,1115
|
|
29
|
-
bbstrader-0.1.93.dist-info/METADATA,sha256=XByGtsQ885U8oZpZOR9DPhQjdfi5eHbScJyGlcbbjxM,9932
|
|
30
|
-
bbstrader-0.1.93.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
31
|
-
bbstrader-0.1.93.dist-info/top_level.txt,sha256=Wwj322jZmxGZ6gD_TdaPiPLjED5ReObm5omerwlmZIg,10
|
|
32
|
-
bbstrader-0.1.93.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|