Skip to main content

A python library that consists of modules for different types of financial calculations and analysis.

Project description

FinanceLib

Package Overview

FinanceLib is easy-to-use Python library that has modules for representing the visualizations and analysis of commonly used finance related terms through graphs and charts. This

Table of Contents

Usage

This module can be used for the below given puposes:

  • Calculating the interest earned over the amount deposited.
  • Representation of change of Interest,Balance with respect to years through line or bar graphs.
  • Representation of ratios between Deposit and interest applied over it through pie chart.
  • Calculating and visvalisition of Relative stock index.
  • Measures and visualizes the Volatility of a Stock

Modules Included

This Library mainly consists of three modules , namely :

1. interest:

This module is further subdivided into two basic interests modules which are widely used and are the building blocks of any financial calculations.

  • Simple_Interest() : SI (Simple Interest) module can be used to get the graphs showing how much interest and deposit is growing as well as the ratio of amount deposited and the interest earned over it in the given time period and rate of interest. This module can be used to:

  • Compound_Interest(): CI (Compound Interest) module can be used to calculate interest on a loan or deposit based on both the initial principal and the accumulated interest from previous periods by taking principal amount, rate of interest(in %), time, compounding frequency as input. The output data is also represented through graph and pie chart.

2. genBanking:

This module is further subdivided into two most commonly used finance terms namely,

  • FD(): FD (Fixed Deposit) is the most widely used finance term with respect to investment.This is used to get the detailed information about the amount deposited,interest earned,maturity amount based on yearly,quaterly or monthly cummulative basis through bar graphs and pie chart.
  • EMI(): EMI (Equated Monthly Interest) is the amount payable every month to the bank or any other financial institution until the loan amount is fully paid off. The calculated interest is shown via bar graph and pie chart to represent monthly interest and principal. Also monthly details are represented in a table as per the input (principal amount, rate of interest in percentage and tenure) given.

3. Analysis:

This module is further subdivided into two very important stock analysis fuctions which are widely used in financial risk management.

  • rsi(): The relative strength index (RSI) is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. A technical indicator is a mathematical calculation based on past prices and volumes of a stock. The RSI has a value between 0 and 100. It is said to be overbought if above 70, and oversold if below 30.
  • volatility(): Volatility is a statistical measure of the dispersion of returns for a given security or market index. In most cases, the higher the volatility, the riskier the security. Volatility is often measured as either the standard deviation or variance between returns from that same security or market index. Here we will calculate the same by using the ATR value. The average true range (ATR) is a market volatility indicator used in technical analysis.It is typically derived from the 14-day simple moving average of a series of true range indicators.

Licence

All the codes included in this packaging library is licensed under MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FinanceLib-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FinanceLib-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file FinanceLib-0.0.1.tar.gz.

File metadata

  • Download URL: FinanceLib-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.3

File hashes

Hashes for FinanceLib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 302c368f9bd455816eaf630292dc9480df6819d74ca2735c5eb832e4f3682afd
MD5 482c2d7190a8efae9f2c2f3a668126dd
BLAKE2b-256 1b56f64e042bf87f4d3cfc4188504dbc8e7e67e8e880956d498ec5d80944866c

See more details on using hashes here.

File details

Details for the file FinanceLib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: FinanceLib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.3

File hashes

Hashes for FinanceLib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39bb8696fe4bb5123ead386fa1f1053d76bf1e732dd3ad77f9a30c3f0d1a7bda
MD5 e698483f7a1f312a284f0a1de0584d67
BLAKE2b-256 f94ec8be892ce6f484b5c3f3c240dc1f25a9b77de5596d82d57f2bcad15e25c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page