fix(ftx): allow subaccount to be empty

This commit is contained in:
Jui-Nan Lin 2021-05-25 22:12:10 +08:00
parent bee3b913f2
commit ab8c1ec18c

View File

@ -58,7 +58,7 @@ type loginArgs struct {
Key string `json:"key"`
Signature string `json:"sign"`
Time int64 `json:"time"`
SubAccount string `json:"subaccount"`
SubAccount string `json:"subaccount,omitempty"`
}
func newLoginRequest(key, secret string, t time.Time, subaccount string) websocketRequest {