betfair / API-NG-sample-code

Code snippets in various languages to support API-NG client development
203 stars 576 forks source link

getMarketBookBestOffers() returns empty results #28

Open lobis opened 6 years ago

lobis commented 6 years ago

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.