No price updates through Exchange stream api

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danny1
    Junior Member
    • Oct 2021
    • 1

    #1

    No price updates through Exchange stream api

    I'm subscribing to a market through exchange api but I'm not receiving any price updates only HEARTBEAT, status or empty mcm messages. Please find the message flows bellow:

    ESA->Client: {"op":"connection","connectionId":"109-191021101333-1215879"}


    Client->ESA: {"op":"authentication","id":1,"appKey":"","session ":""}

    ESA->Client: {"op":"status","id":1,"statusCode":"SUCCESS","c onn ectionClosed":false,"connectionsAvailable":9}


    Client->ESA: {"op":"marketSubscription","id":3,"segmentation Ena bled":null,"clk":null,"heartbeatMs":null,"initialC lk":null,"marketFilter":{"countryCodes":[],"bettingTypes":[],"turnInPlayEnabled":null,"marketTypes":[],"venues":[],"marketIds":["1.189389132","1.189389132"],"eventTypeIds":[],"eventIds":[],"bspMarket":null,"raceTypes":[]},"conflateMs":200,"marketDataFilter":{"ladderLe ve ls":null,"fields":["EX_ALL_OFFERS","EX_MARKET_DEF"]}}

    Client->ESA: {"op":"marketSubscription","id":2,"segmentation Ena bled":null,"clk":null,"heartbeatMs":null,"initialC lk":null,"marketFilter":{"countryCodes":[],"bettingTypes":[],"turnInPlayEnabled":null,"marketTypes":[],"venues":[],"marketIds":["1.189389132"],"eventTypeIds":[],"eventIds":[],"bspMarket":null,"raceTypes":[]},"conflateMs":200,"marketDataFilter":{"ladderLe ve ls":null,"fields":["EX_ALL_OFFERS","EX_MARKET_DEF"]}}

    ESA->Client: {"op":"status","id":3,"statusCode":"SUCCESS","c onn ectionClosed":false}


    from here no price updates just messages like below

    {"op":"mcm","id":3,"initialClk":"phyS6MDPELQc+s 2t4 RCsHMnq79wQ","clk":"AAAAAAAA","conflateMs":200,"he artbeatMs":5000,"pt":1634638414299,"ct":"SUB_IMAGE "}

    {"op":"status","id":2,"statusCode":"SUCCESS","c onn ectionClosed":false}

    ESA->Client: {"op":"status","id":2,"statusCode":"SUCCESS","c onn ectionClosed":false}

    {"op":"mcm","id":2,"initialClk":"phyX6MDPELQcis 6t4 RCsHNTq79wQ","clk":"AAAAAAAA","conflateMs":200,"he artbeatMs":5000,"pt":1634638414368,"ct":"SUB_IMAGE "}
    {"op":"mcm","id":2,"clk":"AIMDANgEAL4D","pt":16 346 38419368,"ct":"HEARTBEAT"}
    {"op":"mcm","id":2,"clk":"AOgFAJMJAPUG","pt":16 346 38424368,"ct":"HEARTBEAT"}
    {"op":"mcm","id":2,"clk":"AO8OAK0WALQS","pt":16 346 38439369,"ct":"HEARTBEAT"}

    {"op":"mcm","id":4,"clk":"AMBXAOyQAQC0cg==","pt ":1 634638911378,"ct":"HEARTBEAT"}
    {"op":"mcm","id":4,"clk":"ANNaAOaVAQCOdg==","pt ":1 634638916378,"ct":"HEARTBEAT"}
    {"op":"mcm","id":4,"clk":"AORdAJeaAQDheQ==","pt ":1 634638921379,"ct":"HEARTBEAT"}
    {"op":"mcm","id":4,"clk":"AM1gAKWfAQD5fQ==","pt ":1 634638926390,"ct":"HEARTBEAT"}
    {"op":"mcm","id":4,"clk":"AL1jANSkAQDrgQE=","pt ":1 634638931390,"ct":"HEARTBEAT"}
    {"op":"mcm","id":4,"clk":"AKBmAM6pAQDAhQE=","pt ":1 634638936390,"ct":"HEARTBEAT"}
    {"op":"mcm","id":4,"clk":"AK5pAOetAQDviAE=","pt ":1 634638941390,"ct":"HEARTBEAT"}


    Anyone have this issue, could you help me to understand where is the problem?
    Thank you
    Last edited by BetfairDeveloperProgram; 20-10-2021, 09:21 PM. Reason: Removed session value
  • LiamP
    Junior Member
    • Oct 2015
    • 284

    #2
    Why are you sending two subscription requests? I would remove your appKey and sessionToken, someone can login with that..

    Comment

    Working...
    X