openseries 1.4.9__py3-none-any.whl → 1.4.10__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.
- openseries/_common_model.py +90 -7
- openseries/_risk.py +4 -0
- openseries/datefixer.py +8 -5
- openseries/frame.py +37 -30
- openseries/load_plotly.py +2 -0
- openseries/series.py +25 -31
- openseries/simulation.py +10 -0
- openseries/types.py +1 -2
- {openseries-1.4.9.dist-info → openseries-1.4.10.dist-info}/METADATA +12 -6
- openseries-1.4.10.dist-info/RECORD +15 -0
- openseries-1.4.9.dist-info/RECORD +0 -15
- {openseries-1.4.9.dist-info → openseries-1.4.10.dist-info}/LICENSE.md +0 -0
- {openseries-1.4.9.dist-info → openseries-1.4.10.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: openseries
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.10
|
4
4
|
Summary: Package for analyzing financial timeseries.
|
5
5
|
Home-page: https://github.com/CaptorAB/OpenSeries
|
6
6
|
License: BSD-3-Clause
|
@@ -21,11 +21,12 @@ Classifier: Programming Language :: Python :: 3.11
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
22
22
|
Classifier: Topic :: Office/Business :: Financial :: Investment
|
23
23
|
Requires-Dist: ffn (>=1.0.0,<2.0.0)
|
24
|
-
Requires-Dist: holidays (>=0.
|
25
|
-
Requires-Dist: numpy (>=1.23.2,<=
|
24
|
+
Requires-Dist: holidays (>=0.30,<1.0)
|
25
|
+
Requires-Dist: numpy (>=1.23.2,<=2.0.0)
|
26
26
|
Requires-Dist: openpyxl (>=3.1.2,<4.0.0)
|
27
27
|
Requires-Dist: pandas (>=2.1.2,<3.0.0)
|
28
28
|
Requires-Dist: plotly (>=5.18.0,<6.0.0)
|
29
|
+
Requires-Dist: pyarrow (>=14.0.2,<16.0.0)
|
29
30
|
Requires-Dist: pydantic (>=2.5.2,<3.0.0)
|
30
31
|
Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
|
31
32
|
Requires-Dist: scipy (>=1.11.4,<2.0.0)
|
@@ -42,11 +43,12 @@ width="81" height="100" align="left" float="right"/><br/>
|
|
42
43
|
# OpenSeries
|
43
44
|
|
44
45
|
[](https://pypi.org/project/openseries/)
|
46
|
+
[](https://anaconda.org/conda-forge/openseries)
|
45
48
|
[](https://www.python.org/)
|
46
49
|
[](https://github.com/CaptorAB/OpenSeries/actions/workflows/test.yml)
|
47
50
|
[](https://github.com/CaptorAB/OpenSeries/actions/workflows/test.yml)
|
48
51
|
[](https://github.com/CaptorAB/OpenSeries/actions/workflows/check.yml)
|
49
|
-
[](https://black.readthedocs.io/en/stable/index.html)
|
50
52
|
[](https://beta.ruff.rs/docs/)
|
51
53
|
[](https://opensource.org/licenses/BSD-3-Clause)
|
52
54
|
|
@@ -60,10 +62,14 @@ asset or a group of assets. It is solely made for daily or less frequent data.
|
|
60
62
|
|
61
63
|
To install:
|
62
64
|
|
63
|
-
```
|
65
|
+
```bash
|
64
66
|
pip install openseries
|
65
67
|
```
|
66
68
|
|
69
|
+
```bash
|
70
|
+
conda install -c conda-forge openseries
|
71
|
+
```
|
72
|
+
|
67
73
|
An example of how to make use of the OpenTimeSeries is shown below. The design
|
68
74
|
aligns with how we within our fund company's code base have a subclass of the
|
69
75
|
OpenTimeSeries with class methods for our different data sources. Combined with some
|
@@ -150,7 +156,7 @@ make install
|
|
150
156
|
|
151
157
|
## Testing and Linting / Type-checking
|
152
158
|
|
153
|
-
Ruff
|
159
|
+
Ruff and Mypy checking is embedded in the pre-commit hook. Both
|
154
160
|
are also used in the project's GitHub workflows and are run when the `lint`
|
155
161
|
alternative is chosen in the below commands.
|
156
162
|
Any silenced error codes can be found in the
|
@@ -0,0 +1,15 @@
|
|
1
|
+
openseries/__init__.py,sha256=hA7I5IFk88EnX6eyBbI1KLT_FGcmPIKF49xa5g3T8Yg,41
|
2
|
+
openseries/_common_model.py,sha256=pQmhi50XwnPdxr_vIx0DtK77uvXkpIYggD5APBqedsg,72423
|
3
|
+
openseries/_risk.py,sha256=RSWM7eTp8qjAbuhqNXZEyMFyZ0KKZpLkFGOjfyfP6Y0,3417
|
4
|
+
openseries/datefixer.py,sha256=_HNiPR6S3agwOAk8gl3wIdegR6uDbh-00J1Zgo4GMl8,12423
|
5
|
+
openseries/frame.py,sha256=4JWfqJwhTogf6_JvG0jK5g-Rrfl9YTUEEDtbh-bv28A,58226
|
6
|
+
openseries/load_plotly.py,sha256=kIjvJ2H1sIXWsjd-mZclLvj7ebh-4Hdb1dwB2gR9b-Y,1807
|
7
|
+
openseries/plotly_captor_logo.json,sha256=F5nhMzEyxKywtjvQqMTKgKRCJQYMDIiBgDSxdte8Clo,178
|
8
|
+
openseries/plotly_layouts.json,sha256=ahx8-dL4_RPzvHtBOX0SiL0AH7xQJzNRSDhGrSmU-Og,1429
|
9
|
+
openseries/series.py,sha256=ix-kMUy8H1Kuz7ZeqZ_wSOLCq-_zjm2hrJ63Ytadijc,28274
|
10
|
+
openseries/simulation.py,sha256=UGQpjioWsr93Vgj86fXeejeXHgQ6KMC2dCVTzDIN8_M,13038
|
11
|
+
openseries/types.py,sha256=6Sq8tKH5-tIFq7C8K594vT4yZrLCNZ8H6vc6TGPk0r8,7764
|
12
|
+
openseries-1.4.10.dist-info/LICENSE.md,sha256=NJjeq3wyB7EnnHLmsdK1EK6zT00T1eB3FgAmHAPT_vM,1521
|
13
|
+
openseries-1.4.10.dist-info/METADATA,sha256=GnhWpLvIsDVCAZw7A1GgtOYg6Q81LF18xGESYQpa5Tg,45158
|
14
|
+
openseries-1.4.10.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
15
|
+
openseries-1.4.10.dist-info/RECORD,,
|
@@ -1,15 +0,0 @@
|
|
1
|
-
openseries/__init__.py,sha256=hA7I5IFk88EnX6eyBbI1KLT_FGcmPIKF49xa5g3T8Yg,41
|
2
|
-
openseries/_common_model.py,sha256=YRfuKSJJmftH1px3lzH_yRtz2iP71QrxeucBamZRj3U,71624
|
3
|
-
openseries/_risk.py,sha256=869hdeCHlO1vPbGKiEoM-sY3klfcBrRKOfq3QNHw74A,3413
|
4
|
-
openseries/datefixer.py,sha256=LqNjQqi583DsmbZ7cCq-r5bGFZRWtRN0rp9LrbpbMCY,12633
|
5
|
-
openseries/frame.py,sha256=QTRktv9MSIgwOJuwHEL5-XZFRpZAG_WPp0i43awz9-8,58963
|
6
|
-
openseries/load_plotly.py,sha256=0pWuthwZadU1kRzBGniZkQa_rRQQRIzuPz2-ydRoHsQ,1805
|
7
|
-
openseries/plotly_captor_logo.json,sha256=F5nhMzEyxKywtjvQqMTKgKRCJQYMDIiBgDSxdte8Clo,178
|
8
|
-
openseries/plotly_layouts.json,sha256=ahx8-dL4_RPzvHtBOX0SiL0AH7xQJzNRSDhGrSmU-Og,1429
|
9
|
-
openseries/series.py,sha256=-hgTrNm85myxcPd-Ein-KxQXVhPNSp5Bqc7QTxRswzs,28983
|
10
|
-
openseries/simulation.py,sha256=ut6bxVngVFOHbfMEUFhqtZUkvvwA-PPKmSEnCH97Lwg,13028
|
11
|
-
openseries/types.py,sha256=XBHzJ_MCZw6xCv_YUWek0dPdmBAaOvkdjOnwpkVkmY8,7824
|
12
|
-
openseries-1.4.9.dist-info/LICENSE.md,sha256=NJjeq3wyB7EnnHLmsdK1EK6zT00T1eB3FgAmHAPT_vM,1521
|
13
|
-
openseries-1.4.9.dist-info/METADATA,sha256=wmukRxTUq69JZUtZqrrMnIR_aPOaVYR93ZOS2d3uKKY,45063
|
14
|
-
openseries-1.4.9.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
15
|
-
openseries-1.4.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|