bitfuncs


Namebitfuncs JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://gitlab.com/toopy/bitfuncs
SummarySome async funcs for trading.
upload_time2024-09-22 19:52:12
maintainerNone
docs_urlNone
authorFlorent Pigout
requires_pythonNone
licenseMIT
keywords async functions trading
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BitFuncs

Some async funcs for trading.

## Install

```bash
(pyenv)$ pip install bitfuncs
```

## Migrate

```bash
(pyenv)$ ASYNCSQL_SQL_DIR=bitfuncs/sql python -m asyncsql.migrate schema_0.1.0
```

## Run Backtest

```bash
(pyenv)$ BITFUNCS_ARGS_SYMBOL=AAPL chamallow examples/yahoo_backtest.yml
```

## Get Some Results

Best found params and position status as json:

```bash
$ cat var/BTC.json
{
  "macd_fastperiod": 16.0,
  "macd_slowperiod": 30.0,
  "macd_signalperiod": 11.0,
  "position": "none"
}
```

## Backtesting html page

```bash
$ xdg-open var/AAPL.html
.
```

## License

MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/toopy/bitfuncs",
    "name": "bitfuncs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "async, functions, trading",
    "author": "Florent Pigout",
    "author_email": "florent@toopy.org",
    "download_url": "https://files.pythonhosted.org/packages/7e/58/a303e3dccf8ad58982568137c299bd003ddaa3b623440d2e53ade4a1d44a/bitfuncs-0.2.0.tar.gz",
    "platform": null,
    "description": "# BitFuncs\n\nSome async funcs for trading.\n\n## Install\n\n```bash\n(pyenv)$ pip install bitfuncs\n```\n\n## Migrate\n\n```bash\n(pyenv)$ ASYNCSQL_SQL_DIR=bitfuncs/sql python -m asyncsql.migrate schema_0.1.0\n```\n\n## Run Backtest\n\n```bash\n(pyenv)$ BITFUNCS_ARGS_SYMBOL=AAPL chamallow examples/yahoo_backtest.yml\n```\n\n## Get Some Results\n\nBest found params and position status as json:\n\n```bash\n$ cat var/BTC.json\n{\n  \"macd_fastperiod\": 16.0,\n  \"macd_slowperiod\": 30.0,\n  \"macd_signalperiod\": 11.0,\n  \"position\": \"none\"\n}\n```\n\n## Backtesting html page\n\n```bash\n$ xdg-open var/AAPL.html\n.\n```\n\n## License\n\nMIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Some async funcs for trading.",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://gitlab.com/toopy/bitfuncs"
    },
    "split_keywords": [
        "async",
        " functions",
        " trading"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a82b79e2541df2900ad30c823e3db56bdb3ae35f97659c547075f142e7bf4ce0",
                "md5": "4cb78813e4aeb9fbcc99f89840b6ee57",
                "sha256": "8e3b542d64e6169fe32533e91cca231bf4ce6c67068fd289b92aa58284d77243"
            },
            "downloads": -1,
            "filename": "bitfuncs-0.2.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4cb78813e4aeb9fbcc99f89840b6ee57",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 16306,
            "upload_time": "2024-09-22T19:52:10",
            "upload_time_iso_8601": "2024-09-22T19:52:10.464166Z",
            "url": "https://files.pythonhosted.org/packages/a8/2b/79e2541df2900ad30c823e3db56bdb3ae35f97659c547075f142e7bf4ce0/bitfuncs-0.2.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e58a303e3dccf8ad58982568137c299bd003ddaa3b623440d2e53ade4a1d44a",
                "md5": "7e99b43124aebd835f76faf543967984",
                "sha256": "a495b651a13ae4ff1ff8dbe4e0516f01de9efa0586f8169add19153a592bb5d8"
            },
            "downloads": -1,
            "filename": "bitfuncs-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7e99b43124aebd835f76faf543967984",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12126,
            "upload_time": "2024-09-22T19:52:12",
            "upload_time_iso_8601": "2024-09-22T19:52:12.228326Z",
            "url": "https://files.pythonhosted.org/packages/7e/58/a303e3dccf8ad58982568137c299bd003ddaa3b623440d2e53ade4a1d44a/bitfuncs-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-22 19:52:12",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "toopy",
    "gitlab_project": "bitfuncs",
    "lcname": "bitfuncs"
}
        
Elapsed time: 0.64709s