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.71.tar.gz
(162.9 kB
view hashes)
Built Distribution
Close
Hashes for qubx-0.2.71-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5183137a06ce4bfee149134f509d905f34f042c5655024bed0b7d769443d14d2 |
|
MD5 | 236bfea6f0966ce47d09bbfa4ac3d5ae |
|
BLAKE2b-256 | 06d6ef9d575cd07a0e7ee293c2ce6fbbe3b7b2d7c6d4f0b85e09dd2dd6d23622 |