openseries 1.6.0__tar.gz → 1.7.1__tar.gz
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-1.6.0 → openseries-1.7.1}/LICENSE.md +1 -1
- {openseries-1.6.0 → openseries-1.7.1}/PKG-INFO +4 -5
- {openseries-1.6.0 → openseries-1.7.1}/README.md +1 -1
- {openseries-1.6.0 → openseries-1.7.1}/openseries/__init__.py +0 -2
- {openseries-1.6.0 → openseries-1.7.1}/openseries/_common_model.py +261 -324
- {openseries-1.6.0 → openseries-1.7.1}/openseries/_risk.py +9 -10
- {openseries-1.6.0 → openseries-1.7.1}/openseries/datefixer.py +42 -63
- {openseries-1.6.0 → openseries-1.7.1}/openseries/frame.py +125 -161
- {openseries-1.6.0 → openseries-1.7.1}/openseries/load_plotly.py +8 -8
- {openseries-1.6.0 → openseries-1.7.1}/openseries/portfoliotools.py +39 -35
- {openseries-1.6.0 → openseries-1.7.1}/openseries/series.py +65 -93
- {openseries-1.6.0 → openseries-1.7.1}/openseries/simulation.py +39 -50
- {openseries-1.6.0 → openseries-1.7.1}/openseries/types.py +17 -24
- {openseries-1.6.0 → openseries-1.7.1}/pyproject.toml +20 -15
- {openseries-1.6.0 → openseries-1.7.1}/openseries/plotly_captor_logo.json +0 -0
- {openseries-1.6.0 → openseries-1.7.1}/openseries/plotly_layouts.json +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
# BSD 3-Clause License
|
2
2
|
|
3
|
-
## Copyright (c)
|
3
|
+
## Copyright (c) Captor Fund Management AB
|
4
4
|
|
5
5
|
Redistribution and use in source and binary forms, with or without modification, are
|
6
6
|
permitted provided that the following conditions are met:
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: openseries
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.7.1
|
4
4
|
Summary: Tools for analyzing financial timeseries.
|
5
5
|
Home-page: https://github.com/CaptorAB/openseries
|
6
6
|
License: BSD-3-Clause
|
7
7
|
Keywords: python,finance,fintech,data-science,timeseries,timeseries-data,timeseries-analysis,investment,investment-analysis,investing
|
8
8
|
Author: Martin Karrin
|
9
9
|
Author-email: martin.karrin@captor.se
|
10
|
-
Requires-Python: >=3.
|
10
|
+
Requires-Python: >=3.10,<3.13
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
12
12
|
Classifier: Framework :: Pydantic
|
13
13
|
Classifier: Intended Audience :: Financial and Insurance Industry
|
@@ -15,7 +15,6 @@ Classifier: License :: OSI Approved :: BSD License
|
|
15
15
|
Classifier: Natural Language :: English
|
16
16
|
Classifier: Operating System :: OS Independent
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
19
18
|
Classifier: Programming Language :: Python :: 3.10
|
20
19
|
Classifier: Programming Language :: Python :: 3.11
|
21
20
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -25,7 +24,7 @@ Requires-Dist: numpy (>=1.23.2,<=3.0.0)
|
|
25
24
|
Requires-Dist: openpyxl (>=3.1.2,<4.0.0)
|
26
25
|
Requires-Dist: pandas (>=2.1.2,<3.0.0)
|
27
26
|
Requires-Dist: plotly (>=5.18.0,<6.0.0)
|
28
|
-
Requires-Dist: pyarrow (>=14.0.2,<
|
27
|
+
Requires-Dist: pyarrow (>=14.0.2,<18.0.0)
|
29
28
|
Requires-Dist: pydantic (>=2.5.2,<3.0.0)
|
30
29
|
Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
|
31
30
|
Requires-Dist: requests (>=2.20.0,<3.0.0)
|
@@ -80,7 +79,7 @@ The code snippet can be pasted into a Python console to run it.
|
|
80
79
|
Install openseries and yfinance first.
|
81
80
|
|
82
81
|
```python
|
83
|
-
from openseries
|
82
|
+
from openseries import OpenTimeSeries
|
84
83
|
import yfinance as yf
|
85
84
|
|
86
85
|
msft=yf.Ticker("MSFT")
|
@@ -44,7 +44,7 @@ The code snippet can be pasted into a Python console to run it.
|
|
44
44
|
Install openseries and yfinance first.
|
45
45
|
|
46
46
|
```python
|
47
|
-
from openseries
|
47
|
+
from openseries import OpenTimeSeries
|
48
48
|
import yfinance as yf
|
49
49
|
|
50
50
|
msft=yf.Ticker("MSFT")
|
@@ -3,7 +3,6 @@
|
|
3
3
|
from .datefixer import (
|
4
4
|
date_fix,
|
5
5
|
date_offset_foll,
|
6
|
-
do_resample_to_business_period_ends,
|
7
6
|
generate_calendar_date_range,
|
8
7
|
get_previous_business_day_before_today,
|
9
8
|
holiday_calendar,
|
@@ -31,7 +30,6 @@ __all__ = [
|
|
31
30
|
"simulate_portfolios",
|
32
31
|
"date_fix",
|
33
32
|
"date_offset_foll",
|
34
|
-
"do_resample_to_business_period_ends",
|
35
33
|
"generate_calendar_date_range",
|
36
34
|
"get_previous_business_day_before_today",
|
37
35
|
"holiday_calendar",
|