bbstrader 0.1.6__py3-none-any.whl → 0.1.8__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.6
3
+ Version: 0.1.8
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,8 @@ 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)
50
+
46
51
  ## Overview
47
52
 
48
53
  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 +55,7 @@ BBSTrader is a trading system suite developed for MetaTrader 5 (MT5) and IBKR pl
50
55
  `bbstrader` is comprised of several key modules, each focus on specific aspects of trading strategy development and execution:
51
56
 
52
57
  - **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.
58
+ - **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
59
  - **MetaTrader5 Module (metatrader)**: Facilitates the direct execution of trading strategies on the MetaTrader 5 platform, supporting real-time trading across multiple financial instruments.
55
60
  - **Modles Module**: Serves as a framework for implementing various types of financial models (risk managment models, Machine learing models etc).
56
61
  - **Time serie Module (tseries)** designed for conducting advanced time series analysis in financial markets.
@@ -78,18 +83,22 @@ Then, you can install `bbstrader` using pip:
78
83
  pip install bbstrader
79
84
  ```
80
85
 
81
-
82
86
  ## Examples
83
87
  ### Backtesting Module
84
88
  ```python
85
- from bbstrader.btengine.backtest import run_backtest
89
+ from bbstrader.trading.strategies import test_strategy
86
90
 
87
91
  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')
92
+ # Run backtesting for Stock Index Short Term Buy Only Strategy
93
+ test_strategy(strategy='sistbo')
94
+
90
95
  ```
91
96
  ### Backtesting Results
92
- ![Backtesting Results](https://github.com/bbalouki/bbstrader/blob/main/assets/backtest_results.jpg?raw=true)
97
+ ![Backtesting Results 1](https://github.com/bbalouki/bbstrader/blob/main/assets/bbs_.png?raw=true)
98
+ ![Backtesting Results 2](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_metrics_1.png?raw=true)
99
+ ![Backtesting Results 3](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_metrics_2.png?raw=true)
100
+ ![Backtesting Results 4](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_plots_1_.png?raw=true)
101
+ ![Backtesting Results 5](https://github.com/bbalouki/bbstrader/blob/main/assets/qs_plots_2_.png?raw=true)
93
102
 
94
103
  ## Customization and Contribution
95
104
 
@@ -0,0 +1,26 @@
1
+ bbstrader/__ini__.py,sha256=lKhqaZN2fuGU2DP3oufJ_XcFlznnyNTlhklWcOaTPMY,444
2
+ bbstrader/tseries.py,sha256=i6Vl5QeySMj51n4EchvAaGnHl1xQLdvO7Eka3QkP_Mg,43647
3
+ bbstrader/btengine/__init__.py,sha256=gNANXdJ_b4JQaHgqXTbRSZzJOdZRQop5258GQYIAY8s,2949
4
+ bbstrader/btengine/backtest.py,sha256=bUnuxHByddDkY2VzCTSBBOIbdRzsy9VXROFYL3VNwzE,12450
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=STb5xJQiTa25xZdYYmjpKW46iWWcB_-6wB6PCPbhREI,10745
9
+ bbstrader/btengine/portfolio.py,sha256=Tjoloav3Mccj675w6LO8vdGpDdvWcTgpQN0eykpDJXo,14888
10
+ bbstrader/btengine/strategy.py,sha256=uLQdsEzI8-86Cj7HWkL8blVFxT0sNxEcLVnkBil6ZLk,1550
11
+ bbstrader/metatrader/__init__.py,sha256=y4JLz05esm3PKerHMgtd3dmRpa7yUvWVuj_xOnlhXSA,261
12
+ bbstrader/metatrader/account.py,sha256=bZRIxeg_t3QnSboEHoBQhp7HASlnfDydbsLSor5RwAE,44572
13
+ bbstrader/metatrader/rates.py,sha256=QulMnr5LyveMausH1TaiLzI5wjz18RkaKY7OAeO3v2A,9707
14
+ bbstrader/metatrader/risk.py,sha256=XzHdUZ9dz1C__L6WLG6htd5cnRgwUqhs8JAJzLVNhC4,25825
15
+ bbstrader/metatrader/trade.py,sha256=uUkVVsYsAV94I9BD6yyMC0YpnNmniEGLWwvTzCAqOCM,61404
16
+ bbstrader/metatrader/utils.py,sha256=xc5VYQ-eejpHIPJIhLi8vxAF5zjix5NSXywXu2Eb7LI,19186
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=0bMXGczv4qnWBRomkXcQdQT378KTZlpD0GsubEepGzY,20139
21
+ bbstrader/trading/strategies.py,sha256=Ks6fR3JtBFit1mcEs1TVqXQsPVCaHADLnYhkyNeXrtg,36943
22
+ bbstrader-0.1.8.dist-info/LICENSE,sha256=1EudjwwP2oTJy8Vh0e-Kzv8VZZU95y-t6c3DYhR51uc,1115
23
+ bbstrader-0.1.8.dist-info/METADATA,sha256=PYJJW9504JyWi5Mpa3gxE9ZADGI81oKpTbKXCwkYG7o,9660
24
+ bbstrader-0.1.8.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
25
+ bbstrader-0.1.8.dist-info/top_level.txt,sha256=Wwj322jZmxGZ6gD_TdaPiPLjED5ReObm5omerwlmZIg,10
26
+ bbstrader-0.1.8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.1)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5