Page 6 of 6 FirstFirst ... 456
Results 51 to 52 of 52
  1. #51
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    133
    Hi strangecarr,

    here a recap of the basic steps required to start a streaming session with IG platform:

    1. Generate a new API key for the selected account (demo or live), as per instructions you can find here
    2. Login to the chosen environment by using the session API (see the POST method, version 3). Please consider that you can accomplish this task even by using the API Companion, which offers you a web-based form.
    3. Login to the IG platform by using the Python API, providing the required information as per instructions you can find here; basically you have to provide data returned by the session API response, which includes the the Lightstreamer endpoint to contact, and the updated security tokens, as follows:

      where <password> has to be in the form CST-<cst_token>|XST-<x_security_token>, with <cst_token> and <x_security_token> as provided by the session API response.


    Hope this helps, but please have a look at the IG documentation for getting more information.
    Thanks and Regards
    Gianluca

  2. #52
    Quote Originally Posted by epep View Post
    You're right !

    It seems that IG changed something about the persistence of authentication tokens, my script get stuck trying to reconnect with invalid password … I need more intelligence here. I'll let you know as soon as I have done something good.
    Hello epep, I'm trying to get the IG Streaming API up and running but I'm having the same problem as you. Did you finally manage to solve the problem? Thanks!

 

 

Similar Threads

  1. Python Client Library for Lightstreamer
    By Alessandro in forum Client Protocol
    Replies: 1
    Last Post: December 18th, 2014, 06:15 PM
  2. how to comunicate lightstreamer server by python
    By keyan in forum Client APIs
    Replies: 4
    Last Post: December 18th, 2014, 06:12 PM
  3. Replies: 2
    Last Post: January 5th, 2012, 09:53 AM

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 09:08 AM.