Jump to content
  • 0

Lightstreamer TRADE message behaviour


Tipper258

Question

Folks, back at the API after a few years away .... in the demo account, when an order is placed, I would expect to see CONFIRM and WOU messages. Instead no CONFIRM, only OPU messages. This is for orders raised on the web platform (trying to understand behaviours before coding order / position mgmt). 

Can anyone confirm, or have a blog post anywhere on what messaging is generated in the stream for order and position lifecycle please? i.e. when an order is confirmed, order updates, conversion to a position, position updates, closing messages and so on.

TIA, Alan

Link to comment

3 answers to this question

Recommended Posts

  • 0

Hi, regardless of what anyone else might say on a blog if you are subscribed to the trading messages stream you should see confirmations of your trades. We have had other users in the forum pointing the same problem. The problem was always related to the demo account. Looking at what others have said I think that the demo account sometimes is not reliable regarding these messages. I never saw anyone complaining about the live account. 

 

  • Like 1
Link to comment
  • 0
2 hours ago, jlz said:

Hi, regardless of what anyone else might say on a blog if you are subscribed to the trading messages stream you should see confirmations of your trades. We have had other users in the forum pointing the same problem. The problem was always related to the demo account. Looking at what others have said I think that the demo account sometimes is not reliable regarding these messages. I never saw anyone complaining about the live account. 

 

Hi, thanks for this, I'm guessing that the API reference is what I should expect to happen, although testing assumptions before having to test with real money would have been nice. If anyone has examples of the CONFIRM, WOU, and OPU messages involved for a trade flowing through I'd be very grateful.

Link to comment
  • 0

How does one file a bug in the API behaviour please, when it's not as per the documentation?

"tested" this in production and it's the same behaviour, messages that have the structure of a WOU are being published as OPUs, as well as real OPUs.

To work around you have to test for presence or absence of various properties in the json structure to derive which message type it's supposed to be.

 

Link to comment

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