Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haehnchen/crypto-bot-dca-symfony-php
Provide DCA strategies and a simple cronjob to buy on every support exchange via https://github.com/ccxt/ccxt (binance, coinbase, bybit, ...)
https://github.com/haehnchen/crypto-bot-dca-symfony-php
binance bitcoin bot cronjob crypto php symfony trading
Last synced: 5 days ago
JSON representation
Provide DCA strategies and a simple cronjob to buy on every support exchange via https://github.com/ccxt/ccxt (binance, coinbase, bybit, ...)
- Host: GitHub
- URL: https://github.com/haehnchen/crypto-bot-dca-symfony-php
- Owner: Haehnchen
- Created: 2024-01-02T20:51:12.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-01-06T14:41:55.000Z (11 months ago)
- Last Synced: 2024-05-01T21:20:16.697Z (7 months ago)
- Topics: binance, bitcoin, bot, cronjob, crypto, php, symfony, trading
- Language: PHP
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DCA Crypto Currency Bot
Provide DCA strategies and a simple cronjob to buy on every support exchange via https://github.com/ccxt/ccxt (binance, coinbase, bybit, ...)
Based on PHP 8.2 + Symfony
## Install
```bash
composer install
```Provide exchange API keys (think of correct permissions)
```bash
cp exchanges.json.dist exchanges.json
```## Examples
Work in progress for more
### Simple cronjob task
Buy 15.23 USD(T) of BTC at current market price
```bash
bin/console app:buy:market --exchange=binance --symbol=BTC/USDT --currency=15.23
```### Market Info
```bash
bin/console app:market:info --exchange=binance
bin/console app:market:info --exchange=binance --filter=btc
```### Account Balance
```bash
bin/console app:account:balance --exchange=binance
bin/console app:account:balance --exchange=binance --filter=usd
```