mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
binance: call set server time service
This commit is contained in:
parent
fad1e39bba
commit
5c10f8a4e2
|
@ -41,6 +41,7 @@ type Exchange struct {
|
|||
|
||||
func New(key, secret string) *Exchange {
|
||||
var client = binance.NewClient(key, secret)
|
||||
_, _ = client.NewSetServerTimeService().Do(context.Background())
|
||||
return &Exchange{
|
||||
Client: client,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user