@click.command()<EOL>@click.option("<STR_LIT>", "<STR_LIT>", type=int, help="<STR_LIT>", required=True)<EOL>@click.option("<STR_LIT>", "<STR_LIT>", help="<STR_LIT>", required=True)<EOL>@click_log.simple_verbosity_option(logger)<EOL>def add(assetclass: int, symbol: str):
assert isinstance(symbol, str)<EOL>assert isinstance(assetclass, int)<EOL>symbol = symbol.upper()<EOL>app = AppAggregate()<EOL>new_item = app.add_stock_to_class(assetclass, symbol)<EOL>print(f"<STR_LIT>")<EOL>
Add a stock to an asset class