This package has multiple purposes.
Covid Resilience :
The first purpose of the package is, given a list of stock tickers is to state what are the most covid resilient stocks and what are the worst ones. It computes a very simple score based on the volatility and return of the stocks over different periods.
CovidResilience(stock_index = "STOXX 600", start_date = None, end_date = None, tickers = None)
Input:
- stock_index : benchmark (example : "CAC 40","S&P 500", "STOXX 600")
- start_date, end_date : strings, format "YYYY-MM-DD"
- tickers : list of tickers ex : CovidResilience("STOXX 600","2020-01-19", "2021-01-19", tickers = list_of_tickers)
Output:
- .relevant_data
- .relevant_data_returns
- .volatilities
- .rslt
Example (copy/paste):
!pip install FINANCEPP
from finance import covidresilient as cr
list_of_tickers = ["FP.PA","MC.PA","AI.PA","OR.PA", "RI.PA","AIR.PA"]
covidfilter = cr.CovidResilience("CAC 40","2020-01-19", "2021-01-19", tickers = list_of_tickers)
covidfilter.run()
covidfilter.rslt
Release files for webappPP 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| webappPP-1.2.3.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| webappPP-1.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / webappPP-1.2.3.tar.gz
| Download URL | webappPP-1.2.3.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba777cb8660e4de0ee74eae630099fe6bbb1bc31cc3cefee540fdda8a076955b
|
|
BLAKE2b-256 checksum How to use checksums |
8645cbfc90ea5bf84430ff20210d2fe5d15288e893658f0a1f104a063397b309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / webappPP-1.2.3-py3-none-any.whl
| Download URL | webappPP-1.2.3-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
beed7116f316ce127f4493c9af7ec198a3f1239eb0e8ee4013e0e1587e2aca58
|
|
BLAKE2b-256 checksum How to use checksums |
f01ca765f31642d389b9aecc4f31efa49208bb30cba212be91d1111ee6f3feb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|