Skip to main content

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


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)

Uploaded Source

Built Distribution

bitfuncs-0.2.0-py2.py3-none-any.whl (16.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page