Valid price range in orders

Added by Juha almost 9 years ago

Hi

I don't understand why the buy orders don't work.
I am trying to buy on the test system 100 stocks of NOK1V in price 3.8 euros.
The result is that it is too a low price, error message says
"price 3.800000 is lower than the range [36.000000, 49.500000]"
( yesterday the range was [4.0, 10.0], so where does this range come from ?? )

This is what I am doing:

1) get the markets for ticker NOK1V, from finland and trading in euros

https://api.test.nordnet.se/next/1/instruments?query=nok1v&type=A&country=FI

2) I get the list and I pick the one with NOK1V as a shortname, it contains:
<instrument>
<type>A</type>
<currency>EUR</currency>
<longname>Nokia Corporation</longname>
<marketname>OMX Helsinki</marketname>
<marketID>24</marketID>
<isinCode>FI0009000681</isinCode>
<shortname>NOK1V</shortname>
<country>FI</country>
<identifier>24311</identifier>
</instrument>

3) looks fine, then i do the trade ( nokia is trading 3.8 euros right now while writing this ):

https://api.test.nordnet.se/next/1/accounts/&lt;acc&gt;/orders?identifier=24311&marketID=24&volume=100&price=3.80&side=buy&currency=EUR

and the return is:

<orderstatus>
<orderID type="integer">498374</orderID>
<resultCode>ORDER_WRONG_PRICE</resultCode>
<orderState>LOCAL</orderState>
<accNo type="integer">9210177</accNo>
<actionState>INS_FAIL</actionState>
<message>price 3.800000 is lower than the range [36.000000, 49.500000]</message>
</orderstatus>

What is wrong here ?


Replies (3)

RE: Valid price range in orders - Added by Nordnet Simon almost 9 years ago

Juha wrote:

This is what I am doing

1) get the markets for ticker NOK1V, from finland and trading in euros

https://api.test.nordnet.se/next/1/instruments?query=nok1v&type=A&country=FI

Correct

2) I get the list and I pick the one with NOK1V as a shortname, it contains:
<instrument>
<type>A</type>
<currency>EUR</currency>
<longname>Nokia Corporation</longname>
<marketname>OMX Helsinki</marketname>
<marketID>24</marketID>
<isinCode>FI0009000681</isinCode>
<shortname>NOK1V</shortname>
<country>FI</country>
<identifier>24311</identifier>
</instrument>

Correct

3) looks fine, then i do the trade ( nokia is trading 3.8 euros right now while writing this ):

The price of NOK1V in PRODUCTION is 3.8 EUR. The price in the testsystem is something completely different ( I don't have access to historical prices in test so I can't verify what it was at the time).

The testsystem of NasdaqOMX is used by brokers and banks for various tests so the prices don't match production.

"price 3.800000 is lower than the range [36.000000, 49.500000]"
( yesterday the range was [4.0, 10.0], so where does this range come from ?? )and the return is:

The range is calculated in our system. It is based on the last price and have X percent up and down. This is our Fat Finger controll so users don't enter an order of 40EUR when they mean 4EUR. In test this is the last price of the TEST system.

In order to get the correct price in test you need to start a price subscription on the feed.

If you look at the current tick:


"{\"cmd\":\"price\",\"args\":{\"i\":\"24311\",\"m\":24,\"t\":\"price\",\"trade_timestamp\":\"2012-02-10 11:23:40\",\"tick_timestamp\":\"2012-02-10 11:23:40\",\"bid\":7.630,\"bid_volume\":3000,\"ask\":7.645,\"ask_volume\":944,\"close\":8.985,\"high\":45.00,\"last\":7.645,\"last_volume\":1,\"lot_size\":1,\"low\":7.575,\"open\":8.000,\"vwap\":7.734,\"turnover\":744002.155,\"turnover_volume\":96198}}" 


You can se att the last price now is 7.645 EUR but the highest during the day has been 45 EUR.

RE: Valid price range in orders - Added by sunh about 1 month ago

This is the first time I have checked this sweet article related to 먹튀검증 It's the first time I've been to your site. This is the 먹튀검증 that hits my heart. This article seems to be the correct data for 스포츠중계 꽁머니 I also like 안전놀이터 먹튀검증사이트 yours메이저토토사이트. 메이저안전놀이터 the best. And you spend a lot of time looking for 토토사이트 related 안전놀이터 data.If you have time, come to my site! The site name is 꽁머니 along with 안전놀이터, our site 토토사이트 also has the same information. We ask for your interest in our site as well. This was the above 먹튀검증.

RE: Valid price range in orders - Added by sunh about 1 month ago

가장확실한먹튀검증커뮤니티 Nice to meet you. 먹튀검증 That's a great post. 먹튀신고 Thank you. 먹튀 I live in 먹튀검증업체 a different country from you. 먹튀커뮤니티 Your post will be 먹튀사이트검증 popular enough in my country. 먹튀사이트 I'm very happy to read this post. 메이저놀이터 Thank you. 메이저안전놀이터추천 You must have메이저놀이터추천 put a lot of effort into writing this. 메이저놀이터 I'd like to appreciate that. 사설토토 I wish I could write like you. 메이저사설토토 Actually, 사설토토사이트추천 I'm small, 사설토토사이트 but I'm running my own website. 사설놀이터 If you have time, 안전놀이터 please visit my website. 토토안전놀이터 There must be 안전놀이터 a post that 토토사이트 you will find interesting. 토토추천 And please leave a replay about 메이저토토사이트 your shortcomings. 먹튀없는토토사이트 It would be very helpful to me if you could. 토토사이트추천 Thank you. 토토사이트 Have a nice day!

(1-3/3)