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
      23,627
    • Total Posts
      97,025
    • Total Members
      44,190
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    KFC
    Joined 05/12/23 21:35
  • Posts

    • Sadly insecurity is still one of the setbacks of crypto adoption. I reckon if all exchanges exhibit this concerted effort and commitment towards preserving the security of users' funds, the industry will be made more conducive and crypto adoption will be fast-tracked.
    • Actually I presume it should be $400M+ by now cos it's one Exchange next to Binance that prioritize their users funds safety imho.
    • This post is majorly for new crypto enthusiasts looking for good exchange to explore however it is also beneficial to those who already have an exchange they are using. Coinmarketcap and Coingecko is one place new users can explore to find out about the ranking of crypto exchanges however one must do other research not to base his/her judgement only on the position the crypto exchange occupies on this platforms. Other factors like user protection fund, proof of reserve and regulatory compliance must be considered before choosing a CEX especially with the evolving regulatory landscape from different countries which have forced some exchanges out of some countries. From the point listed above, Binance and Bitget take the industry lead in protection fund with $1b and $401m respectively and have verifiable Proof of reserve whose public address can be seen and viewed by their users but when it comes to regulatory compliance, Bitget is number 1 as the exchange is operating in most countries where other top cex are not operational. The visit to the respective cex website and mobile app also indicate users interest and popularity of the exchanges. Below is the ranking of top crypto exchanges by weekly visit. The figure below is only for website visit excluding mobile app. It is important to note that this exchanges were not founded the same year hence it's understandable to see clear difference in the number of website visit. HTX and Gateio were founded in 2013, 10 years in the industry. Kucoin, Binance and OKX were founded in 2017 and MEXC, Bitget and Bybit were founded in 2018. The above exchange are all good exchanges for new users to explore. Which of these crypto exchange do you use and why do you choose it over others?
×
×
  • Create New...
us