Jump to content

LightStreamer with Demo Account


Recommended Posts

I've started using the REST API on NodeJS.  

I can login and create market subscriptions ok using my Live Spreadbet Account.  However, the same subscriptions fail when using my Demo Spreadbet Account (which logs in ok).  Attempting to subscribe to a market EPIC gives the following error message: "Subscription failed: -1 message: Invalid account type". 

Other subscription types such as "Account" and "Trade" respond with "Subscription succeeded".

I've reproduced the issue using the Streaming API companion at https://labs.ig.com/sample-apps/streaming-companion/index.html 

Any ideas?

EDIT: I've figured it out.  I had to switch the active account to the SPREADBET account, from the CFD account.

Link to post
  • 2 years later...

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • General Statistics

    • Total Topics
      15,400
    • Total Posts
      73,908
    • Total Members
      62,302
    • Most Online
      7,522
      10/06/21 18:53

    Newest Member
    Vinod
    Joined 15/06/21 18:58
  • Posts

    • ''Well we can confirm that in the space of eighteen weeks the number of reported adverse reactions to the Pfizer vaccine has increased to 193,768 as of the 2nd June.'' ''The Oxford (AZ) jab has fared much worse though with an astounding increase of 3,310% in the number of reported adverse reactions between the 24th January and the 2nd June, now standing at a total of 717,250. This now means the current rate of people suffering a serious adverse reaction after having one of the experimental Covid vaccines stands at 1 in every 142 people.''   Latest and very thorough data breakdown of the different vaccines adverse reactions and deaths.  SHOCKING! – U.K. Government release 19th report on Adverse Reactions to the Covid Vaccines – Daily Expose   .
    • See the Heathrow quarantine 'prison'. https://video.twimg.com/ext_tw_video/1404562494111244288/pu/vid/640x1136/tOWBlHvVN7IrpVQt.mp4?tag=12
    • datatosee.com  @dontbetyet 41m SAGE preparing us for a winter lockdowns, "and rapidly waning immunity could result in a second peak in the autumn" If all over 50's double vaccinated is the target now, then how long to give 25 million booster jabs? Oh then jab them for flu but you cant do that at the same time.     Oh, so now Fauci says he is not getting tested, no need because he doesn't have any symptoms. Yet aren't we still testing millions of asymptomatics with the inevitable high ratio of false positives and the ensuing chaos that causes?     Meanwhile, what the actual **** is going on?? Meet Dehenna Davison MP and Time Lord (or just faking the whole thing). Posted this on the 14/6/21.   
×
×
  • Create New...