bbstrader 0.1.94__py3-none-any.whl → 0.2.1__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 +9 -9
- bbstrader/btengine/__init__.py +7 -7
- bbstrader/btengine/backtest.py +30 -26
- bbstrader/btengine/data.py +100 -79
- bbstrader/btengine/event.py +2 -1
- bbstrader/btengine/execution.py +18 -16
- bbstrader/btengine/performance.py +11 -7
- bbstrader/btengine/portfolio.py +35 -36
- bbstrader/btengine/strategy.py +119 -94
- bbstrader/config.py +14 -8
- bbstrader/core/__init__.py +0 -0
- bbstrader/core/data.py +22 -0
- bbstrader/core/utils.py +57 -0
- bbstrader/ibkr/__init__.py +0 -0
- bbstrader/ibkr/utils.py +0 -0
- bbstrader/metatrader/__init__.py +5 -5
- bbstrader/metatrader/account.py +117 -121
- bbstrader/metatrader/rates.py +83 -80
- bbstrader/metatrader/risk.py +23 -37
- bbstrader/metatrader/trade.py +169 -140
- bbstrader/metatrader/utils.py +3 -3
- bbstrader/models/__init__.py +5 -5
- bbstrader/models/factors.py +280 -0
- bbstrader/models/ml.py +1092 -0
- bbstrader/models/optimization.py +31 -28
- bbstrader/models/{portfolios.py → portfolio.py} +64 -46
- bbstrader/models/risk.py +15 -9
- bbstrader/trading/__init__.py +2 -2
- bbstrader/trading/execution.py +252 -164
- bbstrader/trading/scripts.py +8 -4
- bbstrader/trading/strategies.py +79 -66
- bbstrader/tseries.py +482 -107
- {bbstrader-0.1.94.dist-info → bbstrader-0.2.1.dist-info}/LICENSE +1 -1
- {bbstrader-0.1.94.dist-info → bbstrader-0.2.1.dist-info}/METADATA +6 -1
- bbstrader-0.2.1.dist-info/RECORD +37 -0
- bbstrader-0.1.94.dist-info/RECORD +0 -32
- {bbstrader-0.1.94.dist-info → bbstrader-0.2.1.dist-info}/WHEEL +0 -0
- {bbstrader-0.1.94.dist-info → bbstrader-0.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2023-
|
|
3
|
+
Copyright (c) 2023-2025 Bertin Balouki SIMYELI
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bbstrader
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.2.1
|
|
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/
|
|
@@ -49,8 +49,13 @@ Requires-Dist: python-telegram-bot
|
|
|
49
49
|
Requires-Dist: pyportfolioopt
|
|
50
50
|
Requires-Dist: eodhd
|
|
51
51
|
Requires-Dist: financetoolkit
|
|
52
|
+
Requires-Dist: tables
|
|
53
|
+
Requires-Dist: lightgbm
|
|
54
|
+
Requires-Dist: alphalens-reloaded
|
|
52
55
|
Provides-Extra: mt5
|
|
53
56
|
Requires-Dist: MetaTrader5; extra == "mt5"
|
|
57
|
+
Provides-Extra: ta
|
|
58
|
+
Requires-Dist: ta-lib; extra == "ta"
|
|
54
59
|
|
|
55
60
|
# Simplified Investment & Trading Toolkit
|
|
56
61
|

|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
bbstrader/__ini__.py,sha256=c2TwxnJi0PtvigdAbAS2wsTAd7CnvwRHUrYr-s4wEsI,567
|
|
2
|
+
bbstrader/config.py,sha256=gepL2m_Ishu8BvuGpFOpSTPEosaAZmoqBK4DfdBceBs,3779
|
|
3
|
+
bbstrader/tseries.py,sha256=WidlFyQ6y76MUGPfSsOpdfhFSeuBRoijb4Ktr3N99f0,70439
|
|
4
|
+
bbstrader/btengine/__init__.py,sha256=FL0kC0NcsnlTH-yuTv4lu6AexY1wZKN1AQ9rv9MZagQ,3009
|
|
5
|
+
bbstrader/btengine/backtest.py,sha256=KN1We1ye7js3rL4Pd9dAj-LY3aB-PcDLUI7f6IRYd2g,14559
|
|
6
|
+
bbstrader/btengine/data.py,sha256=eIax5Fvw4wk60Rsr-TJELM_DLjvvI4D6-qTrnnbWMgw,26736
|
|
7
|
+
bbstrader/btengine/event.py,sha256=hquVFmNMauEARrw1HBrFxwGkKj8qbcKeFGRal2K5Z3o,8766
|
|
8
|
+
bbstrader/btengine/execution.py,sha256=bkc5t6Zx1hTNfycL8msgGsVk23jXko7oKoLndWGrrqg,10232
|
|
9
|
+
bbstrader/btengine/performance.py,sha256=Cm1o4tUI7iuai0dHiGhkkm0Hww4ikCg_q1p8JYfhR2o,10666
|
|
10
|
+
bbstrader/btengine/portfolio.py,sha256=auqOU3j0xc3CNicu6pBk-JCvdmYZUN8xke3HXUbco2o,16096
|
|
11
|
+
bbstrader/btengine/strategy.py,sha256=bdHA-US8SqdRWn4BpQwC-A3AvMdt7rYbStJ1qkbGRWQ,30709
|
|
12
|
+
bbstrader/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
bbstrader/core/data.py,sha256=3_odj9jxokyKU15j1aHTlgLQDjW75tKqGpCUfkpYq2Q,452
|
|
14
|
+
bbstrader/core/utils.py,sha256=vgW1I1zHar_ywBt3AaRMneTd5c38gTXoY2vGBVL92kY,1446
|
|
15
|
+
bbstrader/ibkr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
bbstrader/ibkr/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
bbstrader/metatrader/__init__.py,sha256=rrL_EtecsOCD2Cwhmpgta5CjSGT0K6vzSBiQoyCLe3M,283
|
|
18
|
+
bbstrader/metatrader/account.py,sha256=v0nozj0bPDv4lMC3ayeMPdD6OJ4N9RY6BFLjmPOWW1Q,55999
|
|
19
|
+
bbstrader/metatrader/rates.py,sha256=wR5UZuE2R0pFr2Mgi_448R0B0o_iLAAInAiNB-aUwm0,20821
|
|
20
|
+
bbstrader/metatrader/risk.py,sha256=-mOmbv7jlGiNWL84j4ZYhDETDKgNO3o5--6Azka0z1U,26510
|
|
21
|
+
bbstrader/metatrader/trade.py,sha256=PVU6t5Q22N844BJCBW3gyDnK4zLHvk3TrLiLyk_iFI4,71168
|
|
22
|
+
bbstrader/metatrader/utils.py,sha256=Q4rNYEfrPXNvTrTbzyY_Vo5hXGq6lbdg_Rvr0CVtYWk,17646
|
|
23
|
+
bbstrader/models/__init__.py,sha256=SnGBMQ-zcUIpms3oNeqg7EVDFpg-7OPjNAD8kvi_Q84,508
|
|
24
|
+
bbstrader/models/factors.py,sha256=Qhq9KO8MzOlVLH0qDcU-1-xvw_fMNCZG1Jd-oki7XTI,12917
|
|
25
|
+
bbstrader/models/ml.py,sha256=nVVdLjSui4yKcErbH86cjbyqbJjRzb3nqf21-tO-Nkc,48458
|
|
26
|
+
bbstrader/models/optimization.py,sha256=1FJC9Q0P6lG2BQUtRG905fvPV0KJiqGSWFSAZ8fsQZI,6615
|
|
27
|
+
bbstrader/models/portfolio.py,sha256=2w8RbdfWqeFerRt5WtaVDuplHlYo16V1MK8DvlcSXpc,8540
|
|
28
|
+
bbstrader/models/risk.py,sha256=qo2bENemDtlPuE9yUIIxE2SgaxxO7nX94CzuICJ1tEM,15608
|
|
29
|
+
bbstrader/trading/__init__.py,sha256=2VoxbzfP1XBLVuxJtjRhjEBCtnv9HqwQzfMV4B5mM7M,468
|
|
30
|
+
bbstrader/trading/execution.py,sha256=zgoVHz7RkA8s1fuyJG5iS6UPeOZJoY3y353xGriq1FE,28635
|
|
31
|
+
bbstrader/trading/scripts.py,sha256=OCIy1dO5jD5ZZ3nyhR4EuW8cJ90IK6g75yXpr5xFYJk,1906
|
|
32
|
+
bbstrader/trading/strategies.py,sha256=wP874dGSzJl-owSYdBZC_J1-8nQQ9HF01AhbbOKc4Bc,36420
|
|
33
|
+
bbstrader-0.2.1.dist-info/LICENSE,sha256=P3PBO9RuYPzl6-PkjysTNnwmwMB64ph36Bz9DBj8MS4,1115
|
|
34
|
+
bbstrader-0.2.1.dist-info/METADATA,sha256=6QafbqF7ko4y2LdqlypyPz6uMccgeIysiiSYWaN3zWg,10123
|
|
35
|
+
bbstrader-0.2.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
36
|
+
bbstrader-0.2.1.dist-info/top_level.txt,sha256=Wwj322jZmxGZ6gD_TdaPiPLjED5ReObm5omerwlmZIg,10
|
|
37
|
+
bbstrader-0.2.1.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=3bdd50hMrszNmcOXd8BYtkjTjg56fiThW2EJsItsCJA,26509
|
|
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=tkcAEgFIYZwtFRQc07lXQQFWRqglzR4H4LjX2BDRvj8,56371
|
|
14
|
-
bbstrader/metatrader/rates.py,sha256=RLzeq26LJ8dzFccgTcMjSUut4lsnt7xrWPXf5Z8xVuQ,21073
|
|
15
|
-
bbstrader/metatrader/risk.py,sha256=uLarOF-g9-RBdJuKSmIfT5WrPn47bmrvMxP21pQg4xo,26793
|
|
16
|
-
bbstrader/metatrader/trade.py,sha256=xAdwe00qNP0qeDzXGCK1_i4lsa9LpUkhbj82XqwJe6Y,70464
|
|
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=k1f78_a6oYk24kv-iURecsSfpgCTWi6IpLsoR4LwnWg,15530
|
|
24
|
-
bbstrader/trading/__init__.py,sha256=3CCzV5rQbH8NthjDJhD0_2FABvpiCmkeC9cVeoW7bi4,438
|
|
25
|
-
bbstrader/trading/execution.py,sha256=EhrTtDVV1Dz7T7_RglY4he3ZZMzijgl5tcRhQvbfIWA,26545
|
|
26
|
-
bbstrader/trading/scripts.py,sha256=rQmnG_4F_MuUEc96RXpAQT4kXrC-FkscsgHKgDAR_-Y,1902
|
|
27
|
-
bbstrader/trading/strategies.py,sha256=6bj-xXIEzhTfWrGHAkjWJg7U1OkARu7YzoaWeSrfuZY,36460
|
|
28
|
-
bbstrader-0.1.94.dist-info/LICENSE,sha256=1EudjwwP2oTJy8Vh0e-Kzv8VZZU95y-t6c3DYhR51uc,1115
|
|
29
|
-
bbstrader-0.1.94.dist-info/METADATA,sha256=JKdBaA3tjT_Deirxlf_2jSQkvlvZh6UxdVqWMph84mI,9983
|
|
30
|
-
bbstrader-0.1.94.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
31
|
-
bbstrader-0.1.94.dist-info/top_level.txt,sha256=Wwj322jZmxGZ6gD_TdaPiPLjED5ReObm5omerwlmZIg,10
|
|
32
|
-
bbstrader-0.1.94.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|