Skip to content

Order req unknown code 7 #286

@Kayne88

Description

@Kayne88

Hi,

I am encountering the following issue: When modifying an existing, active limit order I receive modify code = 0 (successful). Then in the next iteration I see in the list of orders that an order pops up with same order id but request code 7. I couldn't find the definition of this request code. In fact, this modify operation leaves the active order (no ongoing request) unchanged. What is happening?

Here's a sample print out:
`
-> Iteration 117263

Limit Orders with status NEW

Asset 1 id 1 | side -1 | px 114312.6 | qty 131.219 | status 1 | req 0
Asset 1 id 0 | side 1 | px 113942.70000000001 | qty 131.645 | status 1 | req 0

Modify Order

Asset: 1 Order Id: 0 Price: 114019.7 Qty: 919.57
Modify Response 0

-> Iteration 117264

Limit Orders with status NEW

Asset 1 id 1 | side -1 | px 114049.3 | qty 131.522 | status 1 | req 7
Asset 1 id 0 | side 1 | px 114019.70000000001 | qty 919.57 | status 1 | req 7

-> Iteration 117265

Limit Orders with status NEW

Asset 1 id 1 | side -1 | px 114312.6 | qty 131.219 | status 1 | req 0
Asset 1 id 0 | side 1 | px 113942.70000000001 | qty 131.645 | status 1 | req 0

Modify Order

Asset: 1 Order Id: 0 Price: 114019.7 Qty: 919.57
Modify Response 0

-> Iteration 117266

Limit Orders with status NEW

Asset 1 id 1 | side -1 | px 114049.3 | qty 131.522 | status 1 | req 7
Asset 1 id 0 | side 1 | px 114019.70000000001 | qty 919.57 | status 1 | req 7

-> Iteration 117267

Limit Orders with status NEW

Asset 1 id 1 | side -1 | px 114312.6 | qty 131.219 | status 1 | req 0
Asset 1 id 0 | side 1 | px 113942.70000000001 | qty 131.645 | status 1 | req 0

Modify Order

Asset: 1 Order Id: 0 Price: 114019.7 Qty: 919.57
Modify Response 0
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions