https://github.com/wisarmy/exbot
Exbot is a blockchain exchange bot written in rust and python that contains trading, charts, strategies, and backtesting
https://github.com/wisarmy/exbot
bitcoin blockchain bot crypto dash exchange plotly python rust strategy
Last synced: 3 months ago
JSON representation
Exbot is a blockchain exchange bot written in rust and python that contains trading, charts, strategies, and backtesting
- Host: GitHub
- URL: https://github.com/wisarmy/exbot
- Owner: wisarmy
- License: mit
- Created: 2022-09-20T09:29:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T15:26:37.000Z (about 2 years ago)
- Last Synced: 2024-05-02T10:31:12.244Z (about 2 years ago)
- Topics: bitcoin, blockchain, bot, crypto, dash, exchange, plotly, python, rust, strategy
- Language: Python
- Homepage:
- Size: 964 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exbot
[](https://github.com/wisarmy/exbot/blob/main/LICENSE)
[](https://github.com/wisarmy/exbot/actions)
[](https://github.com/wisarmy/exbot)
## What is Exbot?
Exbot is a blockchain exchange bot written in rust that contains trading, charts, strategies, and backtesting. As many ex/dex as possible support.
# Exobt for python
## Quick Start
First change to the directory
```bash
cd exbot-py
```
### Installation
```bash
make init
```
## Exchange Support
[](https://partner.bitget.com/bg/QAEL40)
## Chart
Run chart.py
```bash
python chart.py -c configs/config.toml -t 1m --strategy macd -i 10
```

## Strategy
Run bot.py
```bash
# amount is the number of symbol
python bot.py -c configs/config.toml --symbol NEAR/USDT:USDT -t 15m --strategy macd --amount 100 --amount_max=100 -i 10
# uamount is the number of usdt
python bot.py -c configs/config.toml --symbol NEAR/USDT:USDT -t 15m --strategy ichiv1 --uamount 100 --uamount_max=1000 -i 10
```
### Position chart
```bash
python charts/position.py
```

## Backtesting
Run Backtesting.py
```
python backtesting.py -c configs/config.toml --symbol NEAR/USDT:USDT --strategy ichiv1 -t 15m --days 30
```