Author |
Topic: Instruments with no depth (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
Hi,
We are using your api and noticed that certain instruments are not returning any depth. After a little research we came accross one of your forum posts that attributed the issue as vendor specific issue ( http://www.openecry.com/forum/index.cfm?page=topic&topicID=145 ) We would like to handle this issue in our app by atleast displaying top of the book in the depth. We can achieve this if we know by some means the instruments that will not return any market depth. We would not like to hard-code instruments names. Is there a way API can tell us about such instruments? Also, would the depth subscription throw an error of some sort telling us there wont be any depth for these instruments. Or will it be no error but nothing will be sent? Thanks in advance! |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
unfortunately, OECAPI doesn't provide such information. There is just one way - to hardcode HKEX, SGX, SFE contracts. OECAPI will not throw any error for such cases. Victor Vins Lead Software Developer |
||||