Hi all,
I am using listMarketBook to return the list of best lay offer on a market (in my example 1.127959488). I don't want prices to roll up if the size is more than £2.
This is the json that I use for my test:
{'jsonrpc': '2.0', 'id': 1, 'params': {'priceProjection': {'priceData': ['EX_BEST_OFFERS'], 'rolloverStakes': False, 'virtualise': False, 'exBestOffersOverrides': {'bestPricesDepth': 1, 'rollupModel': 'STAKE', 'rollupLimit': 2}}, 'marketIds': ['1.127959488']}, 'method': 'SportsAPING/v1.0/listMarketBook'}
This is what I get for availableToLay:
{'availableToLay': [{'size': 229.95, 'price': 13.5}]}
then this is what I get when I add manually an unmatched bet with size: £3 and price 13:
{'availableToLay': [{'price': 13.5, 'size': 232.95}]}
but I would expect to see:
{'availableToLay': [{'price': 13, 'size': 3}]}
I don't understand, I specify the rollupLimit to £2 so why the £3 rollup to 13.5? Am I missing something?
PS: I have noticed that it stops rolling up when the size is £10.
I am using listMarketBook to return the list of best lay offer on a market (in my example 1.127959488). I don't want prices to roll up if the size is more than £2.
This is the json that I use for my test:
{'jsonrpc': '2.0', 'id': 1, 'params': {'priceProjection': {'priceData': ['EX_BEST_OFFERS'], 'rolloverStakes': False, 'virtualise': False, 'exBestOffersOverrides': {'bestPricesDepth': 1, 'rollupModel': 'STAKE', 'rollupLimit': 2}}, 'marketIds': ['1.127959488']}, 'method': 'SportsAPING/v1.0/listMarketBook'}
This is what I get for availableToLay:
{'availableToLay': [{'size': 229.95, 'price': 13.5}]}
then this is what I get when I add manually an unmatched bet with size: £3 and price 13:
{'availableToLay': [{'price': 13.5, 'size': 232.95}]}
but I would expect to see:
{'availableToLay': [{'price': 13, 'size': 3}]}
I don't understand, I specify the rollupLimit to £2 so why the £3 rollup to 13.5? Am I missing something?
PS: I have noticed that it stops rolling up when the size is £10.

