hi, I am getting a message "too many requests " while trying to modify the amo orders during market hours, however with orders other than amo, it works perfectly rfine. The same issue is with cancellation of amo orders too .. kindly help This is the order string i have provided to modify orders { "variety": "amo", "order_id": "210801100026153", "params": { "price": 415.1 } }
As the error message states, you are exceeding the rate limit defined here, while making an API request. You need to debug this and add the required delay to be within the defined rate limit. Also, looks info there are multiple open connections.
order string amo 210803200015546 { price: 63.25 }SOME ERROR message: 'No response from server with error code: ECONNABORTED', error_type: 'NetworkException', data: null } sorry this is the error i am a getting . kindly attend
order string object order string amo 210803200015546 { price: 63.25 } SOME ERROR { message: 'No response from server with error code: ECONNABORTED', error_type: 'NetworkException', data: null }
Can you check what is the status code? Is it 429? Also, we need more info on that specific amo order. Can you paste here the output of getOrderHistory(that amo order_id)?
data: null } sorry this is the error i am a getting . kindly attend
order string amo 210803200015546 { price: 63.25 }
SOME ERROR { message: 'No response from server with error code: ECONNABORTED',
error_type: 'NetworkException',
data: null }
message: 'request ccL767Acs9bU1n9uD4FwbLsp2g2A2Ijq timed out',
data: null,
error_type: 'NetworkException' }
when i am trying to cancel an amo during market hours
message: 'request 3DH3ZBlCoFysoL51e8FhkMQGjSXy1S7x timed out',
data: null,
error_type: 'NetworkException' }
when i tried variety as regular instead of amo , in updating a amo order during market hours
message: 'Too many requests',
error_type: 'NetworkException' }
only one order i have placed
Is it 429?
Also, we need more info on that specific amo order.
Can you paste here the output of
getOrderHistory(that amo order_id)
?