@prakash.balusamy,
Prerequisites
Python
As the API is a REST API, any language that can process HTTP communication and can decode JSON can be used. Python is fine, it is easy to access DSS using Python.
Next steps
I guess you would benefit most from reading the Programming without SDK tutorial, which explains how to interact with the API using Python and Java, and also explains how you can identify which API call to use depending on what data you need.
How to get FX rates
At this point we cannot tell you exactly which API calls to use, because your query is not specific enough: what FX rates do you need ? Do you want an intraday snapshot, End of Day data, something else ? If you can tell us exactly what data you are trying to get, we can give you more details on how to retrieve it.
@Christiaan Meihsl, What is difference between Intraday snapshot and End of day FX rate? currently, we are getting the rate from market data server, when we query each time for same RIC, we get different rates. I thought it's real time data.in this case, what FX rate work for us?
The choice of the price type you need to request depends on your use case. Different use cases require different data, and the difference is very important from a financial and functional perspective. If you are unsure, please check this point with your business stakeholders, they will know.
Intraday snapshot
This is a snapshot of the current price, in other words something similar to what you get from your real-time market data server. Please bear in mind:
End of Day
This is the price at the end of the previous trading day.
@Christiaan Meihsl, Thanks for your answers!I have discussed with business stakeholders, they need Intraday snapshot data.Below are few question I have for now,
To your 3 queries:
@Christiaan Meihsl, Thanks for your answers!
What's the port number for DSS production host (159.43.0.2) ? Is't 443?
Hello, Christiaan,
could you elaborate on this a bit further? For example, if I have BMW in my identifier list and want to ask the Last Price from 15min ago, where would I put the slash / ?
"Identifier": "BMWG.DE","IdentifierType": "Ric"
Just before the B? Like this:
"Identifier": "/BMWG.DE",
"IdentifierType": "Ric"
That is not working on my end, I get "All identifiers were invalid".
Thank you very much