Searching i couldn't find anything on virtualised prices, so sorry if this is a repost...I am trying to replicate the view on the website but it looks like there are virtual prices appearing on the site that don't get shown when i call listMarketBook (i think?). E.g. my code shows back $15 and lay $55 but the website shows $15.5 and $44.
Anyone know what is wrong with this code? I'm using the dev/delayed API key - could that be the issue?
Anyone know what is wrong with this code? I'm using the dev/delayed API key - could that be the issue?
Code:
[FONT=Courier New]price_filter = betfairlightweight.filters.price_projection(
price_data=['EX_BEST_OFFERS'],
ex_best_offers_overrides={
"rollupModel": "STAKE",
"rollupLimit": "5"
},
virtualise=True
)
# Request market books
market_books = trading.betting.list_market_book(
market_ids=['1.179418253'],
price_projection=price_filter
)[/FONT]


Comment