https://github.com/genxoft/php-trader-bot
Example trading bot
https://github.com/genxoft/php-trader-bot
binance php tradebot trader-bot trading
Last synced: about 1 year ago
JSON representation
Example trading bot
- Host: GitHub
- URL: https://github.com/genxoft/php-trader-bot
- Owner: genxoft
- License: mit
- Created: 2022-08-01T09:02:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-01T09:07:43.000Z (almost 4 years ago)
- Last Synced: 2025-02-09T10:42:03.647Z (over 1 year ago)
- Topics: binance, php, tradebot, trader-bot, trading
- Language: PHP
- Homepage:
- Size: 679 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Trader bot (Binance)
- ⚠️**Do not use it for your real Binance account without your own review**: Strategy presented in this application is pretty stupid.
- ⚠️**The developer and contributors are not responsible for the money you lose while using this application or its fragments.**
This application was made with educational purposes not for earn real money.
When I was making this application my goals were:
- Try to interact with Binance API
- Try to analyze trading data and automatically make decision to buy or sell an asset
- Code my own simple Logger (it will need it in the future)
## Requirements
- PHP > 8.1
- PECL Trader lib (https://pecl.php.net/package/trader)
- with PDO_SQLITE
## Installation
1. Clone project
```shell
git clone https://github.com/genxoft/php-trader-bot
cd php-trader-bot
```
2. Composer install
```shell
php composer.phar install
```
3. Copy and fill .env
```shell
cp .env.local .env
vim .env
```
4. Migrate database
```shell
php composer.phar run migrate
```
5. Docker compose up
```shell
docker compose up
```