Jump to content
  • 0

Web API Edit Working Order rejected with reason: ATTACHED_ORDER_LEVEL_ERROR

Question

I encountered Web API edit working order (url  \workingorder_otc\DealId  _ rejected with reason:  ATTACHED_ORDER_LEVEL_ERROR.

What are the possible causes for this rejection? Most of the the times I don't gt this error.

  • Sad 1

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

The possible responses for the `reason` field are documented on the /confirms/{dealReference} page here

 

ATTACHED_ORDER_LEVEL_ERROR The level of the attached stop or limit is not valid

 

Share this post


Link to post
  • 0

It was a limit order. I look at the order level, it  is  a correct numeric value.

I suspect, there is some constraint imposed on the limit level in relation to the market price being traded at the point the order was placed. But I can't find any documentation on this. I would appreciate if you /anyone can shed light on this.

Note: the same limit order was successfully accepted in subsequent API call.

Share this post


Link to post

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×