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)
- cd experiments/
- 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)
- 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
- 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
Release history Release notifications | RSS feed
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.4.0.tar.gz
(180.7 kB
view details)
Built Distribution
File details
Details for the file qubx-0.4.0.tar.gz
.
File metadata
- Download URL: qubx-0.4.0.tar.gz
- Upload date:
- Size: 180.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 430d80935172528148efe75f012d45a3c32fa51633283aceef7f48ed1d5eeb9a |
|
MD5 | 9234013265c2f4b7d3477647ef0ab8d9 |
|
BLAKE2b-256 | 371a34e27dc875ad217bff7e9e700b5fa4f0f8135e76cf11adbfb448ee0f0b0f |
File details
Details for the file qubx-0.4.0-cp311-cp311-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: qubx-0.4.0-cp311-cp311-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 722.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 846b37d55e683e327e275913b9dc5a40e9c79b058be13564c53bcbacf3893592 |
|
MD5 | 77784ac9ae998f352a2b3e6f03e21bcf |
|
BLAKE2b-256 | bdaa60fba14fa63597eda5bc31648a846dd6d058f039519bc0025d7696701d2a |