PHPTradingBot is a modular platform written in php using Laravel to automatically trade on popuplar cryptocurrency exchanges
- Trade Signals API (Mining Hamster)
- Floating StopLoss/TakeProfit
- Binance Exchange support
- Daemonized (order Daemon, Price Daemon, Signal Daemon, optional socks5 proxy daemon for binance)
- Module Hook Functions -- onTick() -- OnSignalReceived() -- beforeSell() -- beforeBuy() -- AfterSell() -- AfterBuy() See /App/Modules/ProfitClone.php for example usage
PHPTradingBot requires PHP v7.x to run.
Enter these commands to install
$ git clone https://github.com/longflex/Crypto_Trading_Bot.git
$ cd PHPTradingBot
$ composer install
$ cp .env.example .env
# set your database parameters in the .env file if you get error about APP_KEY try running this command
$ php artisan key:generate
To Start Daemons
$ cd PHPTradingBot
$ sh services.sh
# runs and watches following commands
# php artisan daemon:signals
# php artisan daemon:price
# php artisan daemon:orders
To Run Development Server
php artisan serve
Verify the deployment by navigating to your server address in your preferred browser.
127.0.0.1:8000
- More exchanges support
- More Trade Signal provider support
MIT
Free Software, Long Flex!