Can't activate order

Added by Asbjørn over 5 years ago

Hi there,

Last night I created two orders, which ended up with an 'INS_PEND' as action state, and a 'LOCAL' status. When trying to delete one of these orders, I get the following response:

{ action_state => "DEL_FAIL", message => "Internal error.", order_id => 856919, order_state => "LOCAL", result_code => "ORDER_BUSY", }

When trying to activate (sinde it has a 'LOCAL' status, it must be activated, right?) the order, I receive a 500 Internal Error. To activate the order I use the DELETE method to the url:

https://api.test.nordnet.se/next/2/accounts/9211019/orders/856919/activate

Have I missed something? It says on the documentation for order activation, that 'The order must be entered as inactive', which my orders were not. It just seems they were never inserted. How do I force insertion, or deletion?

I hope my issue is clear, and that someone will help me.

Regards, Asbjørn


Replies (8)

RE: Can't activate order - Added by Nordnet Aleksandar over 5 years ago

Hi Asbjørn,

It seems that you have a couple of orders that got "stuck" when they were placed during closed market hours. We occasionally see this in test and I have now cleared them for you.

https://api.test.nordnet.se/next/2/accounts/{accno}/orders/{order_id}/activate is ment to be used only for orders that are entered as inactive so it would not be applicable in your case.
However this feature is at the time not yet working in the test environment so avoid using that one for now.

/Aleks

RE: Can't activate order - Added by Asbjørn over 5 years ago

Hello Aleks,

Thanks for the quick response, and for clearing my stuck orders! :)

I will refrain from creating orders during market closed hours. This, however, makes development a bit more difficult, during the closed hours. :)

Yes, I noticed that I could not activate orders that were created to be manually activated. Is there any timeline as to when this will be possible?

I just started working on this yesterday, is there a development blog/newsfeed somewhere?

Regards, Asbjørn

RE: Can't activate order - Added by Nordnet Aleksandar over 5 years ago

Sadly there is no blog/newsfeed. The best i can give you is this Test System page which isn't much. The forum will probably be the best way to stay informed of changes to the test environment.
I can't give you an ETA on the order activation feature but we'll make sure to inform the forum when it happens.

RE: Can't activate order - Added by Asbjørn over 5 years ago

Damnit. Got another 'stuck' order. Can you remove it?

Thanks.

RE: Can't activate order - Added by Asbjørn over 5 years ago

And another one. Sorry. :)

Pretty please?

RE: Can't activate order - Added by Nordnet Aleksandar over 5 years ago

No problem :)

It is fixed now!

RE: Can't activate order - Added by sunh 15 days ago

This is the first time an active forum is about 먹튀검증 It's really informative" related to this forum. 먹튀검증 And 스포츠중계 also seem to be good because they are related. I'm also very interested in 꽁머니 안전놀이터 I plan to write a forum related to 토토사이트 later.Before that, you can first check the related materials on my site. 먹튀검증사이트 yours메이저토토사이트. 메이저안전놀이터 the best. site name is 안전놀이터 happy to 꽁머니 along with 안전놀이터, our site 토토사이트 also has the same information. We ask for your interest in our site as well. This was the above 먹튀검증 time I have a new site about 안전사설토토사이트 have a new site. It was created for a completely new 먹튀검증커뮤니티, so if you want to check out what's new, please visit 공식안전놀이터
가장확실한먹튀검증커뮤니티 .comThat's a very good story! 먹튀검증 I read your article very deeply. 먹튀신고 Hello, 먹튀 my name is 먹튀검증업체 and I run a site similar to yours. 먹튀커뮤니티 Compared to you, 먹튀사이트검증 the site I run is not enough. 먹튀사이트 However,메이저놀이터 I am also working hard 메이저안전놀이터추천 to upload more than 2 posts a week.메이저놀이터추천 If you are interested, 메이저놀이터 please visit my website. 사설토토 I would appreciate 메이저사설토토 it if you could visit 사설토토사이트추천 and read my article 사설토토사이트 and leave your comments.사설놀이터 It will be of 안전놀이터 great help to me. 토토안전놀이터 Anyway, 안전놀이터 have a nice day 토토사이트 today and thank you for 토토추천 your hard work.메이저토토사이트 Thank you, 먹튀없는토토사이트 Have a nice day! 토토사이트추천 bye토토사이트

(1-8/8)