-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json.Marshal order.Submit json.Unmarshal marginType error #1810
Comments
Thank you for highlighting this issue! Adding func (t Type) MarshalJSON() ([]byte, error) {
return json.Marshal(t.String())
} would likely fix the issue and I'll look to open a PR for that soon |
func TestMarshalOrder(t *testing.T) {
|
One of the errors I encountered locally was about parsing currencies without delimiters. I have opened a pull request: #1812 It includes an order submit marshalling test. Feel free to verify |
The text was updated successfully, but these errors were encountered: