Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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, ...)

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
```