BackcastPro 0.0.1__py3-none-any.whl → 0.0.2__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 BackcastPro might be problematic. Click here for more details.
- BackcastPro/__init__.py +90 -0
- BackcastPro/_plotting.py +785 -0
- BackcastPro/_stats.py +212 -0
- BackcastPro/_util.py +337 -0
- BackcastPro/backtesting.py +1763 -0
- BackcastPro/lib.py +646 -0
- BackcastPro/test/__init__.py +29 -0
- BackcastPro/test/__main__.py +7 -0
- BackcastPro/test/_test.py +1174 -0
- backcastpro-0.0.2.dist-info/METADATA +53 -0
- backcastpro-0.0.2.dist-info/RECORD +13 -0
- BackcastPro/example.py +0 -2
- backcastpro-0.0.1.dist-info/METADATA +0 -18
- backcastpro-0.0.1.dist-info/RECORD +0 -6
- {backcastpro-0.0.1.dist-info → backcastpro-0.0.2.dist-info}/WHEEL +0 -0
- {backcastpro-0.0.1.dist-info → backcastpro-0.0.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: BackcastPro
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: A small example package
|
|
5
|
+
Author-email: 笹澤ようすけ <yosuke.sasazawa@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://BackcastPro.github.io/BackcastPro/
|
|
7
|
+
Project-URL: Issues, https://github.com/BackcastPro/BackcastPro/issues
|
|
8
|
+
Project-URL: Logo, https://raw.githubusercontent.com/BackcastPro/BackcastPro/main/docs/img/2.png
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Requires-Python: >=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# BackcastPro
|
|
16
|
+
|
|
17
|
+
A Python backtesting library for trading strategies.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
### From PyPI (for end users)
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install BackcastPro
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Development Installation
|
|
28
|
+
|
|
29
|
+
For development, clone the repository and install in development mode:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
git clone <repository-url>
|
|
33
|
+
cd BackcastPro
|
|
34
|
+
pip install -e .
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**開発モードインストール(pip install -e .)を行う**
|
|
38
|
+
- 先ほど実行したpip install -e .により、プロジェクトが開発モードでインストールされています
|
|
39
|
+
- これにより、srcディレクトリが自動的にPythonパスに追加されました
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from BackcastPro import Strategy, Backtest
|
|
45
|
+
from BackcastPro.lib import resample_apply
|
|
46
|
+
|
|
47
|
+
# Your trading strategy implementation here
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Documents
|
|
51
|
+
|
|
52
|
+
- [How to deploy to PyPI](./docs/How%20to%20deploy%20to%20PyPI.md)
|
|
53
|
+
- [Examples](./docs/examples/)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
BackcastPro/__init__.py,sha256=9EwcZ18OUJC1_D97EEfR7kP69cuNirmeEh7B4uV0_9o,3619
|
|
2
|
+
BackcastPro/_plotting.py,sha256=HVpvAAPf5b4Ycr6uuXO7oZWIYZgY3TsOhtfhNNP8ENc,31815
|
|
3
|
+
BackcastPro/_stats.py,sha256=iyx09L2Mnq5XrKJ8qd1ZfkhTHkkggahg8IZuCOxpdWQ,9838
|
|
4
|
+
BackcastPro/_util.py,sha256=2V7LVirnbbvXBrjkz9svH9d6zOzlqH27_dsgK4X2i3A,10555
|
|
5
|
+
BackcastPro/backtesting.py,sha256=9GZ2oAXm9YBsYnwzmv1YaEFiCx8R0AeA6ln2lgrtyyA,73914
|
|
6
|
+
BackcastPro/lib.py,sha256=nLkateYLDWZUMbEM-ZulTanc4LwddjJBik7xSk36bNo,24600
|
|
7
|
+
BackcastPro/test/__init__.py,sha256=gjyeKUuKcKOUNQ9AifECpb093-y0rD6P5BCF9pcJBuQ,806
|
|
8
|
+
BackcastPro/test/__main__.py,sha256=hbrSCG9X8n5Fhw9bt97C2o1p0r9oSQ_Be9wQL0kyjvY,162
|
|
9
|
+
BackcastPro/test/_test.py,sha256=72z6jqtq3yJY-8QB_2huSJb5qOWDIzByCzPCuuFmDSY,45616
|
|
10
|
+
backcastpro-0.0.2.dist-info/METADATA,sha256=dxHVO5AtxtFcKUgFWdppqaYlEALg9NaYfsc1hqjduSU,1532
|
|
11
|
+
backcastpro-0.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
+
backcastpro-0.0.2.dist-info/top_level.txt,sha256=GiP-TX_Bc2jjwHS9cx0VCrW27e9JPbhWWnqGxa5B4Fs,12
|
|
13
|
+
backcastpro-0.0.2.dist-info/RECORD,,
|
BackcastPro/example.py
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: BackcastPro
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: A small example package
|
|
5
|
-
Author-email: 笹澤ようすけ <yosuke.sasazawa@gmail.com>
|
|
6
|
-
Project-URL: Homepage, https://BackcastPro.github.io/BackcastPro/
|
|
7
|
-
Project-URL: Issues, https://github.com/BackcastPro/BackcastPro/issues
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Operating System :: OS Independent
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Requires-Python: >=3.9
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
|
|
14
|
-
# Example Package
|
|
15
|
-
|
|
16
|
-
This is a simple example package. You can use
|
|
17
|
-
[GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
|
|
18
|
-
to write your content.
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
BackcastPro/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
BackcastPro/example.py,sha256=X4bE2aofVJAbmacOI_Ny0Oc7m2Ru4ShxUscmJqVps1Q,43
|
|
3
|
-
backcastpro-0.0.1.dist-info/METADATA,sha256=XC8ETHW_-JRmAG_frw-tkAfHkrNEqXyReg_JwK-EGyw,685
|
|
4
|
-
backcastpro-0.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
-
backcastpro-0.0.1.dist-info/top_level.txt,sha256=GiP-TX_Bc2jjwHS9cx0VCrW27e9JPbhWWnqGxa5B4Fs,12
|
|
6
|
-
backcastpro-0.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|