Jump to content

LightStreamer with Demo Account


Guest MC74

Recommended Posts

Guest MC74

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 comment
  • 2 years later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • image.png

  • Posts

    • Rich Quack, a BEP-20 token on the Binance Smart Chain, is pioneering a vibrant ecosystem where holders can potentially profit through investment, community building, and active participation. It boasts several unique features, including being a deflationary token with a 5% automatic LP and 5% Auto Farm Feature. $QUACK is a stealth fair launched token that has undergone a Security Audit by TechRate, with LP Locked, Anti-Whale measures, and RUG Proof. It prides itself on being a 100% community-driven project on the BSC. It aims to revolutionize the landscape of secure investing and fundraising platforms by harnessing blockchain technology. It provides a safe environment for investors and fundraisers alike to engage and transact securely. Holders of the tokens can also partake in exciting opportunities such as jackpot raffles and lotto games that offer payouts at regular intervals—hourly, daily, weekly, and monthly. The protocol's frictionless yield generation mechanism collects 10% of transaction fees to distribute as rewards and contributes to liquidity pools, ensuring continuous growth and sustainability. With its recent listing on Bitget exchange, Rich Quack is experiencing a bullish price trend, signaling promising prospects for investors and enthusiasts alike.
    • my opinion is that Bitcoin will rise to $80,000
×
×
  • Create New...
us