Skip to main content

Qubx - quantitative trading framework

Project description

Qubx

Next generation of Qube quantitative backtesting framework (QUBX)

⠀⠀⡰⡖⠒⠒⢒⢦⠀⠀
⠀⢠⠃⠈⢆⣀⣎⣀⣱⡀  QUBX | Quantitative Backtesting Environment
⠀⢳⠒⠒⡞⠚⡄⠀⡰⠁         (c) 2024, by Dmytro Mariienko
⠀⠀⠱⣜⣀⣀⣈⣦⠃⠀⠀⠀

Installation

pip install qubx

How to run live trading (Only Binance spot tested)

  1. cd experiments/
  2. Edit strategy config file (zero_test.yaml). Testing strategy is just doing flip / flop trading once per minute (trading_allowed should be set for trading)
  3. Modify accounts config file under ./configs/.env and provide your API binance credentials (see example in example-accounts.cfg):
[binance-mde]
apiKey = ...
secret = ...
base_currency = USDT
  1. Run in console (-j key if want to run under jupyter console)
> python ..\src\qubx\utils\runner.py configs\zero_test.yaml -a configs\.env -j 

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

qubx-0.3.0.tar.gz (178.6 kB view details)

Uploaded Source

Built Distribution

qubx-0.3.0-cp311-cp311-manylinux_2_35_x86_64.whl (717.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.35+ x86-64

File details

Details for the file qubx-0.3.0.tar.gz.

File metadata

  • Download URL: qubx-0.3.0.tar.gz
  • Upload date:
  • Size: 178.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for qubx-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c948bc08f33673ce106793a05007e5e0869853b52635a2808f52fb690b801c93
MD5 12f14e87d1d2e2bce0c73d7c0f269034
BLAKE2b-256 7c6dcef732c7394c5489dbc63630fabd2e296611efc9f940666f99e62e43d09c

See more details on using hashes here.

File details

Details for the file qubx-0.3.0-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for qubx-0.3.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 a3771f531ebaf0df976f4b914aa5993dc650dc4f2cdf3f9421aa3dbe422f54a5
MD5 c41c4c01ac91d58ac8016cece2e45073
BLAKE2b-256 dd977d11ddf67a6bba14bc2ff9f2fa89950bb7cc9273743aab7a07ec46c92412

See more details on using hashes here.

Supported by

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