mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add cmd/bbgo
This commit is contained in:
parent
fab8d0bbdf
commit
ec8a69d4bb
|
@ -19,6 +19,14 @@ aims to release v1.0 before 11/14
|
||||||
- MAX Exchange (located in Taiwan)
|
- MAX Exchange (located in Taiwan)
|
||||||
- Binance Exchange
|
- Binance Exchange
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Install the builtin commands:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go get -u github.com/c9s/bbgo/cmd/bbgo
|
||||||
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
Please check out the example directory: [examples](examples)
|
Please check out the example directory: [examples](examples)
|
||||||
|
|
9
cmd/bbgo/main.go
Normal file
9
cmd/bbgo/main.go
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/c9s/bbgo/cmd"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
cmd.Run()
|
||||||
|
}
|
6
cmd/bbgo/pnl.go
Normal file
6
cmd/bbgo/pnl.go
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "github.com/go-sql-driver/mysql"
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user