You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I'm testing the example code on testnet.binancefuture.com/ order, err := client.NewCreateOrderService().Symbol("BNBETH"). Side(binance.SideTypeBuy).Type(binance.OrderTypeLimit). TimeInForce(binance.TimeInForceTypeGTC).Quantity("5"). Price("0.0030000").Do(context. Background())
I received the error <APIError> code=-1136, msg=Invalid newOrderRespType
To resolve the issue, I added the line NewOrderResponseType(binance_futures.NewOrderRespTypeRESULT) to the code and it works.
Therefore, I kindly request adding NewOrderResponseType to the example code provided in the documentation for the benefit of Binance Futures Testnet users.
Best regards.
The text was updated successfully, but these errors were encountered:
While I'm testing the example code on testnet.binancefuture.com/
order, err := client.NewCreateOrderService().Symbol("BNBETH"). Side(binance.SideTypeBuy).Type(binance.OrderTypeLimit). TimeInForce(binance.TimeInForceTypeGTC).Quantity("5"). Price("0.0030000").Do(context. Background())
I received the error
<APIError> code=-1136, msg=Invalid newOrderRespType
To resolve the issue, I added the line
NewOrderResponseType(binance_futures.NewOrderRespTypeRESULT)
to the code and it works.Therefore, I kindly request adding
NewOrderResponseType
to the example code provided in the documentation for the benefit of Binance Futures Testnet users.Best regards.
The text was updated successfully, but these errors were encountered: