mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
Update adding-new-exchange.md
This commit is contained in:
parent
35375c84c1
commit
9414b02fba
|
@ -69,6 +69,12 @@ Exchange Factory
|
||||||
- [ ] Add the exchange constructor to the exchange instance factory function.
|
- [ ] Add the exchange constructor to the exchange instance factory function.
|
||||||
- [ ] Add extended fields to the ExchangeSession struct. (optional)
|
- [ ] Add extended fields to the ExchangeSession struct. (optional)
|
||||||
|
|
||||||
|
# Tools
|
||||||
|
|
||||||
|
- Use a tool to convert JSON response to Go struct <https://mholt.github.io/json-to-go/>
|
||||||
|
- Use requestgen to generate request builders <https://github.com/c9s/requestgen>
|
||||||
|
- Use callbackgen to generate callbacks <https://github.com/c9s/callbackgen>
|
||||||
|
|
||||||
# Implementation
|
# Implementation
|
||||||
|
|
||||||
Go to `pkg/types/exchange.go` and add your exchange type:
|
Go to `pkg/types/exchange.go` and add your exchange type:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user