List price of stocks??

Added by kalle 11 months ago

This is how I get orders
String resp = baseResource.path("accounts").path(String.valueOf(accno)).path("orders").request(responseType).get(String.class);

and this how I post an order
String cmd = "{\"identifier\": \"101\", \"market_id\": 11, \"price\": 81, \"volume\": 200, \"currency\": \"SEK\", \"side\": \"BUY\", \"order_type\": \"FAK\"}\n";
Response order = baseResource.path("accounts").path(String.valueOf(accno)).path("orders").request(responseType).post(Entity.json(cmd));

My question is, how do I get the price of a stock?
I want to get the current price every time I request the price of a current stock.

I have tried this command:
String cmd = "{\"cmd\": \"subscribe\", \"args\": {\"t\": \"price\", \"m\": 11, \"i\": \"101\"}}\n";
Response resp = baseResource.request(responseType).post(Entity.json(cmd));

I got this response:
InboundJaxrsResponse{ClientResponse{method=POST, uri=https://api.test.nordnet.se/next/2/accounts, status=405, reason=Method Not Allowed}}


Replies (6)

RE: List price of stocks?? - Added by kalle 11 months ago

Update:

I have read about:
Chart data
Chart data gives price data for an instrument for today. The information is for each minute during the day.

and also:
Graph data request is not available.

The question still remains, "how do I get the price of a stock?" if I cannot test with price from a stock, how am I suppose to know if it works with real data?

RE: List price of stocks?? - Added by Joshua 4 months ago

Hello. Has the problem been resolved now? Or did you find the price problem is no longer relevant?

RE: List price of stocks?? - Added by Joshua 4 months ago

The site planet 7 casino mobile really needs a correct price calculation for player deposits. Waiting for an answer
BR

RE: List price of stocks?? - Added by Adri 3 months ago

I am really impressed read your blog. Actually, your blog article is very helpful and more informative. Especially, this blog information provides easy tricks to make money online step by step. Thank for sharing your valuable information. Such an insightful and long post almost intimidating for us newbie bloggers. Grateful for the effort you took to write this post. [[thesis writing]] Lot’s to think about and get going with. Thank you.

RE: List price of stocks?? - Added by Thomas about 1 month ago

Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles. If you have time you can check [Valid Visa Credit Card Generator][https://www.keycardgen.com/valid-visa-credit-card-generator/]

(1-6/6)