diff --git a/piker/cli.py b/piker/cli.py index 95d429cf..0ae1f5ce 100644 --- a/piker/cli.py +++ b/piker/cli.py @@ -96,9 +96,9 @@ def quote(loglevel, broker, tickers, df_output): log.error(f"No quotes could be found for {tickers}?") return - cols = next(filter(bool, quotes.values())).copy() - cols.pop('symbol') if df_output: + cols = next(filter(bool, quotes.values())).copy() + cols.pop('symbol') df = pd.DataFrame( (quote or {} for quote in quotes.values()), index=quotes.keys(),