betfair/API-NG-sample-code

getMarketBookBestOffers() returns empty results

lobis opened this issue · 0 comments

lobis commented

I am trying to gather data from the spanish exchange. I am following the documentation regarding the spanish exchange http://docs.developer.betfair.com/docs/display/1smk3cen4v3lu3yomq5qye0ni/Betting+on+Spanish+Exchange

Using your python3 library I get the following results:

getEventTypes() -> [{'eventType': {'id': '1', 'name': 'Soccer'}, 'marketCount': 488}, {'eventType': {'id': '2', 'name': 'Tennis'}, 'marketCount': 96}, {'eventType': {'id': '7522', 'name': 'Basketball'}, 'marketCount': 7}]

However when calling getMarketBookBestOffers() I get empty results for any of the availible IDs, for example I get:

getMarketBookBestOffers('1') -> []

I would like to know if these results are normal (both for the getEventTypes() and getMarketBookBestOffers(id) because of jurisdiction limitations (spanish) of if there is something else to it. Thanks.