Orders in LIMBO state, how to remove them?

Added by Jonas 7 months ago

Placed a few orders and moved on to the next implementation phase, delete them.
Calling the API endpoint gave me an error message and now all the "deleted" orders are stated as
{
"volume": 100,
"price": {
"currency": "SEK",
"value": 89.1
},
"accno": 9210361,
"traded_volume": 0,
"side": "BUY",
"order_id": 1341774,
"modified": 1565007704145,
"order_type": "LIMIT",
"tradable": {
"identifier": "101",
"market_id": 11
},
"validity": {
"type": "DAY",
"valid_until": 1564760100000
},
"price_condition": "LIMIT",
"volume_condition": "NORMAL",
"activation_condition": {
"type": "NONE"
},
"order_state": "DELETED",
"action_state": "DEL_FAIL"
}

which seems to be som kind of limbo state. They still show up in the list orders endpoint with deleted=false and there is no indication why they where not deleted.
Also hitting the endpoint and try to delete them once more just gives the same result.

What to do?


Replies (6)

RE: Orders in LIMBO state, how to remove them? - Added by Nordnet Henrik 7 months ago

To try to find out what the problem is, I would need a log of the commands you sent and the response you got back. Could you add that to your post?

BR,
H

RE: Orders in LIMBO state, how to remove them? - Added by Jonas 6 months ago

Placing an order and listing them:
{
"volume": 10,
"price": {
"currency": "SEK",
"value": 89.9
},
"accno": 9210361,
"traded_volume": 0,
"side": "BUY",
"order_id": 1342569,
"modified": 1567427187282,
"order_type": "LIMIT",
"tradable": {
"identifier": "101",
"market_id": 11
},
"validity": {
"type": "DAY",
"valid_until": 1567438500000
},
"price_condition": "LIMIT",
"volume_condition": "NORMAL",
"activation_condition": {
"type": "NONE"
},
"order_state": "ON_MARKET",
"action_state": "INS_CONF"
}

Sending a HTTP DELETE:
https://api.test.nordnet.se:443/next/2/accounts/9210361/orders/1342569
Response:
{"order_id":1342569,"result_code":"OK","order_state":"ON_MARKET","action_state":"DEL_PEND"}

Send to Private feed:
{"type":"order","data":{"order_id":1342569,"tradable":{"market_id":11,"identifier":"101"},"accno":9210361,"modified":1567427483074,"order_state":"DELETED","action_state":"DEL_FAIL"}}

New order listing ("Deleted" flag set to false):
{
"volume": 10,
"price": {
"currency": "SEK",
"value": 89.9
},
"accno": 9210361,
"traded_volume": 0,
"side": "BUY",
"order_id": 1342569,
"modified": 1567427483074,
"order_type": "LIMIT",
"tradable": {
"identifier": "101",
"market_id": 11
},
"validity": {
"type": "DAY",
"valid_until": 1567438500000
},
"price_condition": "LIMIT",
"volume_condition": "NORMAL",
"activation_condition": {
"type": "NONE"
},
"order_state": "DELETED",
"action_state": "DEL_FAIL"
}

RE: Orders in LIMBO state, how to remove them? - Added by Justin 5 months ago

Filmstarlook Jackets is your optimal choice to buy extra sizzling Hollywood Jackets like grease 2 Drama Michelle Pfeiffer Jacket since we offer you the best closet of calfskin coats and coats that you need to wear. We understand that a star spurred coat isn't sensible for you to kick the basin to its cost. https://www.filmstarlook.com/product/grease-2-michelle-pfeiffer-reversible-pink-jacket/

RE: Orders in LIMBO state, how to remove them? - Added by yajof about 1 month ago

It is one of the biggest national fast food chains in the US. Sonic Drive-in store has more than 3,500 restaurant chains in the USA alone. Such is the popularity that it has among the people.

https://talktosonic.org/

(1-6/6)