bbstrader 0.1.5__py3-none-any.whl → 0.1.7__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bbstrader
3
- Version: 0.1.5
3
+ Version: 0.1.7
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/
@@ -36,6 +36,9 @@ Requires-Dist: matplotlib
36
36
  Requires-Dist: filterpy
37
37
  Requires-Dist: pytest
38
38
  Requires-Dist: CurrencyConverter
39
+ Requires-Dist: tabulate
40
+ Requires-Dist: ipython
41
+ Requires-Dist: quantstats
39
42
  Requires-Dist: Metatrader5
40
43
 
41
44
  # Simplified Investment & Trading Toolkit
@@ -43,6 +46,7 @@ Requires-Dist: Metatrader5
43
46
 
44
47
  [![Documentation Status](https://readthedocs.org/projects/bbstrader/badge/?version=latest)](https://bbstrader.readthedocs.io/en/latest/?badge=latest)
45
48
 
49
+ [Dcoumentation](https://bbstrader.readthedocs.io/en/latest/index.html)
46
50
  ## Overview
47
51
 
48
52
  BBSTrader is a trading system suite developed for MetaTrader 5 (MT5) and IBKR platforms (comming soon), designed to offer a comprehensive set of tools for developping, backtesting, executing, and managing a wide array of trading strategies. With an emphasis on algorithmic and quantitative trading to provide traders with a robust platform for exploring and deploying sophisticated trading strategies.
@@ -50,7 +54,7 @@ BBSTrader is a trading system suite developed for MetaTrader 5 (MT5) and IBKR pl
50
54
  `bbstrader` is comprised of several key modules, each focus on specific aspects of trading strategy development and execution:
51
55
 
52
56
  - **Backtesting Module (btengine)** : Enables traders to rigorously test their trading strategies using historical data to evaluate performance before live deployment.
53
- - **Trading Strategies Module**: A collection of predefined trading strategies, including ARIMA+GARCH models, Kalman Filters, Ornstein-Uhlenbeck processes, and Simple Moving Averages, equipped with risk management through Hidden Markov Models.
57
+ - **Trading Strategies Module**: A collection of predefined trading strategies, including ARIMA+GARCH models, Kalman Filters, and Simple Moving Averages, equipped with risk management through Hidden Markov Models.
54
58
  - **MetaTrader5 Module (metatrader)**: Facilitates the direct execution of trading strategies on the MetaTrader 5 platform, supporting real-time trading across multiple financial instruments.
55
59
  - **Modles Module**: Serves as a framework for implementing various types of financial models (risk managment models, Machine learing models etc).
56
60
  - **Time serie Module (tseries)** designed for conducting advanced time series analysis in financial markets.
@@ -78,18 +82,22 @@ Then, you can install `bbstrader` using pip:
78
82
  pip install bbstrader
79
83
  ```
80
84
 
81
-
82
85
  ## Examples
83
86
  ### Backtesting Module
84
87
  ```python
85
- from bbstrader.btengine.backtest import run_backtest
88
+ from bbstrader.trading.strategies import test_strategy
86
89
 
87
90
  if __name__ == '__main__':
88
- # KLF IEI TLT Event Driven backtest using Kalman Filter pairs trading strategy integrating with # Hidden Markov Model (HMM) for risk management on `IEI` and `TLT`.
89
- run_backtest(test_strategy='klf')
91
+ # Run backtesting for Stock Index Short Term Buy Only Strategy
92
+ test_strategy(strategy='sistbo')
93
+
90
94
  ```
91
95
  ### Backtesting Results
92
- ![Backtesting Results](https://github.com/bbalouki/bbstrader/blob/main/assets/backtest_results.jpg?raw=true)
96
+ ![Backtesting Results 1](https://github.com/bbalouki/bbstrader/blob/main/assets/bbs_.png?raw=true)
97
+ ![Backtesting Results 2](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_metrics_1.png?raw=true)
98
+ ![Backtesting Results 3](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_metrics_2.png?raw=true)
99
+ ![Backtesting Results 4](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_plots_1_.png?raw=true)
100
+ ![Backtesting Results 5](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_plots_2_.png?raw=true)
93
101
 
94
102
  ## Customization and Contribution
95
103
 
@@ -0,0 +1,26 @@
1
+ bbstrader/__ini__.py,sha256=lKhqaZN2fuGU2DP3oufJ_XcFlznnyNTlhklWcOaTPMY,444
2
+ bbstrader/tseries.py,sha256=mKVxW7RFg4BVktJaNdat6uYE9a8GclAYznh5gBF3hNg,43531
3
+ bbstrader/btengine/__init__.py,sha256=ijKq_Ww8n4nofmkCvPl0MksAqeK1HZGmY7W3W1zBbmk,2899
4
+ bbstrader/btengine/backtest.py,sha256=nH-1R3Tapim1JE9m5PFSXz8wGPqv1YiVfugaBE3u0n0,12323
5
+ bbstrader/btengine/data.py,sha256=B2cqkZZGIhedqMHeZBNB6RHGyeP-TFGOSlMoZq4uFUw,14007
6
+ bbstrader/btengine/event.py,sha256=dY2DFwRPDCEdsX7GnLiwpth73tOpnbjgqIqbkNMZu1U,8286
7
+ bbstrader/btengine/execution.py,sha256=noat6ZxhbBYZQ0GLFYw78enp0vZCbeoGyOok4aSjWCA,5077
8
+ bbstrader/btengine/performance.py,sha256=5DvrNJBreYsj4MGh93oAQK0BwVk2coZ85xX5GtciLao,11316
9
+ bbstrader/btengine/portfolio.py,sha256=Zr8c51SkXRcyCXxrJcsYwBJv7LnRMa32BD-GnNbQfbo,14490
10
+ bbstrader/btengine/strategy.py,sha256=uLQdsEzI8-86Cj7HWkL8blVFxT0sNxEcLVnkBil6ZLk,1550
11
+ bbstrader/metatrader/__init__.py,sha256=y4JLz05esm3PKerHMgtd3dmRpa7yUvWVuj_xOnlhXSA,261
12
+ bbstrader/metatrader/account.py,sha256=Zyc5aUbXQGLfVlXH50uilyDO8v3nzREX71oDp316O3M,44400
13
+ bbstrader/metatrader/rates.py,sha256=l40jXUbffNDw6P-OBVzHkyOrlCR2sR6HXrRiCrR7wc0,9704
14
+ bbstrader/metatrader/risk.py,sha256=qMDLqrwD8foKOW8jCnhwt0Lvxgtl0uwKYgRqhSbNeh8,25827
15
+ bbstrader/metatrader/trade.py,sha256=0AnOK_xFVpfv2GbENJ64zfVUbPtCWhijMmasDRpnLYU,58273
16
+ bbstrader/metatrader/utils.py,sha256=UaxsQ2myvpPGSvO_Xs3T9cuT9rwGRUhDE2YyQA4u05I,18963
17
+ bbstrader/models/__init__.py,sha256=6tAj9V9vgwesgPVMKznwRB3k8-Ec8Q73Di5p2UO0qlA,274
18
+ bbstrader/models/risk.py,sha256=Pm_WoGI-vtPW75fwo_7ptF2Br-xQYBwrAAOIgqDQmy8,15120
19
+ bbstrader/trading/__init__.py,sha256=3_PeIcuQ7znoCPdq8FqRmbCc0czNiernpIRkBXJZvg0,452
20
+ bbstrader/trading/execution.py,sha256=a7vX0cvliHkg7JUW6tiyo_LknRzGmz9k1WunigIb4Lo,17841
21
+ bbstrader/trading/strategies.py,sha256=jjuOugA74lXxH-YoaOAfdRjr7I910X7wQeSyc49CwjU,36856
22
+ bbstrader-0.1.7.dist-info/LICENSE,sha256=1EudjwwP2oTJy8Vh0e-Kzv8VZZU95y-t6c3DYhR51uc,1115
23
+ bbstrader-0.1.7.dist-info/METADATA,sha256=2RayIK7IyazlrlNaxo3gMzUtpPDyCIPRnNnOBVIGwbc,9658
24
+ bbstrader-0.1.7.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
25
+ bbstrader-0.1.7.dist-info/top_level.txt,sha256=Wwj322jZmxGZ6gD_TdaPiPLjED5ReObm5omerwlmZIg,10
26
+ bbstrader-0.1.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.0.0)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5