Open jaymansfield opened 3 months ago
It won't let me submit this order.
It gets a valid 200 response from the API but the API didn't create the order for whatever reason.
Request:
{"query":"mutation Place_order($input: UserActionInput!) {\n place_order(input: $input)\n}\n","variables":{"input":{"payload":"{\"PlaceOrder\":[{\"client_order_id\":\"0x7765626170702d0000e01e02a5815c527ad58e887f19f8334ccda4252c64432c\",\"user\":\"esnPxeWFVY5zCh1MD4ZSwBDH8eUWjK2CGnqYHtrjr7BgZinfE\",\"main_account\":\"esnbKSRnU1WKNgJewte4asokmCWwiKBL2HeVWS3NSYEiZfoYc\",\"pair\":\"119367686984583275840673742485354142551-3496813586714279103986568049643838918\",\"side\":\"Ask\",\"order_type\":\"LIMIT\",\"quote_order_quantity\":\"0\",\"qty\":\"1053\",\"price\":\"90\",\"timestamp\":1711729139822},{\"Sr25519\":\"48c224fe26a0ff5c482a079d70d68a2408b5bb9bad6edfa23e1a3c1a0c39985c4514133e6d1e3c78a338a95a3a6897a44fbf6875d55515fdaf785786a35f868c\"}]}"}}}
Web service response:
{"data":{"place_order":null}}
The error message shown to the user which sounds like the API timed out but this is not true it received a response.
In the market config registered qty_step_size is 100, so the amount should be a multiple of 100. will be adding better validation of FE so users can see this info.
It won't let me submit this order.
It gets a valid 200 response from the API but the API didn't create the order for whatever reason.
Request:
{"query":"mutation Place_order($input: UserActionInput!) {\n place_order(input: $input)\n}\n","variables":{"input":{"payload":"{\"PlaceOrder\":[{\"client_order_id\":\"0x7765626170702d0000e01e02a5815c527ad58e887f19f8334ccda4252c64432c\",\"user\":\"esnPxeWFVY5zCh1MD4ZSwBDH8eUWjK2CGnqYHtrjr7BgZinfE\",\"main_account\":\"esnbKSRnU1WKNgJewte4asokmCWwiKBL2HeVWS3NSYEiZfoYc\",\"pair\":\"119367686984583275840673742485354142551-3496813586714279103986568049643838918\",\"side\":\"Ask\",\"order_type\":\"LIMIT\",\"quote_order_quantity\":\"0\",\"qty\":\"1053\",\"price\":\"90\",\"timestamp\":1711729139822},{\"Sr25519\":\"48c224fe26a0ff5c482a079d70d68a2408b5bb9bad6edfa23e1a3c1a0c39985c4514133e6d1e3c78a338a95a3a6897a44fbf6875d55515fdaf785786a35f868c\"}]}"}}}
Web service response:
{"data":{"place_order":null}}
The error message shown to the user which sounds like the API timed out but this is not true it received a response.