Results 1 to 4 of 4
  1. #1

    Struggling to connect via Python using a demo IG account

    Hello all,
    As per the title suggests, I am trying to use the IG API to stream some data, and am struggling with it.
    The topic came up before, but some of the posts are quite old. I have tried some github sharing python code samples found online, but I have not been able to successfully connect with any of them.

    I also tried to post directly in my browser with "https://demo-apd.marketdatasystems.com/lightstreamer/create_session.txt?LS_user=XXXXXX&LS_password=CST-YYYYYYYYYYY|XST-ZZZZZZZZZZ&LS_adapter_set=DEFAULT" (with my details now removed)


    I am getting:
    OK
    SessionId:XXXXXXXXXXXXXXXXXXXXXXX
    ControlAddress:apd144f.marketdatasystems.com
    KeepaliveMillis:5000
    MaxBandwidth:0.0
    Preamble: preparing push
    Preamble: preparing push
    Preamble: preparing push


    PROBE
    PROBE

    Are you able to please assist?

    Many thanks
    M

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    715
    Hi,

    Please could you share some more information about the problem you got with the Python client you have tested?
    I.e. whether you are able to open a client session or not or only the data streaming is not working.
    Could you enable library logging (https://sdk.lightstreamer.com/ls-pyt...o.html#logging)?
    Additionally, please keep in mind any potential constraints related to the versions supported by IG, which you can check here: https://lightstreamer.com/share/ig/index.html

    Regards,
    Giuseppe

  3. #3
    Hello Giuseppe. Thanks for the response. I just came across https://trading-ig.readthedocs.io/en/latest/ which solved my issue. Take care. M

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    715
    Thanks for the feedback.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Connect to Lightstreamer via web socket c#
    By avdev in forum Client SDKs
    Replies: 1
    Last Post: September 25th, 2020, 03:12 PM
  2. Unable to connect via Windows command prompt
    By PBLopez in forum Client SDKs
    Replies: 1
    Last Post: April 16th, 2018, 10:04 AM
  3. DotNet Client not able to connect via NTLM proxy
    By vpurohit in forum Client SDKs
    Replies: 1
    Last Post: April 29th, 2013, 09:56 AM
  4. RTD Demo will not connect to Lightstreamer Server
    By krohnjw in forum Client SDKs
    Replies: 23
    Last Post: February 8th, 2011, 02:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:03 PM.