A small package for econometrics and finance.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Pyconometrics
A small and simple Python library equipped with tools for finance and econometrics.
Installation
To install the library using pip:
pip install pyconometrics
To use, simply import the library:
import pyconometrics as pn
Documentation
The library contains various tools for data retrieval, anaylsis, and prediction.
Data:
The data module focuses on data collection and manipulation.
pn.data.history() #Retrieves the High, Low, Open, Close, Volume, Adj Close for a security
pn.data.center() #Centers the data around the mean
pn.data.normalize() #Normalizes the data
Moving Average:
The moving average (ma) module focuses on creating moving averages.
pn.ma.sma() #Creates a simple moving average across a period
pn.ma.ema() #Creates an exponential moving average across a period
pn.ma.macd() #Creates the MACD line
pn.ma.bollinger() #Creates bollinger bands
Metric:
The metric module contains tools to help with data anylsis.
pn.metric.volatility() #Returns the historical volatility across a period
Model:
The model module contains tools for creating models to help forecast and examine correlation.
reg = pn.model.LinearRegression() #The linear regression class contains methods for analysis of the linear fit between a set of observations and features.
reg.fit() #Fits the data
reg.predict() #Creates a prediction based on a defined fit
reg.error() #Returns the Mean Squared Error for the prediction
reg.m #Returns the slope m for the prediction
reg.c #Returns the y-intercept c for the prediction
Final Notes
This project is very much still in development. Econometrics and finance are topics that are endlessly interesting as well as computer science and programming. There is always more to be added, learned, and improved upon. I'm excited to see where this project goes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyconometrics-0.1.tar.gz.
File metadata
- Download URL: pyconometrics-0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6497207bb16a4f53f9815b879cf40d304a4bb50c7f88727d5ef738514205019d
|
|
| MD5 |
9b658957262ed6b6dea0aa239e28039d
|
|
| BLAKE2b-256 |
729f35c78139e9dedd53c793226c79627923043d6722ed86851f859798e5b799
|
File details
Details for the file pyconometrics-0.1-py3-none-any.whl.
File metadata
- Download URL: pyconometrics-0.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2da3e09c55ed2fa449c8bb9dca6ab5c85dd451d8b1c10e7492addb840cbf4e60
|
|
| MD5 |
ac23e228779f16453da344df54ea8cfd
|
|
| BLAKE2b-256 |
dd2ba38ff7794a66b0bc992b665e6e0a4c227c54963179b8d41e2e69550f8457
|