All,
How do I go about getting the name of the share or index I want to subscribe to in the lighstreamer API?
In the examples, it suggests:
String itemList = new String("MARKET:IX.D.FTSE.CFD.IP");
Which works.
But if I want another share/indicie, how do I go about working out what the reference is? For example, how about I wanted share prices for GKP (on the LSE). I've tried:
MARKET:IX.D.GKP
Doesn't work
LON:GKP
Doesn't work
Any advice?
Cheers
Try
/markets?searchTerm={searchTerm}
If you figure out a better way, please let me know.
More specifically: https://labs.ig.com/rest-trading-api-reference/service-detail?id=45
Hi Ihxs
This thread has the best way to identify the EPIC for a specific market: https://labs.ig.com/node/37
But bear in mind, we don't provide share prices via the API, so individual shares like GKP won't work.
Chris
WoW, this is awkward......
You DON'T provide share prices over the API? This was pretty much the reason I started building against your lighstreamer API. I'm sure I remember reading your blurb that said I could do anything over API that I could do on the website?
Q1) What do you provide prices for over the API (and more particularly why don't you provide API access?)
Q2) Where can I go to get API access to share prices?
Cheers
Hi Ihxs
Sorry you were given the wrong impression about this. We mention in our FAQ that equity prices aren't available via the API and we omit them on the Labs homepage too. I'm sorry if you've come far down the line with development.
You can still trade equities over the API using market and limit orders. It's just that you can't subscribe or request prices for them.
You can get prices for most of our instruments: forex, indices, commodities, options and binaries. For equities, we receive price feeds from various sources and we’re restricted from distributing those via the API. It’s a very requested feature, and we hope we can offer it in future.
Chris
Thanks Chris,
Well it's a bit of a pain to have to connect to a different source just for the purposes of equity prices... but perhaps you can help advise me (on the basis that when you get your equities price feed API online) where I should look for such a thing? Ideally a lighstreamer type interface for equities on LSE and US equities?
Very much appreciated.
Thanks