def bet_place(<EOL>self,<EOL>betting_market_id,<EOL>amount_to_bet,<EOL>backer_multiplier,<EOL>back_or_lay,<EOL>account=None,<EOL>**kwargs<EOL>):
from . import GRAPHENE_BETTING_ODDS_PRECISION<EOL>assert isinstance(amount_to_bet, Amount)<EOL>assert back_or_lay in ["<STR_LIT>", "<STR_LIT>"]<EOL>if not account:<EOL><INDENT>if "<STR_LIT>" in self.config:<EOL><INDENT>account = self.config["<STR_LIT>"]<EOL><DEDENT><DEDENT>if not account:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>account = Account(account)<EOL>bm = BettingMarket(betting_market_id)<EOL>op = operations.Bet_place(<EOL>**{<EOL>"<STR_LIT>": {"<STR_LIT>": <NUM_LIT:0>, "<STR_LIT>": "<STR_LIT>"},<EOL>"<STR_LIT>": account["<STR_LIT:id>"],<EOL>"<STR_LIT>": bm["<STR_LIT:id>"],<EOL>"<STR_LIT>": amount_to_bet.json(),<EOL>"<STR_LIT>": (<EOL>int(backer_multiplier * GRAPHENE_BETTING_ODDS_PRECISION)<EOL>),<EOL>"<STR_LIT>": back_or_lay,<EOL>"<STR_LIT>": self.prefix,<EOL>}<EOL>)<EOL>return self.finalizeOp(op, account["<STR_LIT:name>"], "<STR_LIT>", **kwargs)<EOL>
Place a bet

            :param str betting_market_id: The identifier for the market to bet
                in
            :param peerplays.amount.Amount amount_to_bet: Amount to bet with
            :param int backer_multiplier: Multipler for backer
            :param str back_or_lay: "back" or "lay" the bet
            :param str account: (optional) the account to bet (defaults
                        to ``default_account``)