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
  • General Statistics

    • Total Topics
      22,068
    • Total Posts
      92,908
    • Total Members
      42,474
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    scobes2
    Joined 17/05/23 10:51
  • Posts

    • Does anyone else know any other SB providers that you can use to trade through TV?  I've only so far seen CFD providers which doesn't work for me due to tax reasons (mainly the hassle of having to account for it as well as the obvious cost).
    • Is there any update on when/if there will be any integration with Tradingview???
    • The anonymity of cryptocurrency transactions can vary depending on the specific cryptocurrency you use and the methods you use. While some cryptocurrencies provide a degree of privacy and anonymity, it is important to note that achieving complete anonymity can be difficult. Most cryptocurrencies operate on a pseudonymous basis. Transactions are recorded in a public ledger, called a blockchain, using cryptographic addresses instead of personal information. However, these addresses are usually not directly linked to a real identity, unless someone voluntarily discloses this information. Some cryptocurrencies, such as Monero (XMR) and Zcash (ZEC), are specifically designed to increase privacy and anonymity. I read on https://deeplab.com/darkweb/anonymous-sudan-launches-cyberattacks-on-middle-eastern-news-outlets-expands-target-list-with-four-additional-names that some people use this anonymity as a cyber attack.
×
×
  • Create New...