Traded Volume

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gr33d
    Junior Member
    • May 2012
    • 12

    #1

    Traded Volume

    Hi, Iam having issues getting the traded volume. I send a request as follows:

    {"method":"SportsAPING\/v1.0\/listMarketBook","id":"1","jsonrpc":"2.0","params": {"marketIds":["1.118280148"],"priceProjection":{"priceData":["EX_BEST_OFFERS","EX_TRADED"]}}}

    The marketID I've selected here is the winner of the Barclays Premier League so plenty of volume has been matched. Part of the response back:

    [{"totalAvailable":2249219.83,"crossMatching":true, "runnersVoidable":false,"runners":[{"totalMatched":0.0,"ex":{"tradedVolume":[],"availableToBack":[{"size":4825.68,"price":2.54},{"size":3463.63,"pri ce":2.52},{"size":3336.33,"price":2.5}],"availableToLay":[{"size":665.83,"price":2.56},{"size":3766.08,"pric e":2.58},{"size":1204.26,"price":2.6}]},"lastPriceTraded":2.56,"selectionId":1096,"handi cap":0.0,"status":"ACTIVE"},

    There is no value set in tradedVolume, I was expecting to get values as I've specified EX_TRADED in the priceProjection.
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    Hmmm. I don't know what the difference between tradedVolume and totalMatched is, apart from one not having a value returned for each runner. If you want the total for the market, it's in the marketCatalogue, as you probably noticed.

    Comment

    • gr33d
      Junior Member
      • May 2012
      • 12

      #3
      One thing I forgot to mention is that I am testing this out with the delayed key, so not sure if there is some feature of that which means I don't get the trades back

      Comment

      • Lopiner
        Junior Member
        • Feb 2009
        • 117

        #4
        Hi gr33d
        Check out this page
        "The delayed App Key does not return traded volume data 'totalMatched' via listMarketBook."

        Also this topic for details about the delayed key
        fooledbyabet.com

        Comment

        • gr33d
          Junior Member
          • May 2012
          • 12

          #5
          Hi Lopiner

          Thanks very much for pointing me in the right direction on that, I was going crazy trying to figure out what I'd done wrong.

          Comment

          Working...
          X