<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def openorders(ctx, account):
 """ List open orders of an account """

    account = Account(
        account or config["default_account"], bitshares_instance=ctx.bitshares
    )
    t = [["Price", "Quote", "Base", "ID"]]
    for o in account.openorders:
        t.append(
            [
                "{:f} {}/{}".format(
                    o["price"],
                    o["base"]["asset"]["symbol"],
                    o["quote"]["asset"]["symbol"],
                ),
                str(o["quote"]),
                str(o["base"]),
                o["id"],
            ]
        )
    print_table(t)