bithumb-pro / bithumb.pro-official-api-docs

rest and websocket api doc
22 stars 26 forks source link

Batch place order #72

Open jj1980a opened 3 years ago

jj1980a commented 3 years ago

Trying to send multiple orders, but endpoint keep replying 9002 "verifySignature failed", I believe it's a problem with parameters? I copy the example provided in doc but not working: In python: Request: POST https://global-openapi.bithumb.pro/openapi/v1/spot/placeOrders

{'content-Type': 'application/json', 'User-Agent': 'python-requests/2.25.0', 'Accept-Encoding': 'gzip, deflate'} {"apiKey":"xxx","msgNo":"1616481048124","multiParams":"[{\"symbol\":\"ETH-BTC\",\"type\":\"limit\",\"side\":\"buy\",\"price\":\"1.1234\",\"quantity\":\"10\",\"timestamp\":1576229333470,\"msgNo\":\"test1576229333470\"},{\"symbol\":\"ETH-BTC\",\"type\":\"limit\",\"side\":\"buy\",\"price\":\"1.1234\",\"quantity\":\"10\",\"timestamp\":1576229333470,\"msgNo\":\"test1576229333470\"}]","timestamp":"1616481048124","version":"v1.0.0","signature":"xxx"} (Deliberately replaced apiKey and signature with "xxx" Please let me now how to correct @godlikers