{ "info": { "author": "AkiraTaniguchi DaikiShiroi Monji", "author_email": "a.taniguchi@techbureau.jp daikishiroi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only" ], "description": "ZaifBot\n=======\n\n:chart\\_with\\_upwards\\_trend: algorithmic trading bot for zaif exchange\n\n|Python version| |PyPI version| |License: MIT|\n\n| ZaifBot is a Pythonic algorithmic trading library that run on `Zaif\n Exchange `__.\n| It is developed by using Python 3.5.3 and tested in Python 3.4, 3.5,\n 3.6.\n\nFeatures\n--------\n\n- Easy to use: Zaifbot is library for trading beginners, so designed\n simple.\n- Support all currency pairs dealt with `Zaif\n Exchange `__\n- Technical indicators like SMA, EMA, Bollinger Bands, RSI, ADX\n- You don't have to prepare market data. Zaifbot internal get data from\n `zaif\n API `__\n\n| To get started with Zaifbot take a look at the\n `tutorial `__\n and the `full\n documentation `__.\n| `\u300eZaifBot\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300f `__\n\n**Note:** ZaifBot is unofficial library of `Tech Bureau,\nInc. `__ Please use it at your own risk.\n\nInstallation\n------------\n\ninstaling with pip\n~~~~~~~~~~~~~~~~~~\n\nAfter activating an isolated Python environment, run\n\n.. code:: bash\n\n $ pip install zaifbot\n\ncurrently supported platforms includes:\n\n- Linux 64-bits\n- OSX 64-bits\n- Windows 64-bits\n\n**Note:** if you use **OSX**, we assume\n`homebrew `__ is installed.\n\nSetup\n-----\n\nAfter installing Zaifbot, run\n\n.. code:: bash\n\n $ install_ta_lib\n\n| TA-Lib is open-source library of technical analysis indicators that\n ZaifBot is depending on.\n| This command install TA-Lib in your operating system.\n\nthen,\n\n.. code:: bash\n\n $ init_database\n\n| When ``init_database`` command is executed,\n| ``db/zaifbot.db`` is created for SQLite and schema is migrated.\n| Your Trade records will be saved in this file.\n\nQuick Start\n-----------\n\nSee our `getting started\ntutorial `__\n\nThe following code implements a simple trading algorithm using zaifbot\n\n.. code:: python\n\n from zaifbot.trade import Strategy\n from zaifbot.rules import Entry, Exit\n from zaifbot.config import set_keys\n from zaifbot.trade.tools import last_price\n\n # setting your Zaif API key\n set_keys(key='your_key', secret='your_secret')\n\n\n # creating rule to buy\n class BuyWhenCheap(Entry):\n def can_entry(self):\n if last_price(self._currency_pair.name) < 25000:\n return True\n return False\n\n # creating rule to exit\n class ExitWhenPriceGoUp(Exit):\n def can_exit(self, trade):\n # 'trade' has the entry information\n current_price = last_price(trade.currency_pair.name)\n if current_price > trade.entry_price + 5000:\n return True\n return False\n\n my_entry = BuyWhenCheap(currency_pair='btc_jpy',\n amount=0.01,\n action='bid')\n my_exit = ExitWhenPriceGoUp()\n\n # strategy is an unite of automated trading\n my_strategy = Strategy(entry_rule=my_entry,\n exit_rule=my_exit)\n\n my_strategy.start(sec_wait=1)\n\nFeedback\n--------\n\nIf you have a question, or find a bug, feel free to open an issue.\n\nContributing\n------------\n\n| Any kind of contributions are welcome.\n| Please contribute by following the steps below.\n\n1. Fork and clone this repository to your computer\n2. Run ``docker build -t zaifbot .`` to create development environment\n3. Edit source code and make pull request to ``depelop`` branch\n\n.. |Python version| image:: https://img.shields.io/badge/python-3.4%2C%203.5%2C%203.6-blue.svg\n :target: https://pypi.python.org/pypi/zaifbot\n.. |PyPI version| image:: https://badge.fury.io/py/zaifbot.svg\n :target: https://badge.fury.io/py/zaifbot\n.. |License: MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n :target: https://opensource.org/licenses/MIT\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/techbureau/zaifbot", "keywords": "zaif bit coin btc xem mona jpy virtual currency block chain bot", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "zaifbot", "package_url": "https://pypi.org/project/zaifbot/", "platform": "", "project_url": "https://pypi.org/project/zaifbot/", "project_urls": { "Homepage": "https://github.com/techbureau/zaifbot" }, "release_url": "https://pypi.org/project/zaifbot/0.0.8/", "requires_dist": null, "requires_python": "", "summary": "trading bot framework for zaif exchange", "version": "0.0.8" }, "last_serial": 3149432, "releases": { "0.0.0.dev1": [ { "comment_text": "", "digests": { "md5": "d3aad9192b5424ffd4899d30ac8a390b", "sha256": "361f9a5cf14b6a331b4d3cba1d30c70f381923c2c8288e852292dee276d40f39" }, "downloads": -1, "filename": "zaifbot-0.0.0.dev1.tar.gz", "has_sig": false, "md5_digest": "d3aad9192b5424ffd4899d30ac8a390b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4525, "upload_time": "2017-02-22T06:45:29", "url": "https://files.pythonhosted.org/packages/f4/37/5a7eb845574b34cf4bbc6b13a7d4b157c2a108d55ae90033dda54d8f8e6c/zaifbot-0.0.0.dev1.tar.gz" } ], "0.0.0.dev2": [ { "comment_text": "", "digests": { "md5": "97da1ec578804bdf36b4d65e67cf5681", "sha256": "592b4200759bd91e739bee2586898766f68b8e3dbe5ad563be32ff7caf9983a0" }, "downloads": -1, "filename": "zaifbot-0.0.0.dev2.tar.gz", "has_sig": false, "md5_digest": "97da1ec578804bdf36b4d65e67cf5681", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9423, "upload_time": "2017-04-04T04:48:15", "url": "https://files.pythonhosted.org/packages/7e/ae/9615f36fa71ea5210033c10ab9ebc1c1188979a936e5da8f6fca317259cf/zaifbot-0.0.0.dev2.tar.gz" } ], "0.0.0.dev3": [ { "comment_text": "", "digests": { "md5": "11324999969652caced44ce48f4c97c2", "sha256": "6ac35e75063afa240988331abc272b3c6c46af3c815cbb2080fd8561d8ccc07d" }, "downloads": -1, "filename": "zaifbot-0.0.0.dev3.tar.gz", "has_sig": false, "md5_digest": "11324999969652caced44ce48f4c97c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10542, "upload_time": "2017-05-15T10:41:07", "url": "https://files.pythonhosted.org/packages/4d/df/6f705aa6660ce17e7df7d69f3ddf98a5c41d5c736e9ab0cdbc4e5742995b/zaifbot-0.0.0.dev3.tar.gz" } ], "0.0.0.dev4": [ { "comment_text": "", "digests": { "md5": "9d950623bdde155414d21a877f56f4c9", "sha256": "b5eef32e0e2f5da961ef948f8b2a96c7da586e7ed5f906639b006dcae5a1a2ee" }, "downloads": -1, "filename": "zaifbot-0.0.0.dev4.tar.gz", "has_sig": false, "md5_digest": "9d950623bdde155414d21a877f56f4c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12098, "upload_time": "2017-05-23T08:34:42", "url": "https://files.pythonhosted.org/packages/6c/39/19e93c92eb42bde468314ce971384c0c66c00b6140b02ae86fc29c4d3462/zaifbot-0.0.0.dev4.tar.gz" } ], "0.0.0.dev5": [ { "comment_text": "", "digests": { "md5": "a69c623dc50e2839c1569609eebf4793", "sha256": "6452e25e6fa865429004ab9300afc086ddafa76d8ea2fb43fbdb29a190f90fe8" }, "downloads": -1, "filename": "zaifbot-0.0.0.dev5.tar.gz", "has_sig": false, "md5_digest": "a69c623dc50e2839c1569609eebf4793", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12089, "upload_time": "2017-05-23T08:39:52", "url": "https://files.pythonhosted.org/packages/92/1b/1bc0aa029ced3274ba8370746980e532d0da6c2069bb486a2344f05394f7/zaifbot-0.0.0.dev5.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "c4c76fd753e541660f48ae0bfd90c0e0", "sha256": "2c327e757214cbaa62ca171bfa4cdf763d3c6aa958203db022305583541dcc13" }, "downloads": -1, "filename": "zaifbot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c4c76fd753e541660f48ae0bfd90c0e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12074, "upload_time": "2017-05-23T08:45:19", "url": "https://files.pythonhosted.org/packages/7e/d4/ba118f5a50ebdc8bd0ba128e9b6de4f3f7a8ae9a080638f5e71bd361b0ed/zaifbot-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "007b8c8cd6f73988f47938e3e0effb64", "sha256": "b1c5c90fee8b7804f118d1f026d0140467fa34c9354ecc144aaa7756cebe0738" }, "downloads": -1, "filename": "zaifbot-0.0.2.tar.gz", "has_sig": false, "md5_digest": "007b8c8cd6f73988f47938e3e0effb64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12323, "upload_time": "2017-05-25T10:38:41", "url": "https://files.pythonhosted.org/packages/c2/02/7359635b90ef6798110f6c6bc3406920e4fce3bd3a29b59803bab2332566/zaifbot-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a50fc74ef5d92d3c98b3a65ef06b1549", "sha256": "6f69ba3c0b41d0c64bb5634422c424e5def3a559a7309eb029c839dbc033b582" }, "downloads": -1, "filename": "zaifbot-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a50fc74ef5d92d3c98b3a65ef06b1549", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12406, "upload_time": "2017-05-26T06:17:47", "url": "https://files.pythonhosted.org/packages/b9/13/2789f54262be566c23c349db82e418e2ec359d824642f716842004aa5786/zaifbot-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "e1e0080747f1742a9bfdb10f5d3be1e1", "sha256": "0bbb625431c365d9027cc41e8984cc9b3351e3f7171810e375e1d6a1570fd488" }, "downloads": -1, "filename": "zaifbot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e1e0080747f1742a9bfdb10f5d3be1e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13997, "upload_time": "2017-06-02T03:10:57", "url": "https://files.pythonhosted.org/packages/59/b1/102d9ab74583c8c44edbbef19b0537e07616656b254bb7dfba7025d28ff0/zaifbot-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "35f3e4eda9ac9df7f75193f04ac3b684", "sha256": "70489f524078dd89df35bddb4f649f3f3509c1fbe9b85d62721bafe745285ad7" }, "downloads": -1, "filename": "zaifbot-0.0.5.tar.gz", "has_sig": false, "md5_digest": "35f3e4eda9ac9df7f75193f04ac3b684", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6331028, "upload_time": "2017-07-31T08:44:28", "url": "https://files.pythonhosted.org/packages/7c/c3/2ab96469980a6a60bffaa1f4373d1af0f70b41eb60ac6329839187f715a8/zaifbot-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "a2fec41f6413ee03c897d774d76ca445", "sha256": "237a32638870dbcf76b28687dd1afc013ab70b8166860d736837c0d5bcf6db6a" }, "downloads": -1, "filename": "zaifbot-0.0.6.tar.gz", "has_sig": false, "md5_digest": "a2fec41f6413ee03c897d774d76ca445", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6332080, "upload_time": "2017-08-03T07:58:20", "url": "https://files.pythonhosted.org/packages/02/6b/47650f5a66e85013db3609780a0a314e11fc70c18bb7b7da0151b7e11a04/zaifbot-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "b19ed2265d1a9a2b000dad84cfa64212", "sha256": "710778ed75d9e52067f17f035f8be54d1273db02d8df038f696aba41fd901731" }, "downloads": -1, "filename": "zaifbot-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b19ed2265d1a9a2b000dad84cfa64212", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6336300, "upload_time": "2017-08-21T01:32:39", "url": "https://files.pythonhosted.org/packages/11/fa/8053fd01b025856be876db2269d18038247cc7e1cfa11c7a3b122c1747c0/zaifbot-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "dd54f57252908a5d41c1d2acd6ee3973", "sha256": "43fc13f6a844e9e980b32ea2a9dae9dec7d2b72876b8c9a831e7753a91eecd29" }, "downloads": -1, "filename": "zaifbot-0.0.8.tar.gz", "has_sig": false, "md5_digest": "dd54f57252908a5d41c1d2acd6ee3973", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6335028, "upload_time": "2017-09-05T07:00:23", "url": "https://files.pythonhosted.org/packages/ec/ce/5abd6e57030f7d3558b01035582aa4db46500a03f60dd23f443f18150438/zaifbot-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dd54f57252908a5d41c1d2acd6ee3973", "sha256": "43fc13f6a844e9e980b32ea2a9dae9dec7d2b72876b8c9a831e7753a91eecd29" }, "downloads": -1, "filename": "zaifbot-0.0.8.tar.gz", "has_sig": false, "md5_digest": "dd54f57252908a5d41c1d2acd6ee3973", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6335028, "upload_time": "2017-09-05T07:00:23", "url": "https://files.pythonhosted.org/packages/ec/ce/5abd6e57030f7d3558b01035582aa4db46500a03f60dd23f443f18150438/zaifbot-0.0.8.tar.gz" } ] }