bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
309 stars 220 forks source link

Replace EndPoint Parameter #157

Open yushoaqiang opened 5 years ago

yushoaqiang commented 5 years ago

your reference said that just orderId is required in replace order endpoint,but I get this response:HttpStatusCode:400 ,Desc:{"message":"Key amount was not present."}

JacobPlaster commented 5 years ago

Hi @yushoaqiang, what values did you send to the endpoint? Im not 100% sure on the API but I would assume that sending only an orderId would be rejected anyway since theres no point updating the order if you have not provided any new order data.

yushoaqiang commented 5 years ago

orderId and price