mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix readme
This commit is contained in:
parent
47c3d80d4f
commit
7daa73917c
18
README.md
18
README.md
|
@ -102,11 +102,6 @@ the implementation.
|
||||||
|
|
||||||
- Check the [documentation index](doc/README.md)
|
- Check the [documentation index](doc/README.md)
|
||||||
|
|
||||||
## BBGO Tokenomics
|
|
||||||
|
|
||||||
To support the development of BBGO, we have created a bounty pool to support contributors by giving away $BBG tokens.
|
|
||||||
Check the details in [$BBG Contract Page](contracts/README.md) and our [official website](https://bbgo.finance)
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Get your exchange API key and secret after you register the accounts (you can choose one or more exchanges):
|
Get your exchange API key and secret after you register the accounts (you can choose one or more exchanges):
|
||||||
|
@ -477,21 +472,19 @@ that is using bbgo component. for example:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
type Strategy struct {
|
type Strategy struct {
|
||||||
*bbgo.Notifiability
|
Symbol string `json:"symbol"
|
||||||
|
Market types.Market
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
And then, in your code, you can call the methods of Notifiability.
|
|
||||||
|
|
||||||
Supported components (single exchange strategy only for now):
|
Supported components (single exchange strategy only for now):
|
||||||
|
|
||||||
- `*bbgo.Notifiability`
|
- `*bbgo.ExchangeSession`
|
||||||
- `bbgo.OrderExecutor`
|
- `bbgo.OrderExecutor`
|
||||||
|
|
||||||
If you have `Symbol string` field in your strategy, your strategy will be detected as a symbol-based strategy, then the
|
If you have `Symbol string` field in your strategy, your strategy will be detected as a symbol-based strategy, then the
|
||||||
following types could be injected automatically:
|
following types could be injected automatically:
|
||||||
|
|
||||||
- `*bbgo.ExchangeSession`
|
|
||||||
- `types.Market`
|
- `types.Market`
|
||||||
|
|
||||||
## Strategy Execution Phases
|
## Strategy Execution Phases
|
||||||
|
@ -582,6 +575,11 @@ See [Contributing](./CONTRIBUTING.md)
|
||||||
|
|
||||||
<object type="image/svg+xml" data="https://opencollective.com/bbgo/tiers/backer.svg?avatarHeight=36&width=600"></object>
|
<object type="image/svg+xml" data="https://opencollective.com/bbgo/tiers/backer.svg?avatarHeight=36&width=600"></object>
|
||||||
|
|
||||||
|
## BBGO Tokenomics
|
||||||
|
|
||||||
|
To support the development of BBGO, we have created a bounty pool to support contributors by giving away $BBG tokens.
|
||||||
|
Check the details in [$BBG Contract Page](contracts/README.md) and our [official website](https://bbgo.finance)
|
||||||
|
|
||||||
## Supporter
|
## Supporter
|
||||||
|
|
||||||
- GitBook
|
- GitBook
|
||||||
|
|
Loading…
Reference in New Issue
Block a user