code: def get_price_as_of(self, stock: Commodity, on_date: datetime):
          
          # return self.get_price_as_of_query(stock, on_date).first()
          prices = PriceDbApplication()
          prices.get_prices_on(on_date.date().isoformat(), stock.namespace, stock.mnemonic)
docs: Gets the latest price on or before the given date.