{"id":13604966,"url":"https://github.com/markusaksli/TradeBot","last_synced_at":"2025-04-12T02:32:27.855Z","repository":{"id":41139190,"uuid":"247912253","full_name":"markusaksli/TradeBot","owner":"markusaksli","description":"Crypto trading bot using Binance API (Java)","archived":false,"fork":false,"pushed_at":"2024-11-05T12:28:08.000Z","size":23600,"stargazers_count":388,"open_issues_count":21,"forks_count":138,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-05T13:41:37.171Z","etag":null,"topics":["backtesting","backtesting-trading-strategies","binance-api","bot","crypto-trading-bot","cryptocurrency","macd","market","market-data","profitability","rsi","signals","technical-analysis","technical-indicators","tradebot","trading","trading-bot","trading-strategies"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markusaksli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2020-03-17T08:05:00.000Z","updated_at":"2024-11-05T12:28:07.000Z","dependencies_parsed_at":"2024-01-16T23:29:37.719Z","dependency_job_id":"96881bad-7226-436c-9452-7a312b01ab41","html_url":"https://github.com/markusaksli/TradeBot","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusaksli%2FTradeBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusaksli%2FTradeBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusaksli%2FTradeBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markusaksli%2FTradeBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markusaksli","download_url":"https://codeload.github.com/markusaksli/TradeBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223489710,"owners_count":17153810,"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","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":["backtesting","backtesting-trading-strategies","binance-api","bot","crypto-trading-bot","cryptocurrency","macd","market","market-data","profitability","rsi","signals","technical-analysis","technical-indicators","tradebot","trading","trading-bot","trading-strategies"],"created_at":"2024-08-01T19:00:53.161Z","updated_at":"2024-11-07T09:31:21.102Z","avatar_url":"https://github.com/markusaksli.png","language":"Java","readme":"# This was mostly a university and personal project and will no longer be updated\n\n![TradeBotWide](https://user-images.githubusercontent.com/54057327/110005245-f18e6a80-7d20-11eb-9798-c6bb1213c508.png)\n\nTradeBot is a cryptocurrency trading bot that uses the Binance API, and a strategy based on a couple of 5 minute chart\nindicators\n\n- (RSI, MACD, Bollinger Bands)\n\n[Download the latest release](https://github.com/markusaksli/TradeBot/releases/latest)\n\n### How?\n\n- The bot uses 5 different indicators: DBB, EMA, MACD, RSI, SMA. The three main indicators will fire off a buy signal\n  when a certain state has been achieved.\n- When the bot has collected enough signals, an order will be placed on the market.\n- Vice versa, if enough sell signals are signals are fired, a sell order will be placed.\n\nThe config for the bot can be changed using the `config.txt` file\n\n# Modes\n\n### Live\n\n- **This is not a financial service or investment advice!**\n\n  - **The default config and strategy implemented in the source code of the project serve as an example and are\n    open-source.**\n\n  - **While we intend to contribute to make the bot work well out-of-the-box, we make no specific claims about the\n    profitability of it in the current market climate!**\n\n- **Backtest your config and make sure you are ready to use this mode at your own risk!**\n\n- This mode trades with real money on the Binance platform\n\n- API key and Secret key required\n\n- You can choose to add your credentials to the `credentials.txt` file for easier use\n\n- Currently only supports market orders, this will cause a slight efficiency loss.\n\n### Simulation\n\n- Real-time trading simulation based on actual market data\n\n- Trades are only simulated based on market prices\n\n- No actual orders are made\n\n### Backtesting\n\n- Simulation based on historical data\n\n- Allows for quick testing of the behavior and profitability of the bot\n\n- Data needs to be loaded from a `.dat` file created with the `Collection` mode\n\n### Collection\n\n- Collects raw market price data (aggregated trades) from a specified time period\n\n- Collected data is saved in a file in the `backtesting` directory\n\n- Collected data can be exported to a `.csv` format\n\n- Never run more than one TradeBot with this mode at the same time, you will likely hit the API request limit.\n\n# Config\n\n- `MACD change indicator` - Change of MACD line to count as a buy signal (decimal)\n- `RSI positive side minimum` - Strong buy signal (2) if RSI is below this (integer)\n- `RSI positive side maximum` - Buy signal if RSI is below this (integer)\n- `RSI negative side minimum` - Sell signal if RSI is above this (integer)\n- `RSI negative side maximum` - Strong sell signal (2) if RSI is above this (integer)\n- `Simulation mode starting value` - Amount of FIAT to start with in Simulation (integer)\n- `Percentage of money per trade` - How much of available fiat to put into each trade (decimal)\n- `Trailing SL` - Trailing Stop Loss (decimal)\n- `Take profit` - Profit to close trade at (decimal)\n- `Confluence` - How many indicators have to give a buy signal to buy (integer)\n- `Close confluence` - How many indicators have to give a sell signal to sell (integer)\n- `Use confluence to close` - Whether to use sell signals to close or not (true/false)\n- `Currencies to track` - What currencies to track in simulation and live (ex BTC, ETH, ADA...)\n- `FIAT` - What currency to trade against (ex USDT)\n\nSee the included config file for a ready to use example\n\nSetup the credentials.txt file to automatically log into live mode without having to enter your credentials\n\n# Issues, suggestions and contributing\n\nIf you run into any issues while using the bot or if you want to request any changes or new features, open a new issue\nto let us know.\n\nIf you would like to contribute to the development and profitability of the bot, simply open a PR or let us know.\n\nThere are some open issues that set a general direction for development once the current implementation of the bot works reliably in Live mode (modularize, separate backend, create GUI, communicate with GUI through API).\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusaksli%2FTradeBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkusaksli%2FTradeBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkusaksli%2FTradeBot/lists"}