Skip to main content

This library provides tools for quantitative analysis in finance.

Reason this release was yanked:

BB in stable version is activated

Project description

QA

Description

The QuantriX library is aimed to provide essential tools for quantitative finance analysis. It is a copyrighted software available only for direct use.

Available tools

The first version allows to build binomial model, random walk and brownion motion.

Instalation

For installing, run these code in terminal:

pip install QuantriX
Usage

Available function can be used in the following ways:

  1. Import necessary functions:
from quantrix.modules import bin_model_simulation

or

from quantrix.modules import *

In the code, just use the function:

paths = bin_model_simulation(N, n, S0, q, u, d)
  1. Import all existing modules:
from quantrix import modules

Use in the code in the following way:

paths = modules.bin_model_simulation(N, n, S0, q, u, d)
  1. Available functions:
  • bin_model_simulation(n_paths: int, max_time: int, S0: int, q: float, u: float, d: float) -> list[np.array]

This function simulates binomial model for n_paths number of paths for max_time periods. It requiers initial stock value - S0, probability of going up and up and down factors.

  • rw_simulations(n_paths: int, max_time: int, p: float) -> list[np.array]

The function simulates random walk: n_paths for max_time with probability p with step +1 or -1.

  • bm_simulations(n_paths: int, granularity: int, max_time: int) -> list[np.array]

This function simulates brownion motion: n_paths number of paths for max_time periods with granularity scale.

  • bb_simulations(n_paths: int, granularity: int, max_time: int , T: int = 1) -> list[np.array]

This function simulates brownion bridge.

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

quantrix-1.0.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

quantrix-1.0.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file quantrix-1.0.4.tar.gz.

File metadata

  • Download URL: quantrix-1.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for quantrix-1.0.4.tar.gz
Algorithm Hash digest
SHA256 17815cc9d521ddf44e40dccdd5feda9dd6b6e9a903840c64b237f62a850c1daa
MD5 9a2e69fd0b9e3e80c3605a30a97670ca
BLAKE2b-256 6e25b07f4183b533ea67aa0aac50d4ebd5beb3e19370cc8058d86fa5424a44a3

See more details on using hashes here.

File details

Details for the file quantrix-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: quantrix-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for quantrix-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0ccc4a9da40eb03729a27ddf335c2e0555dbb95fc160ef211fb7fd3f524d2a15
MD5 c26ae2f51c21342d5f9534725d3e3464
BLAKE2b-256 6b6a197111a7e2bd20e6c0717191ef1317f715ba8abae5cf05f25a22770dfd3d

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