{"id":16181039,"url":"https://github.com/jakehartnell/moneybot","last_synced_at":"2025-09-02T13:06:59.821Z","repository":{"id":74623837,"uuid":"96459099","full_name":"JakeHartnell/moneybot","owner":"JakeHartnell","description":"backtest (and deploy) cryptocurrency trading strategies","archived":false,"fork":false,"pushed_at":"2017-08-02T17:09:39.000Z","size":2244,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T16:52:27.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakeHartnell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-06T18:12:57.000Z","updated_at":"2017-07-06T18:12:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f9afc33-62f3-4a35-9288-c4aaa32efd9e","html_url":"https://github.com/JakeHartnell/moneybot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JakeHartnell/moneybot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeHartnell%2Fmoneybot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeHartnell%2Fmoneybot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeHartnell%2Fmoneybot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeHartnell%2Fmoneybot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeHartnell","download_url":"https://codeload.github.com/JakeHartnell/moneybot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeHartnell%2Fmoneybot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273287679,"owners_count":25078575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T06:11:35.567Z","updated_at":"2025-09-02T13:06:59.792Z","avatar_url":"https://github.com/JakeHartnell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoneyBot\n\n[![Build Status](https://travis-ci.org/elsehow/moneybot.svg?branch=master)](https://travis-ci.org/elsehow/moneybot)\n\nMoneyBot allows you to backtest trading strategies, and deploy these strategies to live-trade, without changing code.\n\nFor now, MoneyBot only supports Poloniex. However, a generic `MarketAdapter` pattern could allow trading over many exchanges. PRs welcome!\n\n# install\n\nFirst, install Python dependencies.\n\n```\npython3 -m venv venv\nsource venv/bin/activate\npip3 install -r requirements.txt\n```\n\nThen setup up docker on your machine if you haven't already (note: for OSX we recommend using `docker-machine` instead of the docker app, which you can install with homebrew).\n\nNext, set up the Postgres database and restore the historical data. We provide scripts to automate this process with Docker (note, however, that you'll need to install postgres on your system for the restore, `brew install postgresql` with homebrew):\n\n```\ncd local-services/postgres\nmake image\nmake server\n./restore.sh\n```\n\n(By default, the database password is `secretpass` - you can change that in `local-services/postgres/Makefile`.)\n\n# use\n\nFirst, make sure Postgres is running (`cd local-services/postgres; make server`).\n\nThere are a few `Strategy` implementations in `moneybot.examples.strategies`.\n\n\u003eThe strategies included herein are viable for live-trading use, but crypto trading is serious business. It's entirely possible to lose a lot of money, very quickly. The authors of this library provide these for the sake of illustration and assume no responsibility for their performance if deployed.\n\n## backtesting\n\n```\npython3 examples/backtest.py -c config.yml -s buffed-coin\n```\n\n## live trading\n\n**NOTE**: See disclaimer!\n\nTo live-trade, you will need Poloniex API keys. You can generate those via the [Poloniex web interface](https://www.youtube.com/watch?v=OScIbgXZoW0). You'll only need to allow \"trading\" permissions on the keys. See the `config-example.yaml` file, add your Poloniex credentials and save it as `config.yml`.\n\n```\npython3 examples/live_trading.py -c config.yml -s buffed-coin\n```\n\n# disclaimer\n\nUse MoneyBot AT YOUR OWN RISK. Specifically,\n\n- Backtests are no guarantee of future/live performance.\n- MoneyBot relies on 3rd-party APIs, like Poloniex, which may fail at anytime.\n- MoneyBot is experimental software, and also may fail at any time.\n- Running a bot, and trading in general, requires careful study of the risks, and parameters. Wrong settings can cause a major loss.\n- Never leave MoneyBot un-monitored for long periods of time. Be prepared to stop it if too much loss occurs.\n\n*You alone* are responsible for anything that happens when you're live-trading!\n\n# license\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakehartnell%2Fmoneybot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakehartnell%2Fmoneybot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakehartnell%2Fmoneybot/lists"}