betcode-org / betfair

betfairlightweight - Betfair API-NG python wrapper (with streaming)
MIT License
428 stars 148 forks source link

Retrieving market selection names #444

Closed darioscardina closed 2 years ago

darioscardina commented 2 years ago

Hi all,

how can I retrieve "selection name" from selection_id? I've seen there is an attribute of RunnerCatalogue called "runner_name". Anyway list_market_catalogue.runners is always an empty list. Would you be interested in implementing a property of list_market_book.runners for "selection_name"?

Thanks, Dario

liampauling commented 2 years ago

You need to include RUNNER_DESCRIPTION in market_projection in your request

darioscardina commented 2 years ago

Thanks :)