binpan


Namebinpan JSON
Version 0.0.78 PyPI version JSON
download
home_pagehttps://github.com/nand0san/binpan_studio
SummaryBinance API wrapper with backtesting tools.
upload_time2022-08-19 18:57:57
maintainer
docs_urlNone
authorFernando Alfonso
requires_python>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements pandas redis numpy pycryptodome pytz tqdm plotly py-cpuinfo pandas-ta scipy
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Welcome to BinPan's documentation!
==================================

BinPan is a Python wrapper for Binance API. Useful creating objects with many capabilities in data analysis.

BinPan can show plots easily and fetch API requests into the same object. It can also obtain some technical indicators.

The target of this module is to have a fast tool for collecting and handling data from the Binance API easily.

It is intended to be useful in Jupyter Notebooks or even the python console, but it can be used in
many other ways.

BinPan manages symbol objects that can do:

- get candles with time zone and indexing options.
- get trades.
- calculate technical indicators.
- plot candles, histograms, indicators, etc in a very simple and beautiful way.
- check applied fees.

An example of a plot for candles and indicators:

![](https://raw.githubusercontent.com/nand0san/binpan_studio/main/docs/images/candles.png)


BinPan contains no binance **order method, withdraw method** or any dangerous command.

If you decide to add API keys for using some account methods, BinPan will encrypt it in a file, and in memory,
but it is better not enabling trading capability on the Binance API key configuration, just for your own peace of mind.

Be careful out there!


Documentation
-------------
Take a look to the basic **tutorial**. Find it in the Jupyter Notebook file **tutorial.ipynb**

Also, can be found Sphinx documentation at: 

https://nand0san.github.io/binpan_studio/

Hope you find it useful breaking the market!!!

Python Version and Google Colab
-------------------------------

Please install in google colab with: `!pip install binpan`, then push restart runtime button and import library as usual.

Recommended Python version: ```3.7```

GitHub repo
-----------

https://github.com/nand0san/binpan_studio


Installation
------------
Pypi repository: https://pypi.org/project/binpan/

```
   pip install binpan
```

Usage
-----

Importing just like this:

```
    from binpan import binpan

    btcusdt = binpan.Symbol(symbol='btcusdt',
                            tick_interval='15m',
                            time_zone='Europe/Madrid',
                            start_time='2021-10-31 01:00:00',
                            end_time='2021-10-31 03:00:00')
                            
    btcusdt.sma(21)
    
    btcusdt.plot()
    
```

### Greetings

Thank you for the pandas_ta people for that great library.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nand0san/binpan_studio",
    "name": "binpan",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Fernando Alfonso",
    "author_email": "hancaidolosdos@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4b/18/fb60870ffb4d978ed1fe7d256b924449e661749a0cc44da27ba5e943bd0e/binpan-0.0.78.tar.gz",
    "platform": null,
    "description": "Welcome to BinPan's documentation!\r\n==================================\r\n\r\nBinPan is a Python wrapper for Binance API. Useful creating objects with many capabilities in data analysis.\r\n\r\nBinPan can show plots easily and fetch API requests into the same object. It can also obtain some technical indicators.\r\n\r\nThe target of this module is to have a fast tool for collecting and handling data from the Binance API easily.\r\n\r\nIt is intended to be useful in Jupyter Notebooks or even the python console, but it can be used in\r\nmany other ways.\r\n\r\nBinPan manages symbol objects that can do:\r\n\r\n- get candles with time zone and indexing options.\r\n- get trades.\r\n- calculate technical indicators.\r\n- plot candles, histograms, indicators, etc in a very simple and beautiful way.\r\n- check applied fees.\r\n\r\nAn example of a plot for candles and indicators:\r\n\r\n![](https://raw.githubusercontent.com/nand0san/binpan_studio/main/docs/images/candles.png)\r\n\r\n\r\nBinPan contains no binance **order method, withdraw method** or any dangerous command.\r\n\r\nIf you decide to add API keys for using some account methods, BinPan will encrypt it in a file, and in memory,\r\nbut it is better not enabling trading capability on the Binance API key configuration, just for your own peace of mind.\r\n\r\nBe careful out there!\r\n\r\n\r\nDocumentation\r\n-------------\r\nTake a look to the basic **tutorial**. Find it in the Jupyter Notebook file **tutorial.ipynb**\r\n\r\nAlso, can be found Sphinx documentation at: \r\n\r\nhttps://nand0san.github.io/binpan_studio/\r\n\r\nHope you find it useful breaking the market!!!\r\n\r\nPython Version and Google Colab\r\n-------------------------------\r\n\r\nPlease install in google colab with: `!pip install binpan`, then push restart runtime button and import library as usual.\r\n\r\nRecommended Python version: ```3.7```\r\n\r\nGitHub repo\r\n-----------\r\n\r\nhttps://github.com/nand0san/binpan_studio\r\n\r\n\r\nInstallation\r\n------------\r\nPypi repository: https://pypi.org/project/binpan/\r\n\r\n```\r\n   pip install binpan\r\n```\r\n\r\nUsage\r\n-----\r\n\r\nImporting just like this:\r\n\r\n```\r\n    from binpan import binpan\r\n\r\n    btcusdt = binpan.Symbol(symbol='btcusdt',\r\n                            tick_interval='15m',\r\n                            time_zone='Europe/Madrid',\r\n                            start_time='2021-10-31 01:00:00',\r\n                            end_time='2021-10-31 03:00:00')\r\n                            \r\n    btcusdt.sma(21)\r\n    \r\n    btcusdt.plot()\r\n    \r\n```\r\n\r\n### Greetings\r\n\r\nThank you for the pandas_ta people for that great library.\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Binance API wrapper with backtesting tools.",
    "version": "0.0.78",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e9dd4f36457ab8ee61b2e6167caef09d",
                "sha256": "d7ce9ac3c0009a0da177cf7a85e41a73c9022da0527a6fc65bcdaec51a35db24"
            },
            "downloads": -1,
            "filename": "binpan-0.0.78.tar.gz",
            "has_sig": false,
            "md5_digest": "e9dd4f36457ab8ee61b2e6167caef09d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 73653,
            "upload_time": "2022-08-19T18:57:57",
            "upload_time_iso_8601": "2022-08-19T18:57:57.564394Z",
            "url": "https://files.pythonhosted.org/packages/4b/18/fb60870ffb4d978ed1fe7d256b924449e661749a0cc44da27ba5e943bd0e/binpan-0.0.78.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-08-19 18:57:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "nand0san",
    "github_project": "binpan_studio",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pandas",
            "specs": [
                [
                    "==",
                    "1.3.5"
                ]
            ]
        },
        {
            "name": "redis",
            "specs": [
                [
                    "==",
                    "4.3.4"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.21.6"
                ]
            ]
        },
        {
            "name": "pycryptodome",
            "specs": [
                [
                    "==",
                    "3.15.0"
                ]
            ]
        },
        {
            "name": "pytz",
            "specs": [
                [
                    "==",
                    "2022.1"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    "==",
                    "4.64.0"
                ]
            ]
        },
        {
            "name": "plotly",
            "specs": [
                [
                    "==",
                    "5.9.0"
                ]
            ]
        },
        {
            "name": "py-cpuinfo",
            "specs": [
                [
                    "==",
                    "8.0.0"
                ]
            ]
        },
        {
            "name": "pandas-ta",
            "specs": [
                [
                    "==",
                    "0.3.14b0"
                ]
            ]
        },
        {
            "name": "scipy",
            "specs": [
                [
                    "~=",
                    "1.7.3"
                ]
            ]
        }
    ],
    "lcname": "binpan"
}
        
Elapsed time: 0.49403s