-
June 12th, 2024, 03:46 PM
#1
Status: CONNECTING
Hi,
I am currently working on integrating the IG API to receive live streaming data for my Demo and Live trading accounts.
Despite following the documentation and ensuring my credentials and endpoint configurations are correct, I am not receiving any real-time data updates.
I am able to successfully obtain tokens and authenticate, but no streaming data is received. Below is a snippet of the log output:
"Obtaining tokens...
Starting new HTTPS connection (1): demo-api.ig.com:443
https://demo-api.ig.com:443 "POST /gateway/deal/session HTTP/1.1" 200 617
Successfully obtained tokens
2024-06-12 15:25:55.200056|INFO |lightstreamer.actions|MainThread|serverAddress changed: https://demo-apd.marketdatasystems.com
2024-06-12 15:25:55.200104|INFO |lightstreamer.actions|MainThread|adapterSet changed: Demo
2024-06-12 15:25:55.200128|INFO |lightstreamer.actions|MainThread|user changed: ******
2024-06-12 15:25:55.200146|INFO |lightstreamer.actions|MainThread|password changed
2024-06-12 15:25:55.200162|INFO |lightstreamer.actions|MainThread|adapterSet changed: Demo
2024-06-12 15:25:55.200539|INFO |lightstreamer.actions|MainThread|Subscription requested: subId: 1 [mode => MERGE, items => [CS.D.GBPUSD.TODAY.IP], fields => [BID,OFFER,HIGH,LOW,UPDATE_TIME,MARKET_STATE], dataAdapter => QUOTE_ADAPTER, requestedSnapshot => SnpYes]
2024-06-12 15:25:55.200712|INFO |lightstreamer.actions|MainThread|Connection requested: details: [serverAddress => https://demo-apd.marketdatasystems.com, adapterSet => Demo, user => ZHCYW, libVersion => python_client 2.1.0 build 20231219] options: [requestedMaxBandwidth => BWUnlimited, retryDelay => 4000, firstRetryMaxDelay => 100, sessionRecoveryTimeout => 15000, reverseHeartbeatInterval => 0, stalledTimeout => 2000, reconnectTimeout => 3000, keepaliveInterval => 0, pollingInterval => 0, idleTimeout => 19000, contentLength => 50000000, slowingEnabled => false, serverInstanceAddressIgnored => false, HTTPExtraHeadersOnSessionCreationOnly => false]
2024-06-12 15:25:55.200757|INFO |lightstreamer.session|MainThread|Status: CONNECTING
2024-06-12 15:25:55.200792|DEBUG|lightstreamer.stream|MainThr ead|WS connecting: https://demo-apd.marketdatasystems.com/lightstreamer headers(null)"
Could you please assist in troubleshooting this issue or confirm if there are any additional steps, configurations or debugging tests to isolate the reason that is stopping access to live streaming data?
Thank you for your assistance.
Best regards,
James
Similar Threads
-
By Victor Yew in forum Client SDKs
Replies: 4
Last Post: May 29th, 2013, 05:15 AM
-
By mr_gray in forum Client SDKs
Replies: 5
Last Post: December 20th, 2010, 01:37 PM
-
By jsharpe in forum Client SDKs
Replies: 4
Last Post: February 4th, 2009, 11:45 PM
-
By wmolde in forum Client SDKs
Replies: 1
Last Post: April 20th, 2007, 05:18 PM
-
Replies: 1
Last Post: March 15th, 2007, 02:44 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 01:41 AM.
Bookmarks