Cant get market runners

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tranoso
    Junior Member
    • Nov 2015
    • 1

    #1

    Cant get market runners

    Hi, I am new with the library https://github.com/jmcarp/betfair.py .

    I am trying to do some basic stuff but I can't find where are the runners in a market.

    My code is:
    from betfair import Betfair
    client = Betfair('...', '...')
    client.login('...', '...')
    from betfair.models import MarketFilter

    m = client.list_market_catalogue(MarketFilter(market_i ds=['1.121609334']))

    print dict(m)

    {'description': None, 'market_id': u'1.121609334', 'competition': None, 'market_start_time': None, 'total_matched': 6116.993151999999, 'market_name': u'Match Odds', 'event': None, 'runners': None, 'event_type': None}

    Why the response from client.list_market_catalogue has only basic stuff?.

    Edit:

    I solved this, if anyone has the same problem you should use

    m = client.list_market_catalogue(MarketFilter(market_i ds=['1.121609334']),market_projection=['RUNNER_DESCRIPTION'])

    and explore https://developers.betfair.com/visua...ts-operations/
    Last edited by Tranoso; 05-11-2015, 11:20 PM. Reason: Solved
Working...
X