code: def get_prices_from_csv(self, content: str) -> List[PriceModel]:
          
          from gnucash_portfolio.model.price_model import PriceModel_Csv
  
          lines = content.splitlines()
          prices = []
  
          reader = csv.reader(lines)
          for row in reader:
              csv_price = PriceModel_Csv()
              csv_price.parse(row)
  
              price = PriceModel()
              price.datetime = csv_price.date
              price.symbol = csv_price.symbol
              price.value = csv_price.value
              price.currency = self.currency
  
              prices.append(price)
          return prices
docs: Imports prices from CSV content. See data folder for a sample file/content.