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.2.tar.gz
(185.4 kB
view details)
Built Distribution
File details
Details for the file qubx-0.4.2.tar.gz
.
File metadata
- Download URL: qubx-0.4.2.tar.gz
- Upload date:
- Size: 185.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f4c3e891f6be75802a669fd96612e1da1618805d374c70bc63c13024191d487 |
|
MD5 | b54b6fbd37e7dd1cde0d5c47912e99ad |
|
BLAKE2b-256 | 14f8014591e2d6a9b95753e1f33fc332fd72db125d20bb1eb0f26e915bdfeeff |
File details
Details for the file qubx-0.4.2-cp311-cp311-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: qubx-0.4.2-cp311-cp311-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 728.3 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 | 74bfc183312eb4095118714e59cdc9ad48f81550495d183fd7becafcd2cc9360 |
|
MD5 | 2fcd341688a5b5378a68bebfc9b5f6f0 |
|
BLAKE2b-256 | e8d151b297e5cb35fdf40ebd5aee7c859d1e1f8480d01440e423a91ffb01200f |