Some async funcs for trading.
Project description
BitFuncs
Some async funcs for trading.
Install
(pyenv)$ pip install bitfuncs
Migrate
(pyenv)$ ASYNCSQL_SQL_DIR=bitfuncs/sql python -m asyncsql.migrate schema_0.1.0
Run Backtest
(pyenv)$ BITFUNCS_ARGS_SYMBOL=AAPL chamallow examples/yahoo_backtest.yml
Get Some Results
Best found params and position status as json:
$ cat var/BTC.json
{
"macd_fastperiod": 16.0,
"macd_slowperiod": 30.0,
"macd_signalperiod": 11.0,
"position": "none"
}
Backtesting html page
$ xdg-open var/AAPL.html
.
License
MIT
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
bitfuncs-0.2.0.tar.gz
(12.1 kB
view details)
Built Distribution
File details
Details for the file bitfuncs-0.2.0.tar.gz
.
File metadata
- Download URL: bitfuncs-0.2.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a495b651a13ae4ff1ff8dbe4e0516f01de9efa0586f8169add19153a592bb5d8 |
|
MD5 | 7e99b43124aebd835f76faf543967984 |
|
BLAKE2b-256 | 7e58a303e3dccf8ad58982568137c299bd003ddaa3b623440d2e53ade4a1d44a |
File details
Details for the file bitfuncs-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: bitfuncs-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e3b542d64e6169fe32533e91cca231bf4ce6c67068fd289b92aa58284d77243 |
|
MD5 | 4cb78813e4aeb9fbcc99f89840b6ee57 |
|
BLAKE2b-256 | a82b79e2541df2900ad30c823e3db56bdb3ae35f97659c547075f142e7bf4ce0 |