mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
fix(ftx): allow subaccount to be empty
This commit is contained in:
parent
bee3b913f2
commit
ab8c1ec18c
|
@ -58,7 +58,7 @@ type loginArgs struct {
|
||||||
Key string `json:"key"`
|
Key string `json:"key"`
|
||||||
Signature string `json:"sign"`
|
Signature string `json:"sign"`
|
||||||
Time int64 `json:"time"`
|
Time int64 `json:"time"`
|
||||||
SubAccount string `json:"subaccount"`
|
SubAccount string `json:"subaccount,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func newLoginRequest(key, secret string, t time.Time, subaccount string) websocketRequest {
|
func newLoginRequest(key, secret string, t time.Time, subaccount string) websocketRequest {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user