def bettingmarkets(ctx, bmg):
    """ [bookie] List betting markets for bmg

        :param str bmg: Betting market id
    """
    bmg = BettingMarketGroup(bmg, peerplays_instance=ctx.peerplays)
    click.echo(pretty_print(bmg.bettingmarkets, ctx=ctx))
def bettingmarkets ( ctx , bmg ) : bmg = BettingMarketGroup ( bmg , peerplays_instance = ctx . peerplays ) click . echo ( pretty_print ( bmg . bettingmarkets , ctx = ctx ) )
[bookie] List betting markets for bmg

        :param str bmg: Betting market id