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 hashes)
Built Distribution
Close
Hashes for bitfuncs-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e3b542d64e6169fe32533e91cca231bf4ce6c67068fd289b92aa58284d77243 |
|
MD5 | 4cb78813e4aeb9fbcc99f89840b6ee57 |
|
BLAKE2b-256 | a82b79e2541df2900ad30c823e3db56bdb3ae35f97659c547075f142e7bf4ce0 |