Skip to main content

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

Metadata

Release files for bitfuncs 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitfuncs 0.2.0
File Size Uploaded
bitfuncs-0.2.0.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bitfuncs 0.2.0
File Interpreter ABI Platform
bitfuncs-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 28.4 kB

Release files / bitfuncs-0.2.0.tar.gz

Download URL bitfuncs-0.2.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a495b651a13ae4ff1ff8dbe4e0516f01de9efa0586f8169add19153a592bb5d8
BLAKE2b-256 checksum
How to use checksums
7e58a303e3dccf8ad58982568137c299bd003ddaa3b623440d2e53ade4a1d44a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Release files / bitfuncs-0.2.0-py2.py3-none-any.whl

Download URL bitfuncs-0.2.0-py2.py3-none-any.whl
Size 16.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8e3b542d64e6169fe32533e91cca231bf4ce6c67068fd289b92aa58284d77243
BLAKE2b-256 checksum
How to use checksums
a82b79e2541df2900ad30c823e3db56bdb3ae35f97659c547075f142e7bf4ce0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page