Skip to main content

This library provides tools for quantitative analysis in finance.

Reason this release was yanked:

dependencies error

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.

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.1.tar.gz (2.7 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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantrix-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 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.1.tar.gz
Algorithm Hash digest
SHA256 8bbf23a44b9c9989c347adfa806f54257533482ce9bdf5b8c7a670b7d26a61aa
MD5 ecd0d76f6c8aeafa563db534dfd27b3e
BLAKE2b-256 0a9c58ae74d000f6f9a378f4e8eb43315e432c1e9f95e3f3e92985937cab3200

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantrix-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb45539c1a2935d444dc4c44eea25bf0bfd38022fd2e21018ad44329c9540114
MD5 0008de7828e50ec07953ed218a2f5897
BLAKE2b-256 790663507cb60b80588622c6d6ce1b0f7b600d22b30f3b62bb07c1f5f7377e6e

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