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

    • Thanks for the input,  The issue is being resolved.  IG took a position Twice.  Remedy is imminent.
    • Prepare to witness a paradigm shift in Bitcoin Layer 2 solutions with Merlin Chain, an innovative platform that integrates the ZK-rollup network, decentralized oracle, and on-chain BTC anti-fraud module. With seamless compatibility with the Ethereum Virtual Machine (EVM), Merlin Chain sets new standards for security, transparency, and interoperability in the blockchain ecosystem.  Creating a Safe and Transparent Environment: At the core of Merlin Chain's mission lies its commitment to creating a safe and transparent environment for all investors. By integrating anti-fraud security solutions directly into the blockchain, Merlin Chain mitigates the risk of fraudulent activities and ensures the integrity of transactions. With Merlin Chain, users can trust that their assets are protected and transactions are executed with the highest level of security and transparency. Excitement mounts as Merlin Chain (MERL) prepares for listing on Bitget Exchange on April 19th, 2024, at 10:00 (UTC). This milestone event not only amplifies Merlin Chain's visibility but also provides users with a trusted platform to trade and engage with the MERL token. As Merlin Chain continues to push the boundaries of Bitcoin Layer 2 solutions, its listing on Bitget Exchange marks a significant step forward in its journey towards broader recognition and adoption.
    • Rarible is a revolutionary platform for artists and creators in the digital world. It functions as both: Software: Artists can use it to create and sell unique crypto assets representing ownership of their digital work, like illustrations or animations. These are known as Non-Fungible Tokens (NFTs). Marketplace: Buyers can discover and purchase these NFTs directly from creators, eliminating the need for intermediaries.   Built for the Community: It is a community-owned marketplace, powered by its native token, RARI. Owning RARI tokens gives holders a voice in shaping the platform’s future.   Exciting News! Rarible recently listed its token (RARI) on the Bitget exchange, along with a “candybomb” event to reward holders. This is a great opportunity for artists and crypto enthusiasts alike to explore the world of NFTs on Rarible.
×
×
  • Create New...
us