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
      19,044
    • Total Posts
      85,809
    • Total Members
      68,254
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    kennyd1959
    Joined 03/07/22 23:25
  • Posts

    • If we could get some news about negotations and a possible ceasefire in Ukraine then i would say this is the bottom https://edition.cnn.com/markets/fear-and-greed "That indicator previously fell to 0 in August 2002, July 2008, September 2011, September 2015, January 2016 and March 2020, observed Hartnett. When it has previously zeroed out, except in the case of a double-dip recession such as 2002 or in the event of systemic events, as in 2008 and 2011, three-month returns have been strong, as the table below shows." https://www.marketwatch.com/story/based-on-history-the-next-bull-market-is-just-months-away-and-could-take-the-s-p-500-to-6000-says-bofa-11655475414
    • The CME Bitcoin futures BTC main contract was at $19,370 late Friday (Chinese time) in New York, up 3.25% from Thursday's New York session, and trading in the $18,630-20,790 range during the session, down 8.87% for the week. the CME Ethereum futures DCR main contract was at $1065.50, up 5.08% from Thursday, and trading in the 1009.50-$1118.00 range, down 13.02% for the week.Maybe there is still a possibility of decline.
×
×
  • Create New...