Best ask: {% if group.best_ask %}{{ group.best_ask.price }}{% endif %} {% if group.best_ask %}{{ group.best_ask.quantity }}{% endif %} Best bid: {% if group.best_bid %}{{ group.best_bid.price }}{% endif %} {% if group.best_bid %}{{ group.best_bid.quantity }}{% endif %}