Note: crypto has yet to be tested for backtesting. The crypto will be used for live trading (if enabled). crypto.jsonĮdit your crypto symbols in this file. Tip: You may want to increase the thresholdToBuy setting to 40 which will tell the bot to be stricter when buying stocks. A more detailed explanation of algo settings is coming soon. useStandardAlgos true/false - to use standard technical indicators like bullish/bearish patterns (default: false)įeel free to tweak the settings in algo.json file as much as you like.thresholdToSell 25 - overall weightings threshold from signals to trigger a SELL order.thresholdToBuy 35 - overall weightings threshold from signals to trigger a BUY order.It may be better to retain the current setup and use the basic properties below until you have spent time analysing your trading ROI (both live/paper and back testing). The algorithms / technical indicators are massively customizable and have been tested for optimal performance. The stocks will be used as your default stocks for live trading as well as the stocks used for back testing (if enabled). stocks.jsonĮdit your stock symbols/tickers in this file. If you wish to do so, set useClosePositionsBeforeMarketClose to false (then restart the docker process). It may be beneficial to keep your positions, especially if you're at a loss, but its completely up to you. Tip: All positions will automatically close (sell) 15mins before end of the market closing. isBacktest true/false - to use back testing functionality (default: false).isPaper true/false - to use paper trading account (default: true).provider alpaca - trading provider to use (currently only Alpaca is available).Just Control-C out of the current process and then docker-compose up again. Tip: You need to restart your Docker container each time you make a change to your settings or code. You can find all settings and their explanations later in this readme. It's worth familiarizing yourself with the basic settings before you run docker-compose up during the installation. You can also visit ( to view and manage MongoDb data Once you've created a new user, you can re-run the trading bot in the future by visiting ( However, you may need to stop the docker container and start it again to rerun the trading bot (this is due to only 1 connection allowed per trading account on Alpaca). Important: keep your key/secret locally, don't commit it or share with anyone.Įnsure you have edited your settings.json for live/paper trading or back testingĬreate a new user by going here: ( You'll then be redirected to the trading terminal. env and then add your Alpaca key (API_KEY) and secret (SECRET_API_KEY). Once you have a paper trading account you can create your API key and secret which will be needed in the next step.Ĭopy. You don't need to spend real dollars to test this project. We recommend paper trading only for using this project. Go to Alpaca and sign up for a free account. Install using Docker Compose which requires you to install Docker: Tip: If the US markets are closed then you can use back testing instead. Tip: If you want to use our stock screener, please get in touch and then enabled it by setting useStockScreener to true. Unfortunately we no longer have an integrated Stock Screener for this project which provides market analyses and top performing stocks. Stock Screener - Get up-to-date, ranked stocks every 15mins! The bot currently supports both live trading (paper account recommended) and historical back testing via Alpaca's API as an integrated trading provider and plan to support others in the future. If an overall weightings threshold is met, based on generated signals, an order is created. Technical indicators are mapped to specified weightings which determine whether a signal (BUY/SELL) is generated. The RoboBull Trading Bot is a fully automated trading bot which analyses stock market data with a variety of technical indicators. we accept no liability whatsoever in the usage of this project in accordance with the provided license. We also strongly advise that you thoroughly test this project, its settings and algorithms with a paper trading account. Please note: This repo and project is in no way affiliated with or endorsed by Alpaca. An open source, low-code way to test technical indicators with market trading data Disclaimer
0 Comments
Leave a Reply. |