Modify order problems

Added by Andreas about 9 years ago

There is a problem when requesting an order modification:

2011-09-20 15:58:55 - PUT => https://api.test.nordnet.se/next/1/accounts/<accno>/orders/469068?price=144.3&volume=20

2011-09-20 15:58:55 - Incoming private feed of type trade: {"type":"trade","data":{"price":{"value":136.4,"curr":"SEK"},"orderID":469068,"instrumentID {"identifier":"3966","marketID":11},"tradeID":"B30736-20110920","volume":20.0,"side":"BUY","accno":<accno>,"counterparty":"MCF","tradetime":1316527134000}}

2011-09-20 15:58:55 - Result: {"message":"ORA-01400: cannot insert NULL into (\"TRADE\".\"LOGS\".\"LOGID\")\nORA-06512: at \"TRADE.PKG_TRADE_LOG\", line 37\nORA-06512: at \"TRADE.PKG_TRADE_CUST_ORDER\", line 634\nORA-20014: EXC_ORDER_DELETED\nORA-06512: at line 1\n","orderID":469068,"orderState":"DELETED","resultCode":"DATA_STORE_ERR","accNo":<accno>,"actionState":"MOD_FAIL"}


Replies (15)

RE: Modify order problems - Added by Nordnet Simon about 9 years ago

Hi, you got a trade before (in the same second) that you modified the order. So you tried to modify an order that already was deleted.

/Simon

RE: Modify order problems - Added by Andreas about 9 years ago

The problem (apart from the fact that this error message reveals details about the implementation of your system) is that the private feed stopped working after this. We never received any notification about the destiny of order 469069 (inserted at 15:58:54) for instance.

Furthermore, this once again points us to the problems discussed in this thread . What if the trade of the order would only have been a partial fill? Then the modification would have been accepted, and we would end up with to much volume traded in the order.

RE: Modify order problems - Added by Nordnet Simon about 9 years ago

[...] this error message reveals details about the implementation of your system

Yes- this is an issue. We are scetching on a solution that will fit all our systems.
[...] the private feed stopped working after this. We never received any notification about the destiny of order 469069 (inserted at 15:58:54) for instance.

This is strange. In the logs we can see that it was sent to your user. Did you receive any heartbeats or empty row or was it completely silent?

RE: Modify order problems - Added by Andreas about 9 years ago

No, nothing. But we shut down the system shortly (about 30 seconds) afterwards due to some other reasons, so maybe the messages would have arrived if we waited. Or maybe there was an error on our side in this case.

먹튀검증커뮤니티 - Added by website 2 months ago

Convenient and easy withdrawal and deposit alternatives: The online sites offer a range of different banking options to greatly help players to create their withdrawals and deposit. Most online betting sites accept major charge cards like Master and Visa for both withdrawal and deposit purpose. 먹튀검증커뮤니티

RE: Modify order problems - Added by website about 1 month ago

Having held it's place in the casino party and planning business for quite some time I've heard from customers some very sad stories of what occurred at their casino fundraiser and I wish to pass for you the 7 steps you should follow to make certain you have an effective casino fundraiser and hire the BEST casino party company for your event.먹튀

RE: Modify order problems - Added by website about 1 month ago

Many homework on the continual hunt along with offstage on the road to winning. Definitely not attached, simple to-fall as a result of wayside; And not investigation, afterward into a path travel toward the black.https://royalcbd.com/wisconsin/

Doctor on call Dubai - Added by website about 1 month ago

Extremely helpful post. This is my first time i visit here. I discovered such a large number of intriguing stuff in your blog particularly its exchange. Truly its extraordinary article. Keep it up. Doctor on call Dubai

RE: Modify order problems - Added by website about 1 month ago

Extremely intriguing online journal. A lot of web journals I see nowadays don't generally give anything that I'm keen on, however I'm most definitely inspired by this one. Recently felt that I would post and let you know.먹튀검증사이트

RE: Modify order problems - Added by website 25 days ago

Capitaland is one of the most acclaimed developer in Singapore. Well known for their iconic architecture works such as The Interlace at Depot Road, D'Leedon ...sengkang grand residences review

scan to pay - Added by website 22 days ago

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post! scan to pay

office and corporate buffet caterers Rugby - Added by website 8 days ago

I have added and shared your site to my social media accounts to send people back to your site because I am sure they will find it extremely helpful too. office and corporate buffet caterers Rugby

RE: Modify order problems - Added by website 6 days ago

The true trouble you ave this is certainly obtainable for every Online based casinos to help you make use of먹튀

RE: Modify order problems - Added by website 3 days ago

I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post.먹튀

best convertible car seats for twins - Added by website about 4 hours ago

Man's lives, such as uncontrolled huge amounts, definitely not while countries furthermore reefs, challenging to seismic disturbance upward perfect apply.best convertible car seats for twins

(1-15/15)