listMarketBook > EX_TRADED - Roll-up?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welcometomylair1
    Junior Member
    • Mar 2009
    • 2

    #1

    listMarketBook > EX_TRADED - Roll-up?

    Hi guys,

    Anyone know if it's possible to have listMarketBook return the ROLLED UP exchange traded bets on a runner?

    eg. my Json response has three PriceSize items in TradedVolume: £100 @ 2.2; £300 @ 3.8; £20 @ 9.0

    I don't need the individual Price level info, I just need a single PriceSize response:
    £420 @ 3.667 (assuming you roll up by payout/winnings)

    I've tried all the various matchProjections but that seems to only apply to your own orders rather than matched bets.

    Obviously I can easily calculate the average price and the total amount matched myself -- my intention is to reduce the size of the Json response.

    Tom
    Last edited by welcometomylair1; 30-07-2014, 01:46 PM.
Working...
X