Skip to main content

# qq-pat

The qq-pat library provides you with an easy interface for the creation of graphs and the calculation of statistics for financial time series. The library uses time series stored within pandas dataframes to make its calculations. You can have either one or several columns within your dataframe and qq-pat will always calculate statistics for all of them and return the results as either a list (if you are calculating something like the Sharpe ratio) or an actual pandas dataframe with the same number of columns.

To use qq-pat is very easy. First make sure you create a pandas series or dataframe that contains either the daily returns or the daily price/balance for the assets or strategies you want to evaluate. After this simply initialize the qq-pat analyzer:

` analyzer = qqpat.Analizer(data, column_type='price') `

You can then use the analyzer object to create many different graphs or obtain the value for different statistics. For example if you want to obtain a PerformanceAnalytics style summary of system results you can use :

` analyzer.plot_analysis_returns() `

See the test.py file for a test showing you how to obtain different statistics of a group of three different stocks/ETFs.

Download files

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

Source Distribution

qqpat-1.505.tar.gz (10.1 kB view details)

Uploaded Source

File details

Details for the file qqpat-1.505.tar.gz.

File metadata

  • Download URL: qqpat-1.505.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qqpat-1.505.tar.gz
Algorithm Hash digest
SHA256 7794d9bced6ece68f83af94304293cce09ec72d18f3c79cb20e9ac9cfdb033ab
MD5 55afb6fc50cd13c7885e633c0071e0ed
BLAKE2b-256 ee6c30eec6f8198c6cea0267c9a3df9488509439d805a0ba096df084431f8687

See more details on using hashes here.

Release history Release notifications | RSS feed

1.602

1 file

1.601

1 file

1.600

1 file

1.535

1 file

1.534

1 file

1.533

1 file

1.532

1 file

1.531

1 file

1.530

1 file

1.529

1 file

1.528

1 file

1.527

1 file

1.526

1 file

1.525

1 file

1.524

1 file

1.523

1 file

1.522

1 file

1.521

1 file

1.520

1 file

1.519

1 file

1.518

1 file

1.517

1 file

1.516

1 file

1.515

1 file

1.514

1 file

1.513

1 file

1.512

1 file

1.511

1 file

1.510

1 file

1.509

1 file

1.508

1 file

1.507

1 file

1.506

1 file

This release

1.505 This release

1 file

1.504

1 file

1.503

1 file

1.502

1 file

1.501

1 file

1.412

1 file

1.411

1 file

1.45

1 file

1.41

1 file

1.21

1 file

1.5

1 file

1.4

1 file

1.3

1 file

1.2

1 file

1.1

1 file

1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page