Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

modifyOrder api cannot modify size #57

Open
boyi opened this issue Aug 11, 2022 · 1 comment
Open

modifyOrder api cannot modify size #57

boyi opened this issue Aug 11, 2022 · 1 comment

Comments

@boyi
Copy link

boyi commented Aug 11, 2022

Hello,
I use the modify Order API, and send correct params of size and price to it, the server just returned:

APIError: status=400, message=Must modify either price or size

Seems like the size is never sent to the ftx server. can you look into that?

@boyi
Copy link
Author

boyi commented Aug 11, 2022

type RequestForModifyOrder struct {
OrderID string json:"-"
ClientID string json:"-"
Price float64 json:"price,omitempty"
Size float64 json:"side,omitempty"
}

the Size json is a typo "side"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant