def betting_market_group_create(<EOL>self,<EOL>description,<EOL>event_id="<STR_LIT>",<EOL>rules_id="<STR_LIT>",<EOL>asset=None,<EOL>delay_before_settling=<NUM_LIT:0>,<EOL>never_in_play=False,<EOL>resolution_constraint="<STR_LIT>",<EOL>account=None,<EOL>**kwargs<EOL>):
if not asset:<EOL><INDENT>asset = self.rpc.chain_params["<STR_LIT>"]<EOL><DEDENT>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, blockchain_instance=self)<EOL>asset = Asset(asset, blockchain_instance=self)<EOL>if event_id[<NUM_LIT:0>] == "<STR_LIT:1>":<EOL><INDENT>Event(event_id)<EOL><DEDENT>else:<EOL><INDENT>test_proposal_in_buffer(<EOL>kwargs.get("<STR_LIT>", self.propbuffer), "<STR_LIT>", event_id<EOL>)<EOL><DEDENT>if rules_id[<NUM_LIT:0>] == "<STR_LIT:1>":<EOL><INDENT>Rule(rules_id)<EOL><DEDENT>else:<EOL><INDENT>test_proposal_in_buffer(<EOL>kwargs.get("<STR_LIT>", self.propbuffer),<EOL>"<STR_LIT>",<EOL>rules_id,<EOL>)<EOL><DEDENT>op = operations.Betting_market_group_create(<EOL>**{<EOL>"<STR_LIT>": {"<STR_LIT>": <NUM_LIT:0>, "<STR_LIT>": "<STR_LIT>"},<EOL>"<STR_LIT:description>": description,<EOL>"<STR_LIT>": event_id,<EOL>"<STR_LIT>": rules_id,<EOL>"<STR_LIT>": asset["<STR_LIT:id>"],<EOL>"<STR_LIT>": bool(never_in_play),<EOL>"<STR_LIT>": int(delay_before_settling),<EOL>"<STR_LIT>": resolution_constraint,<EOL>"<STR_LIT>": self.prefix,<EOL>}<EOL>)<EOL>return self.finalizeOp(op, account["<STR_LIT:name>"], "<STR_LIT>", **kwargs)<EOL>
Create an betting market. This needs to be **proposed**.

            :param list description: Internationalized list of descriptions
            :param str event_id: Event ID to create this for (defaults to
                *relative* id ``0.0.0``)
            :param str rule_id: Rule ID to create this with (defaults to
                *relative* id ``0.0.0``)
            :param peerplays.asset.Asset asset: Asset to be used for this
                market
            :param int delay_before_settling: Delay in seconds before settling
                (defaults to 0 seconds - immediatelly)
            :param bool never_in_play: Set this market group as *never in play*
                (defaults to *False*)
            :param str account: (optional) the account to allow access
                to (defaults to ``default_account``)