Subscription

3 posts / 0 new
Last post
ICAPI
Subscription

Hi,
I'd be grateful for help. I'm trying to use the streaming API to get prices. I can log in, create a streaming session, get my watchlist and items. I can bind back to the session and get repeated PROBE lines but never get any price data.

I'm using raw HTTP and the subscription data is
LS_session=fromcreatesession&LS_op=add&LS_id=L1:IX.D.FTSE.DAILY.IP&LS_schema=BID&LS_mode= MERGE&LS_table=1
sent to https://apd120a.marketdatasystems.com/lightstreamer/control.txt

I just get a blank response to the control.txt though.

All responses welcome.

ICAPI
Just in case anyone has similar...

Checked the response code and got a 400.
I had a header of Content-Type text/plain; charset=UTF-8 and that caused the 400. Removed it and it worked fine.

gb
raw HTTP

Hi,

I'll be interested to understand how to use raw HTTP in the code of an app to stream prices
Can you detail the way you do it please?

Thanks,
gb

Log in or register to post comments