mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
update readme for requirements
This commit is contained in:
parent
e1c2f7cc3d
commit
96d0be31eb
17
README.md
17
README.md
|
@ -22,6 +22,13 @@ Aim to release v1.0 before 11/14
|
|||
- MAX Exchange (located in Taiwan)
|
||||
- Binance Exchange
|
||||
|
||||
## Requirements
|
||||
|
||||
Get your exchange API key and secret after you register the accounts:
|
||||
|
||||
- For MAX: <https://max.maicoin.com/signup?r=c7982718>
|
||||
- For Binance: <https://www.binancezh.com/en/register?ref=VGDGLT80>
|
||||
|
||||
## Installation
|
||||
|
||||
Install the builtin commands:
|
||||
|
@ -49,11 +56,6 @@ MYSQL_DATABASE=bbgo
|
|||
MYSQL_URL=root@tcp(127.0.0.1:3306)/bbgo
|
||||
```
|
||||
|
||||
You can get your API key and secret after you register the accounts:
|
||||
|
||||
- For MAX: <https://max.maicoin.com/signup?r=c7982718>
|
||||
- For Binance: <https://www.binancezh.com/en/register?ref=VGDGLT80>
|
||||
|
||||
Then run the `migrate` command to initialize your database:
|
||||
|
||||
```sh
|
||||
|
@ -82,6 +84,11 @@ To calculate pnl:
|
|||
dotenv -f .env.local -- bbgo pnl --exchange binance --asset BTC --since "2019-01-01"
|
||||
```
|
||||
|
||||
To run strategy:
|
||||
|
||||
```sh
|
||||
dotenv -f .env.local -- bbgo run --config config/buyandhold.yaml
|
||||
```
|
||||
|
||||
## Built-in Strategies
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user