Image not received

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EKK
    Junior Member
    • Aug 2010
    • 38

    #1

    Image not received

    Hi,

    I have noticed something strange with Stream API.

    For most of the markets I receive the initial image - but for some markets I never receive it and instead I receive updates.

    Is that expected?

    Is it possible for a market to not have an initial image (for example if there aren't any offers on the market at the time of market data subscription)?

    Thanks
  • LiamP
    Junior Member
    • Oct 2015
    • 284

    #2
    I have never encountered this as you should always get an initial image even if the market is empty. Are you using Betfair's example code?

    Comment

    • EKK
      Junior Member
      • Aug 2010
      • 38

      #3
      Yes I am using the sample code. Is that a known bug of the sample code?

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        I think it depends on your definition of "initial image".

        If you mean the base image that you receive when you initialise the stream, the image will contain all existing markets that meet your stream criteria at the current time.

        However, after that base image, if a new market is created then it is just received in the standard update messages, but there is a flag against the market (I think it is called "img").

        So, for example, let's say that you create a stream that returns all horse WIN markets in the next 24 hours. If you leave the stream active, then brand new markets will appear in the stream as they are created and loaded onto the Exchange.

        Comment

        Working...
        X