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.2.82.tar.gz
(172.0 kB
view details)
Built Distribution
File details
Details for the file qubx-0.2.82.tar.gz
.
File metadata
- Download URL: qubx-0.2.82.tar.gz
- Upload date:
- Size: 172.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75c1419656f62afc1747bbd7efd6189bcd54f0f232c0371d855ec818dd2b4ff |
|
MD5 | 116deec14fdabaa767d80cd8e1633a4a |
|
BLAKE2b-256 | 7952248e5233311bb1da017eeb7f79d15fabe57de3b328d6b7e4972fad91011b |
File details
Details for the file qubx-0.2.82-cp311-cp311-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: qubx-0.2.82-cp311-cp311-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 700.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 | f6f994d18f6d795446e5a5cd9d385399a94ac0243e06d4cfefd29058c4f74adc |
|
MD5 | 003ba3a0b76a0b8241f1ad552b153353 |
|
BLAKE2b-256 | 4ba151eb6f45387416b00f5e7d22ea1d57a18246a03bf43eaa9815f1e5269d03 |