Skip to main content

QuantX SDK

Project description

QuantX SDK for Python

A Python library for the QuantX API.


pip install QuantX-SDK



from quantx_sdk import QX
qx = QX(public_key, secret_key)

You can get projects.

>>> qx.projects()
    "name": "project name".
    "hash": "xxx"

You can get source code.

>>> project = qx.projects()[0]
>>> project.source()
source code...

You can upload source code

>>> project.upload_source("source code")
>>> # or
>>> project.upload_source_file("")

You can run backtest

>>> backtest = project.backtest({'engine': 'maron-0.0.1b', 'to_date': '2017-12-31', 'from_date': '2017-12-01', 'capital_base': 10000000})
>>> # or
>>> backtest = project.backtest({}) # run default backtest parameters
>>> result = backtest.join() # backtest running other thread.
>>> summary = result.summary() # get backtest sumamry
>>> benchmark = result.benchmark() # benchmark is DataFrame

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

quantx_sdk-0.1.10.tar.gz (15.1 kB view hashes)

Uploaded source

Built Distribution

quantx_sdk-0.1.10-py3-none-any.whl (19.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page